Hello,
I’m using Gstreamer for streaming live video from IP camera using RTSP. The pipeline is as follows :
gst-launch-0.10 -v rtspsrc location=“rtsp://192.168.0.220:554/user=admin&password=admin&channel=1&stream=0.sdp?real_stream–rtp-caching=10” latency=10 ! rtph264depay ! h264parse ! nv_omx_h264dec ! ffmpegcolorspace ! xvimagesink -e
The output seems good for some time. Later it stops by its own. Sometimes it takes longer time to stop and sometimes in a minute.
Is it something to do with the network/connectivity ? This is what I get in terminal,
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(3767): gst_rtspsrc_loop_interleaved (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (Parse error)
Execution ended after 369432484633 ns.
Setting pipeline to PAUSED …
TVMR: NvMMLiteTVMRDecDoWork: 4138: NVMMLITE_TVMR: EOS detected
Setting pipeline to READY …
/GstPipeline:pipeline0/GstXvImageSink:xvimagesink0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstFFMpegCsp:ffmpegcsp0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstOmxH264Dec:omxh264dec0.GstPad:sink: caps = NULL
TVMR: TVMRFrameStatusReporting: 3883: Closing TVMR Frame Status Thread -------------
TVMR: TVMRFrameDelivery: 3739: Closing TVMR Frame Delivery Thread -------------
TVMR: NvMMDecTVMRDestroyParser: 4290: NvAvpClose
TVMR: NvMMLiteTVMRDecBlockClose: 5263: Done
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = NULL
/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0.GstGhostPad:recv_rtp_src_0_0_96: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin1.GstGhostPad:recv_rtp_src_0_0_96: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin1.GstGhostPad:send_rtcp_src_0: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin1/GstRtpPtDemux:rtpptdemux0.GstPad:src_96: caps = NULL
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:rtpbin1/GstRtpSession:rtpsession1.GstPad:send_rtcp_src: caps = NULL
Setting pipeline to NULL …
Freeing pipeline …
I hope someone can help me solving the issue.