GNOME Bugzilla – Bug 684061
rtsp: error: Could not receive message (Parse error)
Last modified: 2014-11-24 14:07:48 UTC
Trying to stream h264 video from security camera. Windows software provided with camera is able to play stream continuously without exiting. Using gstreamer on linux, stream exits after varying periods of time with the following: gst-launch rtspsrc location=rtsp://192.168.123.123:554/mpeg4 protocols=tcp ! rtph264depay ! filesink location=test.stream Setting pipeline to PAUSED ... Pipeline is live and does not need PREROLL ... Setting pipeline to PLAYING ... New clock: GstSystemClock 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 90330769293 ns. Setting pipeline to PAUSED ... Setting pipeline to READY ... Setting pipeline to NULL ... Freeing pipeline ... Thanks for looking, and apologies in advance if its something obvious.
Created attachment 224391 [details] packet capture of RTSP stream that errors out This is a wireshark packet capture during which gstreamer exits. I had initially tried to upload the full 40M packet capture but the attachment didn't appear after the bug was submitted. This capture has much of the video content removed to reduce filesize.
You can pass debug=1 to rtspsrc for more debugging output. Also, a GST_DEBUG=rtsp*:6 debug log would be helpful. Preferably with GStreamer 1.0.
Created attachment 225608 [details] Output gstreamer 1.0 with debugging info Thanks again for the help. Command: GST_DEBUG=rtsp*:6 gst-launch-1.0 -v rtspsrc debug=1 location=rtsp://192.168.1.102:554/mpeg4 protocols=tcp ! rtph264depay ! filesink location=new.stream
Could you retest with latest git, things changed quite a bit?
Closing this bug report as no further information has been provided. Please feel free to reopen this bug if you can provide the information asked for. Thanks!