It's surprising to me as well. I have two log files - one from gst-launch and one from gst_parse_launch. The one from gst-launch contains many references to aacparse; the one from gst_parse_launch does not. Both command lines are identical (just playbin2 and the uri parameter).<div>
<br></div><div>Unfortunately the method in which playbin2 is being instantiated (with gst_parse_launch) is dictated by the customer. It may be possible to convince them to modify this, but ideally it would be best to be able to work within that framework.</div>
<div><br></div><div>Regardless, I'll try out your suggestion to see if it has an effect.</div><div><br></div><div>Any other ideas though for gst_parse_launch with playbin2?</div><div><br></div><div>Thanks,</div><div>
Eric<br>
<br>log files are here, for reference:</div><div><a href="http://www.mediafire.com/?sf809r7jx78x8">http://www.mediafire.com/?sf809r7jx78x8</a><br><br><br><br><div class="gmail_quote">On Thu, Jun 21, 2012 at 1:22 PM, Tim-Philipp Müller <span dir="ltr"><<a href="mailto:t.i.m@zen.co.uk" target="_blank">t.i.m@zen.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Thu, 2012-06-21 at 13:00 -0400, Eric Montellese wrote:<br>
<br>
> So, the new question is: Why is the pipeline created by playbin2<br>
> different when it is created using gst_parse_launch than when it is<br>
> created by gst-launch?<br>
<br>
</div>I find it hard to believe that it is in fact different :)<br>
<div class="im"><br>
> And, as before: how do I encourage playbin2 to autoplug the parser?<br>
> (particularly in the gst_parse_launch case)<br>
<br>
</div>If you create a playbin2 element, don't use gst_parse_launch(), use<br>
gst_element_factory_make("playbin2", NULL).<br>
<br>
If you're using gst_parse_launch() because it's more convenient to set<br>
properties that way, use gst_util_set_object_arg() instead to set them.<br>
<div class="HOEnZb"><div class="h5"><br>
Cheers<br>
-Tim<br>
<br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" target="_blank">http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</div></div></blockquote></div><br></div>