can you name caps filters?

Tim-Philipp Müller t.i.m at zen.co.uk
Thu Jun 27 15:26:45 PDT 2013


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




More information about the gstreamer-devel mailing list