Set frame drop in python pipeline

• Hardware Platform (Jetson / GPU) NVIDIA Jetson Xavier NX
• DeepStream Version deepstream-app version 6.0.1
DeepStreamSDK 6.0.1

• JetPack Version (valid for Jetson only) # R32 (release), REVISION: 6.1, GCID: 27863751, BOARD: t186ref, EABI: aarch64, DATE: Mon Jul 26 19:36:31 UTC 2021

• TensorRT Versionii libnvinfer-bin 8.2.1-1+cuda10.2 arm64 TensorRT binaries

I have a question regarding Python bindings. I want to set the drop-frame-interval property but I’m not sure on which element.

Also, the latency property from the RTSP source.

You can set drop-frame-interval on nvv4l2decoder to drop some frames.

Is there any example of using nvv4l2decoder for Python bindings? Or is there any way to set it also for uridecodebin?

Just like other plugins of gstreamer.
Such as

nvv4l2decoder = Gst.ElementFactory.make("nvv4l2decoder", "nvv4l2-decoder")
nvv4l2decoder.set_property('drop-frame-interval', 5)

You can use urisourcebin ! queue ! parsebin ! nvv4l2decoder replace uridecoderbin for your usage scenario

1 Like

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