can you name caps filters?

Chuck Crisler ccrisler at mutualink.net
Thu Jun 27 15:08:35 PDT 2013


I am experimenting with the RTSP server, specifically with the test-video
application. I have created 3 factories, 3 mappings and 3 launch lines.
However, I cannot access servers 2 or 3 due to not linked errors. Here is a
snippet of the log.

0:00:07.842130745 27882  0x9cd5008 INFO        GST_ELEMENT_PADS
gstutils.c:1592:gst_element_link_pads_full: trying to link element
testsrc1:(any) to element capsfilter0:sink
0:00:07.842236067 27882  0x9cd5008 INFO        GST_ELEMENT_PADS
gstelement.c:958:gst_element_get_static_pad: found pad capsfilter0:sink
0:00:07.842285585 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1678:gst_element_link_pads_full: looping through allowed src and
dest pads
0:00:07.842326722 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1681:gst_element_link_pads_full: trying src pad testsrc1:src
0:00:07.853733483 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1695:gst_element_link_pads_full: linked pad testsrc1:src to pad
capsfilter0:sink
0:00:07.853822042 27882  0x9cd5008 INFO        GST_ELEMENT_PADS
gstutils.c:1592:gst_element_link_pads_full: trying to link element
capsfilter0:src to element enc1:(any)
0:00:07.853936235 27882  0x9cd5008 INFO        GST_ELEMENT_PADS
gstelement.c:958:gst_element_get_static_pad: found pad capsfilter0:src
0:00:07.853998255 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1678:gst_element_link_pads_full: looping through allowed src and
dest pads
0:00:07.854052173 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1681:gst_element_link_pads_full: trying src pad capsfilter0:src
0:00:07.854137659 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1111:gst_element_get_compatible_pad: finding pad in enc1
compatible with capsfilter0:src
0:00:07.854229711 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1164:gst_element_get_compatible_pad: already linked or cannot be
linked (peer = (nil))
0:00:07.854479816 27882  0x9cd5008 DEBUG       GST_ELEMENT_PADS
gstutils.c:1166:gst_element_get_compatible_pad: unreffing pads


Here is part of my source code.

factory = gst_rtsp_media_factory_new();
gst_rtsp_media_factory_set_launch(factory, "( videotestsrc name=testsrc0 !
video/x-raw-yuv,"
   "width=352,height=288,framerate=15/1 ! x264enc name=enc0 ! rtph264pay
name=pay0 pt=96 )");
gst_rtsp_media_mapping_add_factory(mapping, "/test1", factory);

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?

Thank you,
Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20130627/1be48074/attachment.html>


More information about the gstreamer-devel mailing list