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 747426 - decklink: video modes 14, 15, 16 do not work
decklink: video modes 14, 15, 16 do not work
Status: RESOLVED INVALID
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-04-06 21:52 UTC by Vasilis Liaskovitis
Modified: 2015-04-07 09:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Vasilis Liaskovitis 2015-04-06 21:52:20 UTC
Testing on a decklink Mini monitor card.

02:00.0 Multimedia video controller: Blackmagic Design DeckLink Mini Monitor
	Subsystem: Blackmagic Design DeckLink Mini Monitor
Capabilities: [40] Power Management version 3
	Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
	Capabilities: [58] Express Endpoint, MSI 00
	Kernel driver in use: blackmagic_driver


Most modes work. However modes 14, 15, 16:

 (14): HD1080 50p       - 1080p50
 (15): HD1080 59.94p    - 1080p5994
 (16): HD1080 60p       - 1080p60

do not work. E.g. for mode 14:

gst-launch-1.0 filesrc location=/opt/Videos/test.avi ! decodebin name=decoder   ! videoscale ! videoconvert   ! videorate  ! decklinkvideosink device-number=0  mode=14

0:00:00.063610583 27603 0x7faa800061e0 DEBUG      decklinkvideosink gstdecklinkvideosink.cpp:273:gst_decklink_video_sink_set_caps:<deck> Setting caps video/x-raw, width=(int)1920, height=(int)1080, pixel-aspect-ratio=(fraction)1/1, interlace-mode=(string)progressive, framerate=(fraction)50/1, format=(string)UYVY, colorimetry=(string)bt709, chroma-site=(string)mpeg2
0:00:00.063679302 27603 0x7faa800061e0 WARN       decklinkvideosink gstdecklinkvideosink.cpp:287:gst_decklink_video_sink_set_caps:<deck> Failed to enable video output


dmesg output is "blackmagic[ERROR]: Failed to enable video output (1002)". I am not sure if it's a wrong setting on gstreamer side or a driver issue. I haven't found documentation for the 1002 error code yet. 

Tested on master repos from 5/5/2015
Comment 1 Tim-Philipp Müller 2015-04-06 22:01:39 UTC
> Tested on master repos from 5/5/2015

If you could make a copy of those available, that'd save us a quite a bit of time ;)
Comment 2 Sebastian Dröge (slomo) 2015-04-07 02:33:26 UTC
Can you use those modes with the Decklink applications that are provided with the SDK? That sounds like your card or the configuration of the card does not support them.
Comment 3 Vasilis Liaskovitis 2015-04-07 09:03:11 UTC
I rechecked specs of Mini Monitor card https://www.blackmagicdesign.com/products/decklink/techspecs/W-DLK-05 and it looks like 1080p50, 1080p59.94, 1080p60 are actually not supported on this card. Other models support them.

Let's close issue for now. I 'll try to test on different cards in the future, if problem appears there i will reopen. Sorry for the noise.