Live RTSP stream lagging/decoding issues in DeepStream Python app

This is a p frame parameter in your camera settings.
It will stop lagging by increasing you p frame rate. Avoid using any dynamic parameter on the camera as it will drop the fps to almost 3-4 fps.

noticing your RTSP fps is 25fps, what is the perf output when run 4 RTSP? you can find it like this: **PERF: {‘stream0’: 16.19}
this issue should be inference speed is not as fast as RTSP fps, in this case, RTSP receiving element will drop packets if drop-frame-interval is True, you can set drop-frame-interval to False to verify. but setting drop-frame-interval to False is not a good resolution because the latency and memory usage will go up, here are some other methods:

  1. adjust inference interval, for example: pgie.set_property(‘interval’, 2)
  2. add videorate plugin to control frame rate after uridecodebin, please refer to videorate

There is no update from you for a period, assuming this is not an issue any more.
Hence we are closing this topic. If need further support, please open a new one.
Thanks

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.