Lag in RTSP streams in new deepstream

Please provide complete information as applicable to your setup.

**• Jetson AGX Orin
**• Deepstream 6.2
• JetPack Version 5.1
• Lag in RTSP stream
**• Run multiple apps in parallel. **

HI I am running several application we have made inhouse. They essentially use two yolov5s models and two yolov5n models and a lightweight classifier along with two OCR. Between the two applications these are the models and what we found was that the RTSP stream on one of the apps lagged. Sometimes the first one lagged sometimes the second one. Do you have a solution so that we can prevent such lags please

Also note that the same app was working fine on a jetson AGX with deepstream 6.0

Have you monitored the GPU and CPU usage with all these apps running at the same time?

Yes, we have monitored it. The CPU usage was about 1-10% and GPU was about 0 - 50% when there is no OCR. When apps are were doing OCR, GPU will be up to 99%.

Please optimize the OCR performance.

After removing OCR, GPU usage was below 80% and CPU usage was about 0-15%. But apps still have RTSP lag.

What is the source and sink of the pipeline? Have you measured the FPS with fakesink?

Hi, we use mp4 video as a source and we have fakesink by default. For FPS, one apps has 8 fps and another app has 19 fps. Both apps have the same fps as the input videos.

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

So there is no lag with fakesink, right?

If so, please check the encoder performance and latency. DeepStream SDK FAQ - Intelligent Video Analytics / DeepStream SDK - NVIDIA Developer Forums

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