GNOME Bugzilla – Bug 749020
decklinkvideosrc: failed to capture camera frames
Last modified: 2018-01-25 12:57:49 UTC
I used the following pipleline to capture audio and video from a Blackmagic 4K Extreme card, but I could capture only audio. I am using a GoPro Hero 3+ camera in an Ubuntu 12.04 machine. gst-launch-1.0 decklinkvideosrc mode=18 connection=2 buffer-size=300 ! videoconvert ! theoraenc ! queue ! m. decklinkaudiosrc connection=1 ! audioconvert ! vorbisenc ! queue ! m. oggmux name=m ! filesink location='test.ogg' It creates the file 'test.ogg' but has only black frames, and it records audio properly. Is this launch line correct? I have connected the GoPro camera using HDMI and I have tried another camera but the result is the same. The following is the GStreamer debug log GST_DEBUG=decklinkvideosrc:6 gst-launch-1.0 decklinkvideosrc mode=18 connection=2 buffer-size=300 ! videoconvert ! theoraenc ! queue ! m. decklinkaudiosrc connection=1 ! audioconvert ! vorbisenc ! queue ! m. oggmux name=m ! filesink location='blah.ogg'
Created attachment 303061 [details] debug
If you're getting black frames, that's probably because the card isn't configured properly or there's no signal. You're setting mode=18 which is 720p @ 59.94fps - are you sure that's what the GoPro outputs? Have you tried other modes and/or auto mode? Also various "video-format"? Does it work in the decklink apps from the SDK?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide the information that was asked for in a previous comment. Thanks!
*** Bug 748517 has been marked as a duplicate of this bug. ***