[gst-devel] why does this pipeline not work?
Michael Smith
msmith at fluendo.com
Tue Jul 31 15:26:12 CEST 2007
On Tue, 2007-07-31 at 15:09 +0200, Thomas Holzmann wrote:
> Hello,
>
> I want to make a pipeline which plays my videos with decodebin. In the
> shell this worked with gst-launch filesrc location=schritte.avi !
> decodebin ! ffmpegcolorspace ! ximagesink
>
> When I try to implement this in my application there is alway a problem
> by linking the decodebin element with the ffmpegcolorspace element.
> I've created a pipeline, added the elements to it and linked it. I think
> nothing else does gst-launch!?
> Does someone have an idea what I could have made wrong?
gst-launch handles dynamic pads. You'll need to do that too - decodebin
uses dynamic pads.
You should connect to the new-decoded-pad signal on decodebin, and then
link an appropriate (video, presumably) pad to the rest of your pipeline
there.
Mike
More information about the gstreamer-devel
mailing list