Gstreamer receive live555 rtsp livestream ,but in transform term Gstreamer send rtsp PAUSE message to live555 ,that is stop to report error.

zhang007z zhang007z at gmail.com
Sat Dec 6 04:14:24 PST 2014


I adopt this command as follow:

GST_DEBUG=2 gst-launch-0.10 -v rtspsrc debug=1
location=rtsp://192.168.1.14:554/vs1 ! queue ! rtpjpegdepay ! queue !
jpegdec ! queue ! videorate ! capsfilter caps="video/x-raw-yuv,
format=(fourcc)I420, width=(int)1024, height=(int)768,
framerate=(fraction)25/1" ! queue ! avimux ! filesink location=/tmp/test.avi

//--------------------------------------report
error----------------------------------------//
ERROR: from element
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2: Internal data
flow error.
Additional debug info:
gstbasesrc.c(2625): gst_base_src_loop ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstUDPSrc:udpsrc2:
streaming task paused, reason not-linked (-1)
Execution ended after 524377739 ns.
Setting pipeline to PAUSED ...
Setting pipeline to READY ...
RTSP request message 0x7f995b5f9c90
 request line:
   method: 'PAUSE'
   uri:    'rtsp://192.168.1.14:554/vs1'
   version: '1.0'
 headers:
 body:
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_1_1103355233_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_2145088019_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_1_1103355233_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0.GstGhostPad:recv_rtp_src_0_2145088019_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux1.GstPad:src_97:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer1.GstPad:sink_rtcp:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux1.GstPad:rtcp_src_1103355233:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux1.GstPad:rtcp_sink:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpPtDemux:rtpptdemux0.GstPad:src_96:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink_rtcp:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_src_2145088019:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:rtcp_sink:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession1.GstPad:sync_src:
caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin0/GstRtpSession:rtpsession0.GstPad:sync_src:
caps = NULL
RTSP response message 0x7f995b5f9cd0
 status line:
   code:   '200'
   reason: 'OK'
   version: '1.0'
 headers:
   key: 'CSeq', value: '6'
   key: 'Date', value: 'Sat, Dec 06 2014 06:11:27 GMT'
   key: 'Session', value: '7E2AE0E6'
 body: length 0
RTSP request message 0x7f995b5f9c90
 request line:
   method: 'TEARDOWN'
   uri:    'rtsp://192.168.1.14:554/vs1'
   version: '1.0'
 headers:
 body:
Setting pipeline to NULL ...
Freeing pipeline ...
//-----------------------------------------------------------------------------------------//
Specific errors picture, please see in this mail 's attachment .
Top of the command execution results:(error report)
<http://gstreamer-devel.966125.n4.nabble.com/file/n4669824/commandLine_error.jpg> 
intercept network packages by wireshark:
<http://gstreamer-devel.966125.n4.nabble.com/file/n4669824/wireshark_trim_picture.jpg> 



--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/Gstreamer-receive-live555-rtsp-livestream-but-in-transform-term-Gstreamer-send-rtsp-PAUSE-message-to-tp4669824.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.


More information about the gstreamer-devel mailing list