Actually I use the &quot;pad-added&quot; event it was posted in the thread :) but for sure, I did it wrong since I get  the &quot;caps are incompatible&quot; message.<br>thanks!<br><br><div class="gmail_quote">2012/1/3 Nathanael D. Noblet <span dir="ltr">&lt;<a href="mailto:nathanael@gnat.ca" target="_blank">nathanael@gnat.ca</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>On 01/03/2012 11:21 AM, Rossana Guerra wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I need to point out that using the gstparse it works. It fails when I<br>
try to create the pipeline by myself.<br>
</blockquote>
<br></div>
Hello,<br>
<br>
  I haven&#39;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&#39;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 &#39;pad-added&#39; 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...<span><font color="#888888"><br>


<br>
-- <br>
Nathanael d. Noblet<br>
t <a href="tel:403.875.4613" value="+14038754613" target="_blank">403.875.4613</a></font></span><div><div><br>
______________________________<u></u>_________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/gstreamer-<u></u>devel</a><br>
</div></div></blockquote></div><br>