issue to play rtsp stream of arecont IP camera (freeze after 10 - 15 min)
Jezequel, Erwan
e.jezequel at fondation-parkings.ch
Tue Aug 18 02:05:55 PDT 2015
Hello,
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 10 - 15 min but then it freezes.
$ GST_DEBUG=4 gst-launch-1.0 rtspsrc short-header=TRUE
location=rtsp://x.x.x.x/h264.sdp ! decodebin ! cluttersink
The error is :
6:26.067157985 17513 0x41d7de0 WARN rtspsrc
gstrtspsrc.c:4366:gst_rtspsrc_send_keep_alive:<rtspsrc0> warning: Could not
send keep-alive. (System error)
0:16:26.067198053 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1835:gst_element_message_full:<rtspsrc0> posting message:
Could not write to resource.
0:16:26.067232080 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1858:gst_element_message_full:<rtspsrc0> posted warning
message: Could not write to resource.
0:16:26.067261739 17513 0x41d7de0 WARN rtspsrc
gstrtspsrc.c:4705:gst_rtspsrc_loop_udp:<rtspsrc0> warning: The server
closed the connection.
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
write to resource.
0:16:26.067285457 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1835:gst_element_message_full:<rtspsrc0> posting message:
Could not read from resource.
Additional debug info:
gstrtspsrc.c(4366): gst_rtspsrc_send_keep_alive ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not send keep-alive. (System error)
0:16:26.067311522 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1858: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(4705): gst_rtspsrc_loop_udp ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
The server closed the connection.
0:16:41.155956291 17513 0x41d7de0 WARN rtspsrc
gstrtspsrc.c:4718:gst_rtspsrc_loop_udp:<rtspsrc0> warning: Unhandled return
value -7.
0:16:41.155982715 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1835:gst_element_message_full:<rtspsrc0> posting message:
Could not read from resource.
0:16:41.156003055 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1858:gst_element_message_full:<rtspsrc0> posted warning
message: Could not read from resource.
0:16:41.156021013 17513 0x41d7de0 WARN rtspsrc
gstrtspsrc.c:4789:gst_rtspsrc_loop_udp:<rtspsrc0> error: Could not receive
message. (System error)
0:16:41.156030073 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1835:gst_element_message_full:<rtspsrc0> posting message:
Could not read from resource.
0:16:41.156039470 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1858:gst_element_message_full:<rtspsrc0> posted error message:
Could not read from resource.
0:16:41.156047526 17513 0x41d7de0 WARN rtspsrc
gstrtspsrc.c:5075:gst_rtspsrc_loop:<rtspsrc0> error: Internal data flow
error.
0:16:41.156051968 17513 0x41d7de0 WARN rtspsrc
gstrtspsrc.c:5075:gst_rtspsrc_loop:<rtspsrc0> error: streaming task paused,
reason error (-5)
WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
read from resource.
0:16:41.156059894 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1835:gst_element_message_full:<rtspsrc0> posting message:
Internal data flow error.
Additional debug info:
gstrtspsrc.c(4718): gst_rtspsrc_loop_udp ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Unhandled return value -7.
0:16:41.156080883 17513 0x41d7de0 INFO GST_ERROR_SYSTEM
gstelement.c:1858:gst_element_message_full:<rtspsrc0> posted error message:
Internal data flow error.
ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not
read from resource.
Additional debug info:
gstrtspsrc.c(4789): gst_rtspsrc_loop_udp ():
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:
Could not receive message. (System error)
The full output is here : http://pastebin.com/dkbt5ng5
I am using ubuntu 15.04 (64bits)
$ gst-launch-1.0 --version
gst-launch-1.0 version 1.4.5
GStreamer 1.4.5
https://launchpad.net/distros/ubuntu/+source/gstreamer1.0
Is there any property of rtspsrc that I could set to avoid this problem?
Thank you.
Best regards,
Erwan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20150818/c7279f2c/attachment-0001.html>
More information about the gstreamer-devel
mailing list