[FFmpeg-user] DeckLink@ cannot enable video input

Tung Tran tung.tran at v247.com
Thu Apr 27 20:32:10 EEST 2017


Dear All

I am running into an issue if ffmpeg cannout enable video input on decklink
card,

Here is the console output

[root at localhost ffmpeg]# ffmpeg -f decklink -i 'DeckLink SDI' -vf
scale=1280:720 -vcodec libx264 -pix_fmt yuv420p -tune zerolatency -preset
ultrafast -f mpegts udp://236.0.0.1:2000
ffmpeg version N-85600-g9ef21a8 Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
  configuration: --prefix=/opt/ffmpeg
--extra-cflags='-I$/opt/ffmpeg/include' --extra-ldflags='-L/opt/ffmpeg/lib
-ldl' --bindir=/opt/ffmpeg/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/root/ffmpeg_source/Blackmagic_DeckLink_SDK_10.8.6/Linux/include
--extra-ldflags=-L/root/ffmpeg_source/Blackmagic_DeckLink_SDK_10.8.6/Linux/include
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 85.100 /  6. 85.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[decklink @ 0x3e2d5a0] Cannot enable video input
DeckLink SDI: Input/output error
[root at localhost ffmpeg]#


[root at localhost ffmpeg]# ffmpeg -f decklink -list_devices 1 -i dummy
ffmpeg version N-85600-g9ef21a8 Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
  configuration: --prefix=/opt/ffmpeg
--extra-cflags='-I$/opt/ffmpeg/include' --extra-ldflags='-L/opt/ffmpeg/lib
-ldl' --bindir=/opt/ffmpeg/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/root/ffmpeg_source/Blackmagic_DeckLink_SDK_10.8.6/Linux/include
--extra-ldflags=-L/root/ffmpeg_source/Blackmagic_DeckLink_SDK_10.8.6/Linux/include
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 85.100 /  6. 85.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[decklink @ 0x2bb83c0] Blackmagic DeckLink devices:
[decklink @ 0x2bb83c0]  'DeckLink SDI'
dummy: Immediate exit requested


[root at localhost ffmpeg]# ffmpeg -f decklink -list_formats 1 -i 'DeckLink
SDI'
ffmpeg version N-85600-g9ef21a8 Copyright (c) 2000-2017 the FFmpeg
developers
  built with gcc 4.8.5 (GCC) 20150623 (Red Hat 4.8.5-11)
  configuration: --prefix=/opt/ffmpeg
--extra-cflags='-I$/opt/ffmpeg/include' --extra-ldflags='-L/opt/ffmpeg/lib
-ldl' --bindir=/opt/ffmpeg/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/root/ffmpeg_source/Blackmagic_DeckLink_SDK_10.8.6/Linux/include
--extra-ldflags=-L/root/ffmpeg_source/Blackmagic_DeckLink_SDK_10.8.6/Linux/include
  libavutil      55. 61.100 / 55. 61.100
  libavcodec     57. 93.100 / 57. 93.100
  libavformat    57. 72.101 / 57. 72.101
  libavdevice    57.  7.100 / 57.  7.100
  libavfilter     6. 85.100 /  6. 85.100
  libswscale      4.  7.101 /  4.  7.101
  libswresample   2.  8.100 /  2.  8.100
  libpostproc    54.  6.100 / 54.  6.100
[decklink @ 0x46fd3c0] Supported formats for 'DeckLink SDI':
        format_code     description
        ntsc            720x486 at 30000/1001 fps (interlaced, lower field
first)
        nt23            720x486 at 24000/1001 fps
        pal             720x576 at 25000/1000 fps (interlaced, upper field
first)
        23ps            1920x1080 at 24000/1001 fps
        24ps            1920x1080 at 24000/1000 fps
        Hp25            1920x1080 at 25000/1000 fps
        Hp29            1920x1080 at 30000/1001 fps
        Hp30            1920x1080 at 30000/1000 fps
        Hi50            1920x1080 at 25000/1000 fps (interlaced, upper
field first)
        Hi59            1920x1080 at 30000/1001 fps (interlaced, upper
field first)
        Hi60            1920x1080 at 30000/1000 fps (interlaced, upper
field first)
        hp50            1280x720 at 50000/1000 fps
        hp59            1280x720 at 60000/1001 fps
        hp60            1280x720 at 60000/1000 fps
DeckLink SDI: Immediate exit requested

[root at localhost ffmpeg]# BlackmagicFirmwareUpdater status
0:      /dev/blackmagic/dv0 [DeckLink SDI]      0x31    OK


Any recommend is highly appreciated.


---
Best regards,

*Tung Tran*


More information about the ffmpeg-user mailing list