Can drop-frame-interval in nvv4l2decoder be used to control RTSP stream FPS?

I’m working on a DeepStream pipeline with an RTSP input source running at 30 FPS. I want to reduce the processing FPS to 5. I’m aware of using the videorate element for frame dropping, but I came across the drop-frame-interval property in the nvv4l2decoder.

There’s very little documentation on how exactly drop-frame-interval works.

  • Can nvv4l2decoder drop-frame-interval be used to control the effective FPS from an RTSP source?
  • If yes, how exactly does it drop the frames?
  • Is it a recommended alternative to using videorate in production?

Would appreciate any technical insight or references.

Thanks!

inception

nvv4l2decoder drop-frame-interval only control the output frames from nvv4l2decoder. The RTSP stream itself will not be changed by the video decoder.

As the Gst-nvvideo4linux2 — DeepStream documentation says, the nvv4l2decoder drop output frames. E.G. a value of 5 means the decoder outputs every fifth frame, and others are dropped.

Both of them are fine if your RTSP stream can generate the stream with constant FPS.

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.