GNOME Bugzilla – Bug 755629
decklinkvideosrc plugin provides blank framesfor modes other than auto mode
Last modified: 2018-05-10 07:12:11 UTC
deckvideosrc plugin provides blank framesfor modes other than auto mode. Below is the pipeline used. gst-launch-1.0 decklinkvideosrc device_number=0 mode=11 connection=2 ! videoconvert ! videoscale ! video/x-raw,width=1920,height=1080,rate=25000/1000 ! x264enc ! mpegtsmux ! udpsink host=192.168.10.2 port=8800 But the same pipeline provides proper frames when mode is set to auto. gst-launch-1.0 decklinkvideosrc device_number=0 mode=0 connection=2 ! videoconvert ! videoscale ! video/x-raw,width=1920,height=1080,rate=25000/1000 ! x264enc ! mpegtsmux ! udpsink host=192.168.10.2 port=8800
Which hardware is that? Do you also get black frames when directly showing the decklinkvideosrc output on a local sink instead of first encoding it and sending over the network?
The Hardware is Black Magic minirecoder. Yes I get black frames when directly showing the decklinkvideosrc output on a local sink.
Can you provide a debug log with GST_DEBUG=decklink*:6 ?
Created attachment 312177 [details] log file debug log captured with GST_DEBUG=decklink*:6
Log was provided.
There's the general problem with the decklink driver that chosing a wrong mode will not result in an error but causes it to just output black frames. If auto works, it should also work when selecting the mode it autodetects.
Is this still an issue ? A lot went in since the last comment.
Nothing to fix here, it's just that the decklink driver simply outputs black without an error if you select the wrong mode.