<div dir="ltr">I read the article and understand that the problem is likely an issue with threading, hence the reason for the {} brackets described in my first post: {} brackets in a gst-launch pipeline spawn an additional thread for the elements surrounded in the brackets. However, in my case when I use the {} brackets I get the GStreamer warning "Error during parsing: syntax error, unexpected $undefined" as described in my first post. <br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 4:26 PM, Chuck Crisler <span dir="ltr"><<a href="mailto:ccrisler@mutualink.net" target="_blank">ccrisler@mutualink.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">You probably need to put them in separate threads. You can do that with queues or by explicitly putting them into threads. <br>
<br><a href="http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-threads.html" target="_blank">http://gstreamer.freedesktop.org/data/doc/gstreamer/head/manual/html/chapter-threads.html</a><br>
<br></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, May 6, 2013 at 3:50 PM, johnwesting <span dir="ltr"><<a href="mailto:john.blank.westing@gmail.com" target="_blank">john.blank.westing@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I have a pipeline with multiple sources and my pipeline does caps negotiation<br>
in serial for each source instead of in parallel like I would expect, i.e.<br>
the GstBaseTransform::Start() method of the second source is not called<br>
until after the first source has negotiated its capabilities. I've been<br>
trying to find a solution for most of the day but can't find anything. I'm<br>
using gst-launch and the pipeline examples I am finding online aren't<br>
helping me.<br>
<br>
My pipeline looks something like this:<br>
<br>
gst-launch interleave name=i ! alsasink \<br>
myfakesrc ! myfakedec ! queue ! i. \<br>
myfakesrc ! myfakedec ! queue ! i.<br>
<br>
The second instance of myfakesrc does not get started until after the caps<br>
are negotiated for the first myfakessrc element. I want the 2 sources to run<br>
completely independent of each other, as if they are different processes,<br>
but joined at the interleave element. I tried surrounding the last 2 lines<br>
with {} brackets, e.g. { myfakesrc ... i. } \, but it still didn't work and<br>
I got the GStreamer warning: "Error during parsing: syntax error, unexpected<br>
$undefined". I also tried using [] brackets but got the same GStreamer<br>
warning. Please help.<br>
<br>
Thanks,<br>
John<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/Multiple-Source-Pipeline-Hangs-tp4659808.html" target="_blank">http://gstreamer-devel.966125.n4.nabble.com/Multiple-Source-Pipeline-Hangs-tp4659808.html</a><br>


Sent from the GStreamer-devel mailing list archive at Nabble.com.<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">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>
</blockquote></div><br></div>
</div></div><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>
<br></blockquote></div><br></div>