Compiling ffmpeg for Windows with Decklink support

Ask software engineering and SDK questions for developers working on Mac OS X, Windows or Linux.
  • Author
  • Message
Offline

Ian Morrish

  • Posts: 356
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Compiling ffmpeg for Windows with Decklink support

PostTue Apr 02, 2019 9:17 am

I have documented a solution for Windows users to build their own ffmpeg with Decklink support.
https://ianmorrish.wordpress.com/2019/04/02/ffmpeg-with-decklink-support-for-windows/
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com
Offline

Derek E

  • Posts: 3
  • Joined: Wed May 01, 2019 9:32 pm
  • Real Name: Derek Edwards

Re: Compiling ffmpeg for Windows with Decklink support

PostSun May 12, 2019 6:40 pm

Hi Ian,

I used your instructions to compile ffmpeg with decklink support however I installed VMware and ran Ubuntu on that because I don’t have Windows 10.

The compiler ran for hours and finally spit out my ffmpeg binaries. When I go to try and use them I still get “Unknown input format: ‘decklink'”

Code: Select all
D:\>ffmpeg -f decklink -list_devices 1 -i dummy
ffmpeg version N-93832-g010c0efada-ffmpeg-windows-build-helpers Copyright (c) 20
00-2019 the FFmpeg developers
built with gcc 8.2.0 (GCC)
configuration: –pkg-config=pkg-config –pkg-config-flags=–static –extra-ver
sion=ffmpeg-windows-build-helpers –enable-version3 –disable-debug –disable-w3
2threads –arch=x86_64 –target-os=mingw32 –cross-prefix=/home/derek/ffmpeg/ffm
peg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/bin/x86_64-w6
4-mingw32- –enable-libcaca –enable-gray –enable-libtesseract –enable-fontcon
fig –enable-gmp –enable-gnutls –enable-libass –enable-libbluray –enable-lib
bs2b –enable-libflite –enable-libfreetype –enable-libfribidi –enable-libgme
–enable-libgsm –enable-libilbc –enable-libmodplug –enable-libmp3lame –enabl
e-libopencore-amrnb –enable-libopencore-amrwb –enable-libopus –enable-libsnap
py –enable-libsoxr –enable-libspeex –enable-libtheora –enable-libtwolame –e
nable-libvo-amrwbenc –enable-libvorbis –enable-libvpx –enable-libwebp –enabl
e-libzimg –enable-libzvbi –enable-libmysofa –enable-libaom –enable-libopenjp
eg –enable-libopenh264 –enable-liblensfun –enable-libvmaf –enable-libsrt –e
nable-demuxer=dash –enable-libxml2 –enable-nvenc –enable-nvdec –extra-libs=-
lharfbuzz –extra-libs=-lm –extra-libs=-lpthread –extra-cflags=-DLIBTWOLAME_ST
ATIC –extra-cflags=-DMODPLUG_STATIC –extra-cflags=-DCACA_STATIC –enable-amf –
-enable-libmfx –enable-gpl –enable-avisynth –enable-frei0r –enable-filter=fr
ei0r –enable-librubberband –enable-libvidstab –enable-libx264 –enable-libx26
5 –enable-libxvid –enable-libxavs –enable-avresample –extra-cflags=’-mtune=g
eneric’ –extra-cflags=-O3 –enable-static –disable-shared –prefix=/home/derek
/ffmpeg/ffmpeg-windows-build-helpers/sandbox/cross_compilers/mingw-w64-x86_64/x8
6_64-w64-mingw32
libavutil 56. 26.101 / 56. 26.101
libavcodec 58. 52.101 / 58. 52.101
libavformat 58. 27.103 / 58. 27.103
libavdevice 58. 7.100 / 58. 7.100
libavfilter 7. 51.100 / 7. 51.100
libavresample 4. 0. 0 / 4. 0. 0
libswscale 5. 4.100 / 5. 4.100
libswresample 3. 4.100 / 3. 4.100
libpostproc 55. 4.100 / 55. 4.100
Unknown input format: ‘decklink’


What am I doing wrong? Thanks
Offline

Andrew Kolakowski

  • Posts: 5578
  • Joined: Tue Sep 11, 2012 10:20 am

Re: Compiling ffmpeg for Windows with Decklink support

PostWed May 15, 2019 6:44 pm

Are those builds not compiled with BM support?
https://ffmpeg.org/download.html#build-linux
Offline

Ian Morrish

  • Posts: 356
  • Joined: Sun Jan 18, 2015 9:24 pm
  • Location: New Zealand

Re: Compiling ffmpeg for Windows with Decklink support

PostThu May 16, 2019 6:00 pm

You seem to be missing the enable-free=n flag.
This prevents decklink support from being added.

Sent from my SM-G960F using Tapatalk
Regards,
Ian Morrish
Video Integrated Scripting Environment
(Windows PowerShell with ATEM driver + more)
https://ianmorrish.wordpress.com

Return to Software Developers

Who is online

Users browsing this forum: Dan Sherman, dosxuk and 3 guests