[gst-devel] why does this pipeline not work?
holzi1 at gmx.at
Thu Aug 2 10:26:33 CEST 2007
Thanks, I've now tried to do that like it is in this example:
but it also doesn't work.
THe only thing I have done different is that I do not use a GMainLoop.
So what do I have to consider if I'm not using a GMainLoop? I haven't
found a good exaple for that...
Michael Smith schrieb:
> On Tue, 2007-07-31 at 15:09 +0200, Thomas Holzmann wrote:
>> 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
More information about the gstreamer-devel