• Hardware Platform (Jetson / GPU) NVIDIA GeForce RTX 3090 • DeepStream Version 6.3 • JetPack Version (valid for Jetson only) • TensorRT Version 8.4.0 • NVIDIA GPU Driver Version (valid for GPU only) 535.113.01 • Issue Type(questions, new requirements, bugs) questions
Hello,
I have a question.
Interval specifies the number of consecutive, batches to be skipped for inference. Is there anything can I use to skip frames? I am not interested in all frames, I just want to process the pipeline on f1, f6, f11, …, fn.
For simplicity, If I have a video of 100 frames, I want the resultant video/frames to be 100/5 or something. This means the whole pipeline process/uses only 100/5 frames (If I am setting this property to 5).
But, I want to know what is the best practice? When is it better to use videorate and when is it better to use nvurisrcbin? Here I am talking about performance, memory, and applicability.
Both of them did the same thing (As I found), but I am not sure if I am correct.
In my case, I’ll be using rtsp streams which is encoded in H264.
You are right, the two methods are similar if you put the videorate right after video decoder. The only advantage of videorate is that it can switch your streams to any framerate no matter what is your original stream framerate.
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
If your source is H264/H265 streams, it is of no use.
It is better to add videorate right after decodebin. And please refer to videorate (gstreamer.freedesktop.org) to get the right usage of this plugin. It is a common GStreamer open source plugin, there are lots of resources.