<div dir="ltr">Hello,<br><br>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).<br>I can see the video during 10 - 15 min but then it freezes.<br><br><font face="monospace, monospace">$ GST_DEBUG=4 gst-launch-1.0 rtspsrc short-header=TRUE location=rtsp://x.x.x.x/h264.sdp ! decodebin ! cluttersink</font><br><br>The error is :<div><br></div><div><div><font face="monospace, monospace">6:26.067157985 17513      0x41d7de0 WARN                 rtspsrc gstrtspsrc.c:4366:gst_rtspsrc_send_keep_alive:<rtspsrc0> warning: Could not send keep-alive. (System error)</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">0:16:26.067261739 17513      0x41d7de0 WARN                 rtspsrc gstrtspsrc.c:4705:gst_rtspsrc_loop_udp:<rtspsrc0> warning: The server closed the connection.</font></div><div><font face="monospace, monospace">WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not write to resource.</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">Additional debug info:</font></div><div><font face="monospace, monospace">gstrtspsrc.c(4366): gst_rtspsrc_send_keep_alive (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</font></div><div><font face="monospace, monospace">Could not send keep-alive. (System error)</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.</font></div><div><font face="monospace, monospace">Additional debug info:</font></div><div><font face="monospace, monospace">gstrtspsrc.c(4705): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</font></div><div><font face="monospace, monospace">The server closed the connection.</font></div><div><font face="monospace, monospace">0:16:41.155956291 17513      0x41d7de0 WARN                 rtspsrc gstrtspsrc.c:4718:gst_rtspsrc_loop_udp:<rtspsrc0> warning: Unhandled return value -7.</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">0:16:41.156021013 17513      0x41d7de0 WARN                 rtspsrc gstrtspsrc.c:4789:gst_rtspsrc_loop_udp:<rtspsrc0> error: Could not receive message. (System error)</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">0:16:41.156047526 17513      0x41d7de0 WARN                 rtspsrc gstrtspsrc.c:5075:gst_rtspsrc_loop:<rtspsrc0> error: Internal data flow error.</font></div><div><font face="monospace, monospace">0:16:41.156051968 17513      0x41d7de0 WARN                 rtspsrc gstrtspsrc.c:5075:gst_rtspsrc_loop:<rtspsrc0> error: streaming task paused, reason error (-5)</font></div><div><font face="monospace, monospace">WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.</font></div><div><font face="monospace, monospace">0:16:41.156059894 17513      0x41d7de0 INFO        GST_ERROR_SYSTEM gstelement.c:1835:gst_element_message_full:<rtspsrc0> posting message: Internal data flow error.</font></div><div><font face="monospace, monospace">Additional debug info:</font></div><div><font face="monospace, monospace">gstrtspsrc.c(4718): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</font></div><div><font face="monospace, monospace">Unhandled return value -7.</font></div><div><font face="monospace, monospace">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.</font></div><div><font face="monospace, monospace">ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.</font></div><div><font face="monospace, monospace">Additional debug info:</font></div><div><font face="monospace, monospace">gstrtspsrc.c(4789): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:</font></div><div><font face="monospace, monospace">Could not receive message. (System error)</font></div></div><div><br></div><div><br><br>The full output is here : <a href="http://pastebin.com/dkbt5ng5">http://pastebin.com/dkbt5ng5</a><br><br>I am using ubuntu 15.04 (64bits)<br><font face="monospace, monospace">$ gst-launch-1.0 --version<br>gst-launch-1.0 version 1.4.5<br>GStreamer 1.4.5<br><a href="https://launchpad.net/distros/ubuntu/+source/gstreamer1.0">https://launchpad.net/distros/ubuntu/+source/gstreamer1.0</a><br></font><br><br>Is there any property of rtspsrc that I could set to avoid this problem?<br><br>Thank you.<br><br>Best regards,<br><br>Erwan</div></div>