GNOME Bugzilla – Bug 665661
Decklinksink is unable to play video from file sources
Last modified: 2014-11-24 13:51:47 UTC
Created attachment 202904 [details] Output of running the failed gst-launch command with options -v and -m Hello and good morning. I'm trying to use the Decklink Extreme 3D capture/playback card from Black Magic Design together with GStreamer, but not very succesfully... My goal now is to play some simple video using gst-launch-0.10 and choosing decklinksink as the sink element, so I'm using the following command: " gst-laugst-launch-0.10 playbin uri=file:///home/joaopizani/test.mp4 video-sink=decklinksink " And I expected the video to show up through the card's output. However, gst-launch quits with the following output: " Setting pipeline to PAUSED ... Pipeline is PREROLLING ... ERROR: from element /GstPlayBin:playbin0: Internal GStreamer error: pad problem. Please file a bug at http://bugzilla.gnome.org/enter_bug.cgi?product=GStreamer. Additional debug info: gstplaybin.c(928): gen_video_element (): /GstPlayBin:playbin0: Failed to configure the video sink. ERROR: pipeline doesn't want to preroll. Setting pipeline to NULL ... Freeing pipeline ... " I have already tried using the videotestsrc element instead of playbin and it worked just fine: " gst-launch-0.10 videotestsrc ! decklinksink " So, any of you have any idea what might be going wrong here? I have no idea of whether this is a GStreamer issue or a packaging/driver issue (I'm using Ubuntu 11.10 and the official drivers from Black Magic), so sorry if this bug doesn't belong here. Just in case, I am attaching the output of the failed gst-launch command with the -v option enabled...
Could you try with those changes: - playbin2 instead of playbin - video-sink="interlace ! decklinksink"
Good afternoon Vincent, I tried with both of your changes and it still didn't work. Here are the exact command-lines I tried: * gst-launch-0.10 playbin2 uri=file:///home/joaopizani/4s/test/simpsons.mp4 video-sink="interlace ! decklinksink" * gst-launch-0.10 playbin2 uri=file:///home/joaopizani/4s/test/simpsons.mp4 video-sink="interlace ! videorate ! decklinksink" * gst-launch-0.10 playbin2 uri=file:///home/joaopizani/4s/test/simpsons.mp4 video-sink="ffmpegcolorspace ! interlace ! videorate ! decklinksink" * gst-launch-0.10 playbin2 uri=file:///home/joaopizani/4s/test/simpsons.mp4 video-sink="videoscale ! ffmpegcolorspace ! interlace ! videorate ! decklinksink" NEITHER of them worked. On the other hand, the following played fine: * gst-launch-0.10 filesrc location=simpsons.mp4 ! decodebin2 ! videoscale ! ffmpegcolorspace ! interlace ! videorate ! decklinksink AS I already mentioned in another bug report...
Thanks. Something for someone who has the hardware to test/debug with, then.
And the required knowledge of GStreamer, I might add.
Could you attach a full $ GST_DEBUG=*:6 gst-launch-0.10 .... 2>dbg.log debug log please? Compress with xz -9 dbg.log before attaching it here. If you could test with gstreamer git, that would be even better.
Closing since no additional information has been provided. Some general pointers: - decklinksink might require you to set the output mode explicitly - you might need to put a videorate in front of it (and interlace if the output mode is interlaced). Please re-open or file a new bug if you still have problems with recent 1.x versions or git master, thanks!