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 753884 - rtspsrc: issue to play rtsp stream of arecont IP camera (freeze after 10 - 15 min)
rtspsrc: issue to play rtsp stream of arecont IP camera (freeze after 10 - 15...
Status: RESOLVED OBSOLETE
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
1.5.90
Other Linux
: Normal normal
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-08-20 15:05 UTC by e.jezequel
Modified: 2018-11-03 15:03 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
output (176.60 KB, text/plain)
2015-08-20 15:05 UTC, e.jezequel
Details

Description e.jezequel 2015-08-20 15:05:36 UTC
Created attachment 309731 [details]
output

I have an issue playing a rtsp stream from an IP camera (arecont AV2105DN). I have no issue with other camera (axis ones for instance).
I can see the video during few minutes but then it freezes.

I have created this publically accessible stream for reproducing
this problem rtsp://84.253.5.178:554/h264.sdp .

The issue is :

0:17:02.170552131 10146       0xd25450 WARN                 rtspsrc gstrtspsrc.c:4716:gst_rtspsrc_send_keep_alive:<rtspsrc0> warning: Could not send keep-alive. (System error)
0:17:02.170597194 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<rtspsrc0> posting message: Could not write to resource.
0:17:02.170631162 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<rtspsrc0> posted warning message: Could not write to resource.
0:17:02.170669829 10146       0xd25450 WARN                 rtspsrc gstrtspsrc.c:5088:gst_rtspsrc_loop_udp:<rtspsrc0> warning: The server closed the connection.
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not write to resource.
0:17:02.170697169 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<rtspsrc0> posting message: Could not read from resource.
Additional debug info:
gstrtspsrc.c(4716): gst_rtspsrc_send_keep_alive (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not send keep-alive. (System error)
0:17:02.170724238 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<rtspsrc0> posted warning message: Could not read from resource.
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5088): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
The server closed the connection.
0:17:19.377075230 10146       0xd25450 WARN                 rtspsrc gstrtspsrc.c:5101:gst_rtspsrc_loop_udp:<rtspsrc0> warning: Unhandled return value -7.
0:17:19.377128949 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<rtspsrc0> posting message: Could not read from resource.
0:17:19.377165327 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<rtspsrc0> posted warning message: Could not read from resource.
0:17:19.377188457 10146       0xd25450 WARN                 rtspsrc gstrtspsrc.c:5172:gst_rtspsrc_loop_udp:<rtspsrc0> error: Could not receive message. (System error)
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
0:17:19.377210946 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<rtspsrc0> posting message: Could not read from resource.
Additional debug info:
gstrtspsrc.c(5101): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Unhandled return value -7.
0:17:19.377242764 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<rtspsrc0> posted error message: Could not read from resource.
0:17:19.377265970 10146       0xd25450 WARN                 rtspsrc gstrtspsrc.c:5460:gst_rtspsrc_loop:<rtspsrc0> error: Internal data flow error.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.
0:17:19.377282011 10146       0xd25450 WARN                 rtspsrc gstrtspsrc.c:5460:gst_rtspsrc_loop:<rtspsrc0> error: streaming task paused, reason error (-5)
Additional debug info:
gstrtspsrc.c(5172): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (System error)
0:17:19.377324712 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1837:gst_element_message_full:<rtspsrc0> posting message: Internal data flow error.
Execution ended after 0:17:19.140707049
Setting pipeline to PAUSED ...
0:17:19.377367883 10146       0xd25450 INFO        GST_ERROR_SYSTEM gstelement.c:1860:gst_element_message_full:<rtspsrc0> posted error message: Internal data flow error.


The full output is attached.

The command line that I use is :
$ GST_DEBUG=4 ./gst-launch-1.0 rtspsrc latency=10000 location=rtsp://84.253.5.178:554/h264.sdp ! decodebin ! autovideosink

I am using ubuntu 15.04 (64bits)
I am using the GIT master version of gstreamer that I have compiled.

I have the same issue with the package version of gstreamer from ubuntu.
Comment 1 Tim-Philipp Müller 2015-08-20 16:43:14 UTC
Let's move this to rtspsrc for now.

I can't access the stream (it TCP connects, but no response from the server, so it then errors out because it can't get the SDP).
Comment 2 e.jezequel 2015-08-21 06:42:42 UTC
I have checked the stream now and it does work :

GST_DEBUG=4 ./gst-launch-1.0 rtspsrc latency=1000 location=rtsp://84.253.5.178:554/ ! decodebin ! autovideosink


You may have to retry several time before getting, I have idea why.
I have NAT to exposed the stream publicly, I may have forgotten some ports?

With vlc (cvlc -vv rtsp://84.253.5.178:554/) it works directly.
Comment 3 Tim-Philipp Müller 2015-08-26 10:48:15 UTC
The stream seems to somewhat work now in VLC (picture comes up, lots of warnings).

With GStreamer (master and 1.4) it errors out after timing out waiting to receive a response to the OPTIONS request. Guess this needs to be investigated first.
Comment 4 e.jezequel 2015-08-26 12:01:36 UTC
Can I help doing something?
When I try in Gstreamer, I need to execute the command several times before getting a video displayed.
Comment 5 GStreamer system administrator 2018-11-03 15:03:21 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/issues/213.