Please provide complete information as applicable to your setup.
• Hardware Platform (Jetson / GPU) GPU
• DeepStream Version 5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version n/a
• NVIDIA GPU Driver Version (valid for GPU only) 440.64
I’m using deepstream 5.0 python version to process multiple RTSP streams, and running into some issue.
The processing fps (calculated by get_fps in GETFPS class every 5 seconds) dropped to a very low value like 0.2 after a while. The more streams the source has, the shorter time the fps drops to 0.2. This could be due to my application need to save some frames into video clips during the callback function tiler_sink_pad_buffer_probe(), it may take too much time to interfere the pipeline.
The question is how it interfere the pipeline, what is the requirement for the callback execution time.
If I only keep a minimum processing in the callback function, take out the saving frames into video clips to other thread or asynchronous function, what is the best way to do so?
What is the usual way to handle such scenario when the callback function needs a lot of time to execute?