After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 755629 - decklinkvideosrc plugin provides blank framesfor modes other than auto mode
decklinkvideosrc plugin provides blank framesfor modes other than auto mode
Status: RESOLVED NOTABUG
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
1.5.91
Other Linux
: Normal critical
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-09-25 14:10 UTC by Raghavendra
Modified: 2018-05-10 07:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
log file (348.04 KB, text/plain)
2015-09-26 06:51 UTC, Raghavendra
Details

Description Raghavendra 2015-09-25 14:10:59 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
Comment 1 Sebastian Dröge (slomo) 2015-09-25 14:16:03 UTC
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?
Comment 2 Raghavendra 2015-09-25 14:59:21 UTC
The Hardware is Black Magic minirecoder. 
Yes I get black frames when directly showing the decklinkvideosrc output on a local sink.
Comment 3 Sebastian Dröge (slomo) 2015-09-25 15:26:26 UTC
Can you provide a debug log with GST_DEBUG=decklink*:6 ?
Comment 4 Raghavendra 2015-09-26 06:51:59 UTC
Created attachment 312177 [details]
log file

debug log captured with GST_DEBUG=decklink*:6
Comment 5 Tim-Philipp Müller 2016-05-22 22:40:26 UTC
Log was provided.
Comment 6 Sebastian Dröge (slomo) 2016-05-23 07:02:45 UTC
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.
Comment 7 Edward Hervey 2018-05-10 05:55:42 UTC
Is this still an issue ? A lot went in since the last comment.
Comment 8 Sebastian Dröge (slomo) 2018-05-10 07:12:11 UTC
Nothing to fix here, it's just that the decklink driver simply outputs black without an error if you select the wrong mode.