can you name caps filters?

Chuck Crisler ccrisler at mutualink.net
Fri Jun 28 10:10:47 PDT 2013


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 *within the
stream.*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).


On Fri, Jun 28, 2013 at 12:13 PM, Chuck Crisler <ccrisler at mutualink.net>wrote:

> Is this the correct syntax?
>
> 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" );
>
> 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?
>
> TIA!
> Chuck
>
>
> On Thu, Jun 27, 2013 at 6:26 PM, Tim-Philipp Müller <t.i.m at zen.co.uk>wrote:
>
>> On Thu, 2013-06-27 at 18:08 -0400, Chuck Crisler wrote:
>>
>> Hi,
>>
>>
>> > factory2 = gst_rtsp_media_factory_new();
>> > gst_rtsp_media_factory_set_launch(factory2, "( videotestsrc pattern=2
>> > name=testsrc1 ! video/x-raw-yuv,"
>> >    "width=352,height=288,framerate=15/1 ! x264enc name=enc1 !
>> > rtph264pay name=pay1 pt=97 )");
>> > gst_rtsp_media_mapping_add_factory(mapping2, "/test2", factory2);
>> >
>> >
>> > Does anyone have any suggestions?
>>
>> Instead of
>>
>>   .... ! foo/x-bar,a=b ! ...
>>
>> you can write
>>
>>   .... ! capsfilter caps="foo/x-bar,a=b" name=vfilter ! ....
>>
>> Cheers
>>  -Tim
>>
>>
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.freedesktop.org
>> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130628/2514b17e/attachment-0001.html>


More information about the gstreamer-devel mailing list