Gstreamer error

I am getting the following error sometimes when I run deepstream object detection with rtsp as sources.

WARNING from src_elem1: Could not write to resource.
Debug info: gstrtspsrc.c(4884): gst_rtspsrc_send_keep_alive (): /GstPipeline:pipeline/GstBin:multi_src_bin/GstBin:src_sub_bin1/GstRTSPSrc:src_elem1:
Could not send keep-alive. (System error)
**PERF: Killed

What does this mean and how to resolve this ?

And sometimes I get the following error and the app gets killed.Kindly help to resolve these issues.

WARNING from sink_sub_bin_sink1: A lot of buffers are being dropped.
Debug info: gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/GstEglGlesSink:sink_sub_bin_sink1:
There may be a timestamping problem, or this computer is too slow.
WARNING from sink_sub_bin_sink1: A lot of buffers are being dropped.
Debug info: gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/GstEglGlesSink:sink_sub_bin_sink1:
There may be a timestamping problem, or this computer is too slow.


** INFO: <bus_callback:214>: Received EOS. Exiting ...

Quitting
App run successful
terminate called after throwing an instance of 'std::system_error'
  what():  Invalid argument
Aborted (core dumped)

Hi,
Please ensure you have set ‘live-source=1’ in [streammux]:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_app_config.3.2.html%23wwpID0E0DB0HA

Also in sink group, please try sync=0 and qos=1qos=0:
https://docs.nvidia.com/metropolis/deepstream/dev-guide/index.html#page/DeepStream%2520Development%2520Guide%2Fdeepstream_app_config.3.2.html%23wwpID0ENHA

Can you elaborate upon the meaning of these flags ? I though I should be keeping sync as 1

Hi,
In gstreamer frameworks, there is mechanism of doing synchronization according to frame timestamps. when comparing to TX2/Xavier, Jetson Nano is with less GPU power and if nvinfer plugin takes more time in processing frames, it may block and triggers the warning messages:

WARNING from sink_sub_bin_sink1: A lot of buffers are being dropped.
Debug info: gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/GstEglGlesSink:sink_sub_bin_sink1:
There may be a timestamping problem, or this computer is too slow.
WARNING from sink_sub_bin_sink1: A lot of buffers are being dropped.
Debug info: gstbasesink.c(2902): gst_base_sink_is_too_late (): /GstPipeline:pipeline/GstBin:processing_bin_0/GstBin:sink_bin/GstBin:sink_sub_bin1/GstEglGlesSink:sink_sub_bin_sink1:
There may be a timestamping problem, or this computer is too slow.

We would suggest disable the mechanism on Jetson Nano. There is a similar post:
https://devtalk.nvidia.com/default/topic/1058597/deepstream-sdk/-nano-deepstream-test3-app-not-working-as-expected-for-multiple-video-source/post/5368694/#5368694

‘qos’ is also a mechanism in gstreamer. Please check
https://gstreamer.freedesktop.org/documentation/plugin-development/advanced/qos.html?gi-language=c