gst-rtsp-server: GST_IS_ELEMENT (element)' failed

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

gst-rtsp-server: GST_IS_ELEMENT (element)' failed

xiona.jeon
I am just testing rtsp streaming using test-launch and having some critical error that I can't comprehend
I am using 0.10.7 version

what does this mean?
(test-launch:9171): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion `GST_IS_ELEMENT (element)' failed

what am I doing wrong?

./test-launch --gst-debug=3 "( audiotestsrc ! mulawenc ! rtppcmupay name=pay0 pt=0 )"

:00:08.289825450  9171    0x11008 LOG          GST_REFCOUNTING gstobject.c:296:gst_object_ref:<appsrc1> 0x742f8 ref 1->2
0:00:08.290039073  9171    0x11008 LOG          GST_REFCOUNTING gstobject.c:296:gst_object_ref:<appsrc1:src> 0x708d0 ref 1->2
0:00:08.290252696  9171    0x11008 LOG          GST_REFCOUNTING gstobject.c:323:gst_object_unref:<appsrc1:src> 0x708d0 unref 2->1
0:00:08.290435801  9171    0x11008 LOG          GST_REFCOUNTING gstobject.c:323:gst_object_unref:<appsrc1> 0x742f8 unref 2->1
0:00:08.290618907  9171    0x11008 DEBUG          GST_PARENTAGE gstbin.c:1097:gst_bin_add_func:<media-pipeline> added element "appsrc1"

(test-launch:9171): GStreamer-CRITICAL **: gst_element_get_request_pad: assertion `GST_IS_ELEMENT (element)' failed

(test-launch:9171): GStreamer-CRITICAL **: gst_element_get_static_pad: assertion `GST_IS_ELEMENT (element)' failed
Reply | Threaded
Open this post in threaded view
|

Re: gst-rtsp-server: GST_IS_ELEMENT (element)' failed

xiona.jeon
I found one problem. I didn't have gstrtpbin plugin installed.
still have other problem. but think it's plugin issues as well.
Reply | Threaded
Open this post in threaded view
|

Re: gst-rtsp-server: GST_IS_ELEMENT (element)' failed

Wes Miller
Administrator
In reply to this post by xiona.jeon
Assuming this is your pipeline:

     ./test-launch --gst-debug=3 "( audiotestsrc ! mulawenc ! rtppcmupay name=pay0 pt=0 )"

try running it alone from gst-launch and you'll find it doesn't work.  Replace rtppcmupay with fakesink and you'll see that the rest of the pipe is ok.  I didn't check, but does rtppcmupay match the caps coming from mulawenc?

Also, check your payload type.  I think 0 has a reserved meaning and you probably want >= 96.

Wes
Reply | Threaded
Open this post in threaded view
|

Re: gst-rtsp-server: GST_IS_ELEMENT (element)' failed

xiona.jeon
Thanks wes,
It works now. since I'm using this program on embedded system. not all plugins are installed.
I installed gstrtpbin and selector plugins then it worked ! probably error message should be more clever than just assert message. thanks for your advice!