Home/News | About | Download | Documentation | Forum | Bug Reports | Contact | Donations | Consulting | Projects | Legal | Security | FATE


This forum has not been maintained for a long time and will probably get deleted in the near future.
For faster responses to your questions, please use StackOverflow instead and tag your questions with "FFmpeg".
If you need a backup of the posts from this forum, please contact me directly.

Unknown input format: 'decklink'

Discussions about problems encountered using ffmpeg.
Forum rules
FFmpeg is in a state of perpetual development and we do not currently have the person power to backport fixes to official releases. As such, if you wish to query or report a bug, you must try with the latest development branch revision of FFmpeg to confirm the issue still exists. The latest FFmpeg can be downloaded from here: http://www.ffmpeg.org/download.html

Unknown input format: 'decklink'

Postby vidyasagarn » Tue Sep 05, 2017 4:08 pm

We have installed decklink 4k card and copied SDK to specific location and executed the package. But when i execute "[root@localhost ffmpeg-3.3.3]# ffmpeg -f decklink -list_devices 1 -i dummy " getting following error "Unknown input format: 'decklink'"
Please help us to finish,
------------------------------------------------
[root@localhost ffmpeg-3.3.3]# ffmpeg -f decklink -list_devices 1 -i dummy
ffmpeg version 2.6.8 Copyright (c) 2000-2016 the FFmpeg developers
built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-4)
configuration: --prefix=/usr --bindir=/usr/bin --datadir=/usr/share/ffmpeg --incdir=/usr/include/ffmpeg --libdir=/usr/lib64 --mandir=/usr/share/man --arch=x86_64 --optflags='-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' --enable-bzlib --disable-crystalhd --enable-gnutls --enable-ladspa --enable-libass --enable-libcdio --enable-libdc1394 --enable-libfaac --enable-nonfree --enable-libfdk-aac --enable-nonfree --disable-indev=jack --enable-libfreetype --enable-libgsm --enable-libmp3lame --enable-openal --enable-libopenjpeg --enable-libopus --enable-libpulse --enable-libschroedinger --enable-libsoxr --enable-libspeex --enable-libtheora --enable-libvorbis --enable-libv4l2 --enable-libx264 --enable-libx265 --enable-libxvid --enable-x11grab --enable-avfilter --enable-avresample --enable-postproc --enable-pthreads --disable-static --enable-shared --enable-gpl --disable-debug --disable-stripping --shlibdir=/usr/lib64 --enable-runtime-cpudetect
libavutil 54. 20.100 / 54. 20.100
libavcodec 56. 26.100 / 56. 26.100
libavformat 56. 25.101 / 56. 25.101
libavdevice 56. 4.100 / 56. 4.100
libavfilter 5. 11.102 / 5. 11.102
libavresample 2. 1. 0 / 2. 1. 0
libswscale 3. 1.101 / 3. 1.101
libswresample 1. 1.100 / 1. 1.100
libpostproc 53. 3.100 / 53. 3.100
Unknown input format: 'decklink'
[root@localhost ffmpeg-3.3.3]# lspci | grep Blackmagic
01:00.0 Multimedia video controller: Blackmagic Design Decklink SDI 4K
[root@localhost ffmpeg-3.3.3]# lsmod | grep blackmagic
blackmagic_io 1909378 2
vidyasagarn
 
Posts: 6
Joined: Tue Sep 05, 2017 4:01 pm

Re: Unknown input format: 'decklink'

Postby vidyasagarn » Tue Sep 05, 2017 4:17 pm

How to execute sdk
vidyasagarn
 
Posts: 6
Joined: Tue Sep 05, 2017 4:01 pm

Re: Unknown input format: 'decklink'

Postby llogan » Tue Sep 05, 2017 5:44 pm

Your ffmpeg has to be compiled with "--enable-decklink" (and "--enable-nonfree"). As it is considered nonfree you will (or should) find no distributed binaries of ffmpeg supporting this, so you will have to compile ffmpeg for decklink i/o support.
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
llogan
 
Posts: 2363
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska

Re: Unknown input format: 'decklink'

Postby vidyasagarn » Wed Sep 06, 2017 10:36 am

I have copied decklink sdk to "/usr/src/blackmagic-io-10.9-old.5a4/Linux/include" and executed below command. But still error is same.

PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-libfdk_aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-decklink --extra-cflags=-I/usr/src/blackmagic-io-10.9-old.5a4/Linux/include --extra-ldflags=-L/usr/src/blackmagic-io-10.9-old.5a4/Linux/include

[root@localhost ffmpeg-3.3.3]# PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --pkg-config-flags="--static" --enable-gpl --enable-nonfree --enable-decklink --extra-cflags=-I/usr/src/blackmagic-io-10.9-old.5a4/Linux/include --extra-ldflags=-L/usr/src/blackmagic-io-10.9-old.5a4/Linux/include^C
vidyasagarn
 
Posts: 6
Joined: Tue Sep 05, 2017 4:01 pm

Re: Unknown input format: 'decklink'

Postby llogan » Wed Sep 06, 2017 5:53 pm

Did it successfully compile? Did you execute the ffmpeg binary you compiled?

Please learn how to use the code button to format your post. Lazy posters get lazy answers.
Get an answer more quickly by providing your actual ffmpeg command and the complete console output. Use the code button to format your command and output or your question will be ignored.
llogan
 
Posts: 2363
Joined: Fri Jan 25, 2013 9:47 pm
Location: Alaska

Re: Unknown input format: 'decklink'

Postby vidyasagarn » Wed Sep 20, 2017 7:26 pm

Thanks llogan. It was compiled successfully. Still i'm facing same issue. please find attachment.
I havecopied SDK folder into "/home/it/ffmpeg_sources/ffmpeg/include" and complied ffmpeg with below procedure.

it@live-image:~/ffmpeg_sources/ffmpeg$ PATH="$HOME/bin:$PATH" PKG_CONFIG_PATH="$HOME/ffmpeg_build/lib/pkgconfig" ./configure --prefix="$HOME/ffmpeg_build" --pkg-config-flags="--static" --extra-cflags="-I$HOME/ffmpeg_build/include" --extra-ldflags="-L$HOME/ffmpeg_build/lib" --bindir="$HOME/bin" --enable-gpl --enable-libass --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libx265 --enable-nonfree --enable-decklink --extra-cflags=-I/home/it/ffmpeg_sources/ffmpeg/include/ --extra-ldflags=-ldl --extra-libs=-ldl --enable-shared --disable-static

Result: Enabled outdevs:
decklink fbdev oss v4l2
----------------------------------------------------------------------------------------------
it@live-image:~/ffmpeg_sources/ffmpeg$ ffmpeg -f decklink -list_devices 1 -i dummy
ffmpeg version 3.2.4-1build2 Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 6.3.0 (Ubuntu 6.3.0-8ubuntu1) 20170221
configuration: --prefix=/usr --extra-version=1build2 --toolchain=hardened --libdir=/usr/lib/x86_64-linux-gnu --incdir=/usr/include/x86_64-linux-gnu --enable-gpl --disable-stripping --enable-avresample --enable-avisynth --enable-gnutls --enable-ladspa --enable-libass --enable-libbluray --enable-libbs2b --enable-libcaca --enable-libcdio --enable-libebur128 --enable-libflite --enable-libfontconfig --enable-libfreetype --enable-libfribidi --enable-libgme --enable-libgsm --enable-libmp3lame --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librubberband --enable-libshine --enable-libsnappy --enable-libsoxr --enable-libspeex --enable-libssh --enable-libtheora --enable-libtwolame --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx265 --enable-libxvid --enable-libzmq --enable-libzvbi --enable-omx --enable-openal --enable-opengl --enable-sdl2 --enable-libdc1394 --enable-libiec61883 --enable-chromaprint --enable-frei0r --enable-libopencv --enable-libx264 --enable-shared
libavutil 55. 34.101 / 55. 34.101
libavcodec 57. 64.101 / 57. 64.101
libavformat 57. 56.101 / 57. 56.101
libavdevice 57. 1.100 / 57. 1.100
libavfilter 6. 65.100 / 6. 65.100
libavresample 3. 1. 0 / 3. 1. 0
libswscale 4. 2.100 / 4. 2.100
libswresample 2. 3.100 / 2. 3.100
libpostproc 54. 1.100 / 54. 1.100
Unknown input format: 'decklink'
vidyasagarn
 
Posts: 6
Joined: Tue Sep 05, 2017 4:01 pm


Return to ffmpeg

Who is online

Users browsing this forum: Google [Bot] and 4 guests