How to set fps when reading rtsp stream in deepstream python?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) - Jetson Nano
• DeepStream Version - 6.0.1
• JetPack Version (valid for Jetson only) - 4.6.3
• TensorRT Version - 8.2
• NVIDIA GPU Driver Version (valid for GPU only) - 10.2
• Issue Type( questions, new requirements, bugs)
It’s not an issue, it’s an requirement.
• 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)
how to set fps(10) when reading rtsp streams in deepstream python.

I could not use drop frame interval , because a rtsp stream can have variable fps and we may not know the fps of the rtsp streams.

you can use gstreamer videorate to control the soruce fps. here is a sample:
gst-launch-1.0 rtspsrc location=rtsp:// ! rtph264depay ! h264parse ! queue ! avdec_h264 ! videorate ! ‘video/x-raw,framerate=10/1’ ! fpsdisplaysink

my pipeline is

In above pipeline where to add videorate?

you can debug uridecodebin->videorate->fpsdisplaysink first, then port it to the pipeline.

thank you @fanzh , I will check and let you know.

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

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