Decklink Mini monitor 4K - ffmpeg - Input/output error

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

David Alonso Grande

  • Posts: 1
  • Joined: Tue Nov 28, 2017 12:01 pm

Decklink Mini monitor 4K - ffmpeg - Input/output error

PostTue Nov 28, 2017 12:32 pm

Hello,

I am using a Decklink Mini Monitor 4K in a Linux Debian 8.

- I have installed driver with .deb file:
dpkg -i ./desktopvideo_10.9.7a2_amd64.deb

- And SDK:
Blackmagic_DeckLink_SDK_10.9.5.zip

SDK DeviceList works!
./DeviceList
=============== DeckLink Mini Monitor 4K ===============

Attribute list:
Serial port present ? No
Device Persistent ID: 383a9404
Device Topological ID: 530100
Number of sub-devices: 1
Sub-device index: 0
Number of audio channels: 16
Input mode detection supported ? No
Full duplex operation supported ? No
Internal keying supported ? No
External keying supported ? No
HD-mode keying supported ? Yes

- Then compile ffmpeg with Decklink support with no errors. See ffmpeg configure below:

Code: Select all
./configure --prefix="$HOME/ffmpeg_build" --extra-cflags="-I$HOME/ffmpeg_build/include" [b]--extra-cflags="-I$HOME/Downloads/Blackmagic_DeckLink_SDK_10.9.5/Linux/include"[/b] [b]--extra-ldflags="-L$HOME/Downloads/Blackmagic_DeckLink_SDK_10.9.5/Linux/include"[/b] --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-libass --enable-libtheora --enable-x11grab --enable-libzvbi --enable-decklink --extra-ldflags="-ldl" --extra-libs=-ldl --enable-avresample --enable-libvpx --enable-filter=smptehdbars --enable-filter=smptebars --enable-filter=drawtext


- Then list Decklink devices with ffmpeg, as shown in ffmpeg-all documentation:

/home/ffmpeg/bin/ffmpeg -f decklink -list_devices 1 -i dummy

OK!
[decklink @ 0x2fcd420] Blackmagic DeckLink devices:
[decklink @ 0x2fcd420] 'DeckLink Mini Monitor 4K'

- Then try to list Decklink supported formats with ffmpeg command:

Code: Select all
/home/ffmpeg/bin/ffmpeg -f decklink -list_formats 1 -i 'DeckLink Mini Monitor 4K'

ERROR!

[decklink @ 0x44fc420] Could not open input device from 'DeckLink Mini Monitor 4K'
DeckLink Mini Monitor 4K: Input/output error

Am I doing anything wrong?

That command works for listing supported formats with another DeckLink Mini Monitor which I have, but not with the 4K version I have just purchased.

Any help will be really appreciated.

Regards,

David
Offline

Cameron Nichols

Blackmagic Design

  • Posts: 34
  • Joined: Mon Sep 04, 2017 4:05 am

Re: Decklink Mini monitor 4K - ffmpeg - Input/output error

PostWed Dec 06, 2017 5:09 am

Hi David,

Unless there has been recent changes to the FFmpeg driver, there is only support for input/capture modes, not output.

You may want to use Media Express for playback.

Regards
Cameron Nichols

Return to Software Developers

Who is online

Users browsing this forum: No registered users and 2 guests