[gst-devel] About RTSP server--streaming mp3 files

yangsb yangsb05 at gmail.com
Wed Mar 18 05:15:56 CET 2009


Thanks for your reply.
I intall gst-plugin-bad-0.10.9.
Now I can receive mp3 files by gstreamer.
But vlc media player or mplayer still can not receive the stream.
I tried to debug it .
And I found that the sever did not give the client a npt length.
Other server , such as live555 , can give the client the npt time.
So, maybe a bug of gst-rtsp-server ?


Wim Taymans-2 wrote:
> 
> On Mon, 2009-03-16 at 03:15 -0700, yangsb wrote:
>> Today , I use gstreamer as a streamer receiver.
>> My pipeline is like this : 
>> 
>> gst-launch -v  rtspsrc location=rtsp://192.168.1.45:1554/test  latency=10 
>> !
>> rtpmpadepay ! fakesink
>> 
>> However , I still can not receive the stream. The message is following:
> 
> You need to install gstrtpbin from gst-plugins-bad.
> 
> Wim
>> 
>> #########################################################
>> 
>> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec0: latency =
>> 10     
>> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2: timeout =
>> 5000000
>> Pipeline is live and does not need PREROLL ...                                 
>> Setting pipeline to PLAYING ...                                                
>> New clock: GstSystemClock                                                      
>> WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could
>> not
>> read from resource.                                                               
>> Additional debug info:                                                         
>> gstrtspsrc.c(2815): gst_rtspsrc_loop_udp ():
>> /GstPipeline:pipeline0/GstRTSPSrc:
>> rtspsrc0:                                                                      
>> Could not receive any UDP packets for 5.0000 seconds, maybe your firewall
>> is
>> blocking it. Retrying using a TCP connection.
>> 
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **: gst_bin_add: assertion
>> `GST_IS_E
>> LEMENT (element)' failed                                                       
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **:
>> gst_element_get_request_pad:
>> ass
>> ertion `GST_IS_ELEMENT (element)' failed                                       
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **:
>> gst_element_get_static_pad:
>> asse
>> rtion `GST_IS_ELEMENT (element)' failed                                        
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **:
>> gst_element_get_request_pad:
>> ass
>> ertion `GST_IS_ELEMENT (element)' failed                                       
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **:
>> gst_element_get_request_pad:
>> ass
>> ertion `GST_IS_ELEMENT (element)' failed                                       
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **: gst_pad_link_prepare:
>> assertion 
>> `GST_IS_PAD (sinkpad)' failed                                                  
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **: gst_pad_link_prepare:
>> assertion 
>> `GST_IS_PAD (srcpad)' failed                                                   
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **: gst_pad_link_prepare:
>> assertion 
>> `GST_IS_PAD (srcpad)' failed                                                   
>>                                                                                
>> (gst-rtsp-server:1373): GStreamer-CRITICAL **: gst_pad_link_prepare:
>> assertion 
>> `GST_IS_PAD (sinkpad)' failed                                                  
>> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRTPDec:rtpdec1: latency =
>> 10     
>> WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could
>> not
>> rea
>> d from resource.                                                               
>> Additional debug info:                                                         
>> gstrtspsrc.c(2659): gst_rtspsrc_loop_interleaved ():
>> /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:                                                              
>> Timeout while waiting for server message.            
>> ############################################################
>> Hope to get some advice.
>> Best regards.
>> 
>> 
>> -- 
>> View this message in context:
>> http://www.nabble.com/About-RTSP-server--streaming-mp3-files-tp22238774p22535026.html
>> Sent from the GStreamer-devel mailing list archive at Nabble.com.
>> 
>> 
>> ------------------------------------------------------------------------------
>> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
>> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
>> easily build your RIAs with Flex Builder, the Eclipse(TM)based
>> development
>> software that enables intelligent coding and step-through debugging.
>> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
>> _______________________________________________
>> gstreamer-devel mailing list
>> gstreamer-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 
> ------------------------------------------------------------------------------
> Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
> powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
> easily build your RIAs with Flex Builder, the Eclipse(TM)based development
> software that enables intelligent coding and step-through debugging.
> Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
> 
> 

-- 
View this message in context: http://www.nabble.com/About-RTSP-server--streaming-mp3-files-tp22238774p22572621.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.





More information about the gstreamer-devel mailing list