After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 684061 - rtsp: error: Could not receive message (Parse error)
rtsp: error: Could not receive message (Parse error)
Status: RESOLVED INCOMPLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-base
1.x
Other Linux
: Normal normal
: NONE
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2012-09-15 01:45 UTC by jake snake
Modified: 2014-11-24 14:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
packet capture of RTSP stream that errors out (255.85 KB, application/octet-stream)
2012-09-15 10:50 UTC, jake snake
Details
Output gstreamer 1.0 with debugging info (271.55 KB, text/plain)
2012-10-02 18:28 UTC, jake snake
Details

Description jake snake 2012-09-15 01:45:01 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.
Comment 1 jake snake 2012-09-15 10:50:47 UTC
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.
Comment 2 Tim-Philipp Müller 2012-10-02 17:58:11 UTC
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.
Comment 3 jake snake 2012-10-02 18:28:23 UTC
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
Comment 4 Wim Taymans 2013-06-26 13:12:52 UTC
Could you retest with latest git, things changed quite a bit?
Comment 5 Tim-Philipp Müller 2014-11-24 14:07:48 UTC
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!