can you name caps filters?

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


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/350a89dd/attachment.html>


More information about the gstreamer-devel mailing list