[00;04mgstrtpmpadepay.c(213)
<div style="direction: ltr;">:gst_rtp_mpa_depay_chain:[00m Unexpected payload type 96</div>
<br>Ok here's your problem :<br>
<br>
gst-plugins-base-0.10.6/gst-libs/gst/rtp/gstrtpbuffer.h:
GST_RTP_PAYLOAD_MPA =
14,
/* Audio MPEG 1-3 */<br>
<br>
so try with <br>
<br>
application/x-rtp, media=audio, payload=14, media=(string)audio, clock-rate=(int)90000, encoding-name=(string)MPA'<br><div><span class="gmail_quote"><br>
On 6/7/06, <b class="gmail_sendername">Bebjak, Michal</b> <<a href="mailto:michal.bebjak@siemens.com">michal.bebjak@siemens.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I tied to start it with --gst-debug-level=5 and I can see this following errors:<br><br>DEBUG
(0x8122190 - 0:00:00.553758000)
[00;04m
default[00m([333m 5798[00m) [00;04mgstrtpmpadepay.c(213):gst_rtp_mpa_depay_chain:[00m Unexpected payload type 96<br>LOG
(0x8122190 - 0:00:00.553790000) [00;01;31;44m
GST_REFCOUNTING[00m([333m 5798[00m) [00;01;31;44mgstminiobject.c(293):gst_mini_object_unref:[00m 0x8119e70 unref 1->0<br>LOG
(0x8122190 - 0:00:00.553812000)
[00;01;42m GST_BUFFER[00m([333m
5798[00m) [00;01;42mgstbuffer.c(182):gst_buffer_finalize:[00m finalize 0x8119e70<br>LOG
(0x8122190 - 0:00:00.553834000)
[00;01;34m GST_CAPS[00m([333m
5798[00m) [00;01;34mgstcaps.c(381):gst_caps_unref:[00m 0x8108068 3->2<br>LOG
(0x8122190 - 0:00:00.553859000)
[00;01;35m GST_SCHEDULING[00m([333m
5798[00m) [00;01;35mgstpad.c(3177):gst_pad_chain:<rtpmpadepay0:sink>[00m called chainfunction &0xb79b0a50 of pad rtpmpadepay0:sink, returned error<br><br>LOG
(0x8122190 - 0:00:00.553885000) [00;01;31;44m
GST_REFCOUNTING[00m([333m 5798[00m) [00;01;31;44mgstobject.c(412):gst_object_unref:<rtpmpadepay0:sink>[00m 0x80ed1e0 unref 2->1<br>LOG
(0x8122190 - 0:00:00.553908000) [00;01;31;44m
GST_REFCOUNTING[00m([333m 5798[00m) [00;01;31;44mgstobject.c(412):gst_object_unref:<capsfilter0>[00m 0x81084d8 unref 2->1<br>LOG
(0x8122190 - 0:00:00.553931000)
[00;01;35m GST_SCHEDULING[00m([333m
5798[00m) [00;01;35mgstpad.c(3177):gst_pad_chain:<capsfilter0:sink>[00m called chainfunction &gst_base_transform_chain of pad capsfilter0:sink, returned error<br><br>LOG
(0x8122190 - 0:00:00.553956000) [00;01;31;44m
GST_REFCOUNTING[00m([333m 5798[00m) [00;01;31;44mgstobject.c(412):gst_object_unref:<capsfilter0:sink>[00m 0x8107f40 unref 2->1<br>DEBUG
(0x8122190 - 0:00:00.553978000)
[00m
basesrc[00m([333m 5798[00m)
[00mgstbasesrc.c(1312):gst_base_src_loop:<udpsrc0>[00m pausing task, reason error<br>DEBUG
(0x8122190 - 0:00:00.554002000)
[00m task[00m([333m
5798[00m) [00mgsttask.c(438):gst_task_pause:<task0>[00m Pausing task 0x810f9c0<br>WARN (0x8122190
- 0:00:00.554038000)
[00m
basesrc[00m([333m 5798[00m)
[00mgstbasesrc.c(1318):gst_base_src_loop:<udpsrc0>[00m error: Internal data flow error.<br>WARN (0x8122190
- 0:00:00.554060000)
[00m
basesrc[00m([333m 5798[00m)
[00mgstbasesrc.c(1318):gst_base_src_loop:<udpsrc0>[00m error: streaming task paused, reason error<br><br><br>Do
you think problem is that the rtpmpadepay element doesn't accept the
"payload" argument?? The rest of the logs looks OK. There are some
additional warning messages, but I think that is not the problem. Just
to be sure here are the messages:<br><br>WARN (0x8052240 -
0:00:00.034834000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstmms.so: undefined symbol: mmsh_connect<br>WARN (0x8052240
- 0:00:00.040353000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgsttrm.so: undefined symbol:
gst_pad_query_peer_duration<br>WARN (0x8052240 -
0:00:00.040762000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstannodex.so: undefined symbol:
g_intern_static_string<br>WARN (0x8052240 -
0:00:00.041090000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstapetag.so: undefined symbol:
gst_type_find_helper_for_buffer<br>WARN (0x8052240 -
0:00:00.041383000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstauparse.so: undefined symbol:
gst_pad_query_peer_duration<br>WARN (0x8052240 -
0:00:00.041748000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstavi.so: undefined symbol:
gst_pad_query_peer_duration<br>WARN (0x8052240 -
0:00:00.042095000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstdebug.so: undefined symbol:
gst_pad_query_peer_duration<br>WARN (0x8052240 -
0:00:00.042571000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgsticydemux.so: undefined symbol:
gst_type_find_helper_for_buffer<br>WARN (0x8052240 -
0:00:00.042983000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstid3demux.so: undefined symbol:
gst_tag_from_id3_user_tag<br>WARN (0x8052240 -
0:00:00.048695000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstossaudio.so: undefined symbol:
g_intern_static_string<br>WARN (0x8052240 -
0:00:00.050635000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstshout2.so: undefined symbol:
gst_base_sink_set_sync<br>WARN (0x8052240 -
0:00:00.051117000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstwavparse.so: undefined symbol:
gst_adapter_new<br>WARN (0x8052240 -
0:00:00.053315000) GST_PLUGIN_LOADING( 5834)
gstplugin.c(414):gst_plugin_load_file: module_open failed:
/usr/lib/gstreamer-0.10/libgstswfdec.so: undefined symbol:
swfdec_decoder_get_version<br><br><br>Best regards,<br><br>Michal<br><br>-----Original Message-----<br>From: Antoine Tremblay [mailto:<a href="mailto:hexa00@gmail.com">hexa00@gmail.com</a>]<br>Sent: Tue 6/6/2006 11:54 PM
<br>To: Bebjak, Michal<br>Cc: <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>Subject: Re: [gst-devel] problem sending audio/mpeg over RTP<br><br>hehe now that I think of it it should work with the default ....but still
<br>it's a good thing to set it just to be sure...<br><br>try to run it with --gst-debug-level=5 or any level and check what's<br>happening juste before the error...<br><br><br>On 6/6/06, Antoine Tremblay <<a href="mailto:hexa00@gmail.com">
hexa00@gmail.com</a>> wrote:<br>><br>> Well you're missing some args in udpsink /udpsrc<br>><br>> Should be like udpsink host=localhost port=7777<br>><br>> udpsrc port=7777<br>><br>> the rest seems ok at 1st glance...
<br>><br>> Regards<br>><br>> Antoine<br>><br>><br>><br>> On 6/6/06, Bebjak, Michal <<a href="mailto:michal.bebjak@siemens.com">michal.bebjak@siemens.com</a>> wrote:<br>> ><br>> ><br>
> > Hi,<br>> ><br>> > I'm developing an client-server aplication which should use GStreamer. I<br>> > want to endcode the audio into MP3 and send it oved RTP to the client. I<br>> > first tried to run this following commands:
<br>> ><br>> > server terminal: gst-launch-0.10 -v audiotestsrc ! lame ! rtpmpapay !<br>> > udpsink<br>> > client terminal: gst-launch-0.10 -v udpsrc ! 'application/x-rtp,<br>> > media=audio, payload=96, media=(string)audio, clock-rate=(int)90000,
<br>> > encoding-name=(string)MPA' !<br>>
>
rtpmpadepay !<br>> > 'audio/mpeg,mpegversion=1,layer=3,channels=1,rate=44100' ! mad !<br>> > audioconvert ! volume volume=0.2 ! autoaudiosink<br>> ><br>> ><br>> > They both work independently but when I try to send the audio from
<br>> > server to client the client crashes. The terminal output is:<br>> ><br>> ><br>> > $ gst-launch-0.10 -v udpsrc ! 'application/x-rtp, media=audio,<br>> > payload=96, media=(string)audio, clock-rate=(int)90000,
<br>> > encoding-name=(string)MPA' !<br>> > rtpmpadepay ! 'audio/mpeg,mpegversion=1,layer=3,channels=1,rate=44100' !<br>> > mad ! audioconvert ! volume volume=0.2 ! autoaudiosink<br>> > Setting pipeline to PAUSED ...
<br>> > Pipeline is live and does not need PREROLL ...<br>> > Setting pipeline to PLAYING ...<br>> > New clock: GstSystemClock<br>> > /pipeline0/capsfilter0.sink: caps = application/x-rtp,<br>> > media=(string)audio, payload=(int)96, clock-rate=(int)90000,
<br>> > encoding-name=(string)MPA<br>> > /pipeline0/capsfilter0.src: caps = application/x-rtp,<br>> > media=(string)audio, payload=(int)96, clock-rate=(int)90000,<br>> > encoding-name=(string)MPA<br>
> > /pipeline0/rtpmpadepay0.sink: caps = application/x-rtp,<br>> > media=(string)audio, payload=(int)96, clock-rate=(int)90000,<br>> > encoding-name=(string)MPA<br>> > ERROR: from element /pipeline0/udpsrc0: Internal data flow error.
<br>> > Additional debug info:<br>> > gstbasesrc.c(1318): gst_base_src_loop (): /pipeline0/udpsrc0:<br>> > streaming task paused, reason error<br>> > Execution ended after 1513470000 ns.<br>> > Setting pipeline to PAUSED ...
<br>> > Setting pipeline to READY ...<br>> > /pipeline0/rtpmpadepay0.sink: caps = NULL<br>> > /pipeline0/capsfilter0.sink: caps = NULL<br>> > /pipeline0/capsfilter0.src: caps = NULL<br>> > Setting pipeline to NULL ...
<br>> > FREEING pipeline ...<br>> ><br>> > Can someone please help me to make it work?? Thanks a lot!!<br>> ><br>> > Michael<br>> ><br>> ><br>> > _______________________________________________
<br>> > gstreamer-devel mailing list<br>> > <a href="mailto:gstreamer-devel@lists.sourceforge.net">gstreamer-devel@lists.sourceforge.net</a><br>> > <a href="https://lists.sourceforge.net/lists/listinfo/gstreamer-devel">
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel</a><br>> ><br>><br>><br><br></blockquote></div><br>