gstreamer suddenly stops rtsp

Erhan Y. erhan14 at yahoo.com
Mon May 30 09:33:49 UTC 2022


We have hikvision dvr and we use rtsp udp to get streams from the DVR. Gstreamer is working on an embedded ARM based board (NXP i.mx8m).When we start two streams from this embedded board and from a PC, the embedded boards stops after 8-10 minutes. But the PC continue running.The error is :0:14:28.863922625   650 0xffff84003e30 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present0:14:28.864027500   650 0xffff84003e30 FIXME           rtph265depay gstrtph265depay.c:1310:gst_rtp_h265_depay_process:<rtph265depay0> Assuming DONL field is not present0:14:29.163059625   650 0xaaaaf9d64050 WARN                 rtspsrc gstrtspsrc.c:5636:gst_rtspsrc_loop_udp:<rtspsrc0> warning: Unhandled return value -7.0:14:29.195225500   650 0xaaaaf9d64050 INFO        GST_ERROR_SYSTEM gstelement.c:2140:gst_element_message_full_with_details:<rtspsrc0> posting message: Could not read from resource.0:14:29.195360375   650 0xaaaaf9d64050 INFO        GST_ERROR_SYSTEM gstelement.c:2167:gst_element_message_full_with_details:<rtspsrc0> posted warning message: Could not read from resource.0:14:29.195405000   650 0xaaaaf9d64050 WARN                 rtspsrc gstrtspsrc.c:5704:gst_rtspsrc_loop_udp:<rtspsrc0> error: Could not receive message. (System error)0:14:29.195453375   650 0xaaaaf9d64050 INFO        GST_ERROR_SYSTEM gstelement.c:2140:gst_element_message_full_with_details:<rtspsrc0> posting message: Could not read from resource.0:14:29.195466500   650 0xffff84003e30 INFO         imxvideoconvert gstimxvideoconvert.c:1416:imx_video_convert_transform_frame:<imxvideoconvert_g2d0> buffer modifier type 00:14:29.195514250   650 0xaaaaf9d64050 INFO        GST_ERROR_SYSTEM gstelement.c:2167:gst_element_message_full_with_details:<rtspsrc0> posted error message: Could not read from resource.0:14:29.195557500   650 0xaaaaf9d64050 WARN                 rtspsrc gstrtspsrc.c:6056:gst_rtspsrc_loop:<rtspsrc0> error: Internal data stream error.WARNING: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.0:14:29.195584500   650 0xaaaaf9d64050 WARN                 rtspsrc gstrtspsrc.c:6056:gst_rtspsrc_loop:<rtspsrc0> error: streaming stopped, reason error (-5)Additional debug info:../../../git/gst/rtsp/gstrtspsrc.c(5636): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:Unhandled return value -7.0:14:29.195636875   650 0xaaaaf9d64050 INFO        GST_ERROR_SYSTEM gstelement.c:2140:gst_element_message_full_with_details:<rtspsrc0> posting message: Internal data stream error.0:14:29.195694625   650 0xaaaaf9d64050 INFO        GST_ERROR_SYSTEM gstelement.c:2167:gst_element_message_full_with_details:<rtspsrc0> posted error message: Internal data stream error.ERROR: from element /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0: Could not read from resource.Additional debug info:../../../git/gst/rtsp/gstrtspsrc.c(5704): gst_rtspsrc_loop_udp (): /GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0:Could not receive message. (System error)Execution ended after 0:14:20.8158076250:14:29.195872500   650 0xffff98036b20 INFO                    task gsttask.c:314:gst_task_func:<udpsrc1:src> Task resume from pausedSetting pipeline to PAUSED ...
Our pipeline is:gst-launch-1.0 rtspsrc location=\"rtsp://admin:Fotoniks2010@192.168.1.64:554/ch1/main/av_stream\" latency=0 ! rtph265depay ! vpudec ! autovideosink sync=false
vpudec is the decoder for i.mx microprosessors.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-embedded/attachments/20220530/6e168d87/attachment.htm>


More information about the gstreamer-embedded mailing list