How to parse four rtsp streams in real time?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson)
• DeepStream Version:6.0
• JetPack Version (valid for Jetson only):4.6
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I pull four rtsp streams from camers, the camers’s frame rate is 25, so the ideal output frame rate is about 8 when I set ‘drop-frame-interval = 3’.
The deepstream parse in real time when the frame rate is 8, but deepstream parse about three seconds ago frame when the real frame rate drop to 4.
The streammux setting is as following.
1717037574720

How to fix it?
I appreciate you reply, thank you.

  1. which sample are you testing or referring to? what is the whole media pipeline?
  2. about “The deepstream parse in real time when the frame rate is 8”, do you mean the output video has no delay?
  3. about “deepstream parse about three seconds ago frame when the real frame rate drop to 4”, why did real frame rate drop to 4? do you mean the output video has three seconds delay?

1、I use deepstream-app bin file. The whole pipeline is:
four rtsp camers → streammux → primary detect → track → second classification(vehice type + vehicle color) → osd → rtsp sink

2、The camers have no delay.
The camer’s frame rate is 25 and I set ‘drop-frame-interval = 3’ in sorce setting. such as:
image
So the real frame is about 8.

3、I think deepstream drop frame in streammux plugin but I am not sure.
I also want to know why frame rate is not 8?

  1. deepsream-app code is opensource. drop-frame-interval will be set to decoder.
  2. if drop-frame-interval is set, you need to correct nvstreammux 's batched-push-timeout because. batched-push-timeout = 1/max_fps = 1000000/8=125000, please set it to 125000. please refer to the doc.
  3. how do you know frame rate is not 8? could you share some logs? Thanks!

2、OK, I set it and test.

3、The deepstream-app’s log will show the frame rate.

Sorry for the late reply, Is this still an DeepStream issue to support? Thanks!

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

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