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 749020 - decklinkvideosrc: failed to capture camera frames
decklinkvideosrc: failed to capture camera frames
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-bad
git master
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
: 748517 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2015-05-06 14:22 UTC by Arjun
Modified: 2018-01-25 12:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
debug (7.25 KB, text/plain)
2015-05-08 08:05 UTC, Arjun
Details

Description Arjun 2015-05-06 14:22:39 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'
Comment 1 Arjun 2015-05-08 08:05:23 UTC
Created attachment 303061 [details]
debug
Comment 2 Tim-Philipp Müller 2016-12-31 11:43:46 UTC
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?
Comment 3 Tim-Philipp Müller 2018-01-20 11:17:18 UTC
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!
Comment 4 Tim-Philipp Müller 2018-01-25 12:57:49 UTC
*** Bug 748517 has been marked as a duplicate of this bug. ***