GNOME Bugzilla – Bug 748517
decklinkvideosrc: failed to capture frame
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=1 buffer-size=60 ! videoconvert ! theoraenc ! queue ! m. decklinkaudiosrc connection=1 ! audioconvert ! vorbisenc ! queue ! m. oggmux name=m ! filesink location='test.ogg' Is this launch line correct? 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' Setting pipeline to PAUSED ... 0:00:00.030493044 10224 0x19acc10 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:629:gst_decklink_video_src_open:<decklinkvideosrc0> Starting Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... 0:00:00.033760319 10224 0x19acc10 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:714:gst_decklink_video_src_start_streams:<decklinkvideosrc0> Not starting streams yet New clock: GstDecklinkInputClock 0:00:00.033788976 10224 0x19b0280 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:714:gst_decklink_video_src_start_streams:<decklinkvideosrc0> Not starting streams yet 0:00:00.034515121 10224 0x19b04f0 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:262:gst_decklink_video_src_set_caps:<decklinkvideosrc0> Setting caps video/x-raw, format=(string)UYVY, width=(int)1280, height=(int)720, framerate=(fraction)60000/1001, interlace-mode=(string)progressive, pixel-aspect-ratio=(fraction)1/1, colorimetry=(string)bt709, chroma-site=(string)mpeg2 0:00:00.044324443 10224 0x19b04f0 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:687:gst_decklink_video_src_start_streams:<decklinkvideosrc0> Starting streams 0:00:00.080410646 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.035045144 0:00:00.080439833 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.080447208 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.035045144 0:00:00.080458189 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.080520217 10224 0x19b04f0 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:552:gst_decklink_video_src_create:<decklinkvideosrc0> Outputting buffer 0x7fe8c0079080 with timestamp 0:00:00.035045144 and duration 0:00:00.016683333 Redistribute latency... 0:00:00.096973939 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.051832014 0:00:00.096994736 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.097001491 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.051832014 0:00:00.097009921 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.112795153 10224 0x19b04f0 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:552:gst_decklink_video_src_create:<decklinkvideosrc0> Outputting buffer 0x7fe8c007d160 with timestamp 0:00:00.051832014 and duration 0:00:00.016683333 0:00:00.113759171 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.068632368 0:00:00.113778370 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.113785782 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.068632368 0:00:00.113794435 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.130615013 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.085435788 0:00:00.130635212 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.130642125 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.085435788 0:00:00.130650308 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.147342457 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.102233342 0:00:00.147359500 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.147365987 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.102233342 0:00:00.147373923 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.164152362 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.119036049 0:00:00.164169519 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.164176193 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.119036049 0:00:00.164184539 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.180938867 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:458:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Got video frame at 0:00:00.135834073 0:00:00.180955322 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.180961849 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:464:gst_decklink_video_src_got_frame:<decklinkvideosrc0> Actual timestamp 0:00:00.135834073 0:00:00.180969509 10224 0x7fe8a4005c10 LOG decklinkvideosrc gstdecklinkvideosrc.cpp:446:gst_decklink_video_src_convert_to_external_clock:<decklinkvideosrc0> No clock conversion needed, same clocks 0:00:00.186274129 10224 0x19b04f0 DEBUG decklinkvideosrc gstdecklinkvideosrc.cpp:552:gst_decklink_video_src_create:<decklinkvideosrc0> Outputting buffer 0x7fe8c007d270 with timestamp 0:00:00.068632368 and duration 0:00:00.016683333
Isn't this the same as bug #748517 which you filed some time ago?
(In reply to Tim-Philipp Müller from comment #1) > Isn't this the same as bug #748517 which you filed some time ago? Yes it is. But there is some mistakes in this one which I couldn't edit and I was not able to delete this one. Sorry for that
*** This bug has been marked as a duplicate of bug 749020 ***