- Posts: 2
- Joined: Mon Sep 11, 2017 1:29 pm
Hello,
we have a problem with an Ubuntu 16.04 Server and a Decklink Quad card. I hope somebody can help us.
We try to get an output from the Decklink card on an SDI port. We succsesfully installed the needed drivers for the card and now try to playback a video via ffmpeg. We compiled ffmpeg with the following configuration options:
We tried to List the output devices according to the ffmpeg devices doc
But when we tried to play a video clip using the standard conversion like in the ffmpeg device doc
See full output below.
Can anybody help us with this problem.
Thanks Jonas and Mulu
we have a problem with an Ubuntu 16.04 Server and a Decklink Quad card. I hope somebody can help us.
We try to get an output from the Decklink card on an SDI port. We succsesfully installed the needed drivers for the card and now try to playback a video via ffmpeg. We compiled ffmpeg with the following configuration options:
- Code: Select all
--disable-yasm --enable-nonfree --enable-libx264 --enable-gpl --enable-decklink --extra-cflags=-I/home/daten/Blackmagic_DeckLink_SDK_10.9.5/blacklink/Linux/include --extra-ldflags=-L/home/daten/Blackmagic_DeckLink_SDK_10.9.5/blacklink/Linux/include
We tried to List the output devices according to the ffmpeg devices doc
- Code: Select all
ffmpeg -i /home/daten/bla.mp4 -f decklink -list_devices 1 dummy
- Code: Select all
/home/daten/ffmpeg$ ffmpeg -i /home/daten/bla.mp4 -f decklink -list_devices 1 dummy
ffmpeg version N-87201-g837c55e Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --disable-yasm --enable-nonfree --enable-libx264 --enable-gpl --enable-decklink --extra-cflags=-I/home/daten/Blackmagic_DeckLink_SDK_10.9.5/blacklink/Linux/include --extra-ldflags=-L/home/daten/Blackmagic_DeckLink_SDK_10.9.5/blacklink/Linux/include
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.105.100 / 57.105.100
libavformat 57. 81.100 / 57. 81.100
libavdevice 57. 8.100 / 57. 8.100
libavfilter 6.102.100 / 6.102.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/daten/bla.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01T00:00:00.000000Z
encoder : Lavf53.24.2
Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[decklink @ 0x2068f20] Blackmagic DeckLink devices:
[decklink @ 0x2068f20] 'DeckLink SDI (1)'
[decklink @ 0x2068f20] 'DeckLink SDI (2)'
[decklink @ 0x2068f20] 'DeckLink SDI (3)'
[decklink @ 0x2068f20] 'DeckLink SDI (4)'
Could not write header for output file #0 (incorrect codec parameters ?): Immediate exit requested
Error initializing output stream 0:0 --
Conversion failed!
But when we tried to play a video clip using the standard conversion like in the ffmpeg device doc
- Code: Select all
ffmpeg -i /home/daten/bla.mp4 -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 'DeckLink SDI (4)'
- Code: Select all
[decklink @ 0x2f8b340] Could not get configuration interface for 'DeckLink SDI (4)'
Could not write header for output file #0 (incorrect codec parameters ?): Generic error in an external library
Error initializing output stream 0:0 --
Conversion failed!
See full output below.
- Code: Select all
/home/daten/ffmpeg$ ffmpeg -i /home/daten/bla.mp4 -f decklink -pix_fmt uyvy422 -s 720x486 -r 24000/1001 'DeckLink SDI (4)'
ffmpeg version N-87201-g837c55e Copyright (c) 2000-2017 the FFmpeg developers
built with gcc 5.4.0 (Ubuntu 5.4.0-6ubuntu1~16.04.4) 20160609
configuration: --disable-yasm --enable-nonfree --enable-libx264 --enable-gpl --enable-decklink --extra-cflags=-I/home/daten/Blackmagic_DeckLink_SDK_10.9.5/blacklink/Linux/include --extra-ldflags=-L/home/daten/Blackmagic_DeckLink_SDK_10.9.5/blacklink/Linux/include
libavutil 55. 74.100 / 55. 74.100
libavcodec 57.105.100 / 57.105.100
libavformat 57. 81.100 / 57. 81.100
libavdevice 57. 8.100 / 57. 8.100
libavfilter 6.102.100 / 6.102.100
libswscale 4. 7.103 / 4. 7.103
libswresample 2. 8.100 / 2. 8.100
libpostproc 54. 6.100 / 54. 6.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/home/daten/bla.mp4':
Metadata:
major_brand : isom
minor_version : 512
compatible_brands: isomiso2avc1mp41
creation_time : 1970-01-01T00:00:00.000000Z
encoder : Lavf53.24.2
Duration: 00:00:05.31, start: 0.000000, bitrate: 1589 kb/s
Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p, 1280x720 [SAR 1:1 DAR 16:9], 1205 kb/s, 25 fps, 25 tbr, 12800 tbn, 50 tbc (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : VideoHandler
Stream #0:1(und): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, 5.1, fltp, 384 kb/s (default)
Metadata:
creation_time : 1970-01-01T00:00:00.000000Z
handler_name : SoundHandler
Stream mapping:
Stream #0:0 -> #0:0 (h264 (native) -> wrapped_avframe (native))
Stream #0:1 -> #0:1 (aac (native) -> pcm_s16le (native))
Press [q] to stop, [?] for help
[decklink @ 0x2f8b340] Could not get configuration interface for 'DeckLink SDI (4)'
Could not write header for output file #0 (incorrect codec parameters ?): Generic error in an external library
Error initializing output stream 0:0 --
Conversion failed!
Can anybody help us with this problem.
Thanks Jonas and Mulu