Nvv412decoder drap_frame_interval

I am using RTSPsource I want to reduce the pressure on NVIDIA DEC by reducing the frame rate. But I found that modifying the drap_frame_interval of rtspsource cannot reduce any pressure. Then, by directly reducing the frame rate of the camera, the effect can be achieved. Why? is it a bug ?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)

• DeepStream Version

• JetPack Version (valid for Jetson only)

• 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)

  1. dgpu
  2. deepstream6.2
  3. default
  4. default

hi ,i just want to know the operation drap_frame_interval Is before or after decoding?

if want to reduce the pressure on NVIDIA DEC, you can do this:

  1. use Gstreamer framerate to lower fps.
  2. use nvv4l2decoder’s skip-frames property. please refer to the doc.

thank you . yes, i use the drop-frame-interval ,but no use .

As you know, the latter frame’s decoding is dependent on the previous frames. drop-frame-interval means “Interval to drop the frames”, it is a method to drop decoded frame. all frames will still be decoded.

So I’m asking you for advice on how to reduce the frame rate before decoding. I cannot directly change the frame rate of the camera because the customer’s camera does not allow any changes. Do you have a good idea

use Gstreamer framerate to lower fps. , please refer to topic.

I found that the framerate component of gstreamer also works after decoding. I don’t know if I understand it correctly. I want to adjust the frame rate before decoding. Can I do that?

we can’t control the fps of encoded buffers because the latter frame’s decoding is dependent on the previous frames.
you can use nvv4l2decoder’s skip-frames property to reduce decoding pressure. please refer to the doc .

If Iuse nvv4l2decoder’s skip-frames property and want to adjust it to decode 8 frames per second, what should I do?

nvv4l2decoder dose not support decoding with fps control. as you know, dropping frames randomly will cause decoding failure. you can use skip-frames=2, which only decode key frame.

hi,sir


I pulled 40 video streams, all of which were keyframe pulled to save decoding resources. I want to know why the utilization rate of dec items fluctuates? Occasionally, it also reaches 100%. Have he reached the bottleneck yet?

what do you mean about “all of which were keyframe pulled”? how did you get that screenshoot?

I used 40 rtspsources and set skip-frames=2 for all of them

what commandline are using to get the screenshot? what is the GPU device model?

nvidia-smi dmon

what do you mean about device model

noticing you are dgpu, what is the GPU device type? are the 40 rtsp source the same url? what are the media information like resolution and fps?

yes, rtx3070