translating command to code for playing an avi

Rossana Guerra guerra.rossana at gmail.com
Tue Jan 3 11:13:16 PST 2012


Actually I use the "pad-added" event it was posted in the thread :) but for
sure, I did it wrong since I get  the "caps are incompatible" message.
thanks!

2012/1/3 Nathanael D. Noblet <nathanael at gnat.ca>

> On 01/03/2012 11:21 AM, Rossana Guerra wrote:
>
>> I need to point out that using the gstparse it works. It fails when I
>> try to create the pipeline by myself.
>>
>
> Hello,
>
>  I haven't read this thread, however it seems that more often than not
> when going from a gst-launch command to code to create a pipeline the most
> common mistake is to try linking a decoder to the rest of the pipeline. The
> issue here is that prior to the decoder getting some data, it doesn't know
> how many streams it contains (a file could have multiple audio streams for
> one video for example). So you have to use the 'pad-added' signals to
> dynamically link things once everything is ready. If you google for the
> gstreamer hello world example it has an example of doing just that.
> Hopefully that helps if this is the issue, otherwise feel free to disregard
> this message...
>
> --
> Nathanael d. Noblet
> t 403.875.4613
>
> ______________________________**_________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.**freedesktop.org<gstreamer-devel at lists.freedesktop.org>
> http://lists.freedesktop.org/**mailman/listinfo/gstreamer-**devel<http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20120103/cb6a03ee/attachment.html>


More information about the gstreamer-devel mailing list