rtspsrc: issue to play rtsp stream of arecont IP camera (freeze after 10 - 15 min)
Submitted by e.j..@..ngs.ch
Link to original bug (#753884)
Description
Created attachment 309731
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.
Attachment 309731, "output":
output
Version: 1.5.90