<div dir="ltr">OK, I mis-understood the README instructions. Yes, the syntax I implemented based on Tim's advice is correct and works. My error was naming the payloaders pay0 (for URL 0), pay1 (for URL 1) and pay2 (for URL2). The payloaders for the launch line should be named payn <font color="#ff0000"><i><b>within the stream.</b></i><font color="#000000"> Each stream should have a pay0 with additional payN for additional media streams within that pipeline. Those names are not shared between streams. In fact, I am not sure if any of the element names are shared between pipelines (I think not).</font></font><br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Jun 28, 2013 at 12:13 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"><div><div><div><div>Is this the correct syntax?<br><br></div>gst_rtsp_media_factory_set_launch(factory1, "(videotestsrc pattern=2 name=testsrc1 ! capsfilter caps=\"video ... " name=filter1 ! x264enc name=enc1 ! rtph264pay name=pay1 pt=97" );<br>

<br></div>In the test-video.c file I am simply creating 3 factories, 3 mapping elements (for 3 different URLs) and setting them with modified launch lines changing the videotestsrc pattern, as the example shows, before the call to gst_rtsp_server_attach(). Is that the proper sequence?<br>

<br></div>TIA!<span class="HOEnZb"><font color="#888888"><br></font></span></div><span class="HOEnZb"><font color="#888888">Chuck<br></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br>
<div class="gmail_quote">On Thu, Jun 27, 2013 at 6:26 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">On Thu, 2013-06-27 at 18:08 -0400, Chuck Crisler wrote:<br>
<br>
Hi,<br>
<div><br>
<br>
> factory2 = gst_rtsp_media_factory_new();<br>
> gst_rtsp_media_factory_set_launch(factory2, "( videotestsrc pattern=2<br>
> name=testsrc1 ! video/x-raw-yuv,"<br>
>    "width=352,height=288,framerate=15/1 ! x264enc name=enc1 !<br>
> rtph264pay name=pay1 pt=97 )");<br>
> gst_rtsp_media_mapping_add_factory(mapping2, "/test2", factory2);<br>
><br>
><br>
> Does anyone have any suggestions?<br>
<br>
</div>Instead of<br>
<br>
  .... ! foo/x-bar,a=b ! ...<br>
<br>
you can write<br>
<br>
  .... ! capsfilter caps="foo/x-bar,a=b" name=vfilter ! ....<br>
<br>
Cheers<br>
 -Tim<br>
<br>
<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></blockquote></div><br></div>