There is no direct relationship between them. “drop-frame-interval” is to control the hardware decoder output frame rate Gst-nvvideo4linux2 — DeepStream 6.1.1 Release documentation, and the “PERF” log is the statistics of the whole performance of the pipeline. The whole performance of the pipeline is decided by all elements in the pipeline but not just the hardware decoder (nvv4l2decoder).
Thank you!
I set the frame rate of the camera to 20,and drop-frame-interval=4.But PERF is 5.
when I set drop-frame-interval=1,PERF=20.
Why do I lose more frames and the frame rate goes down? Shouldn’t it go up? It does less work
Yes, the pipeline does less job but it is because there are less frames in the pipeline. The fact is that there are only 5 frames in the pipeline in every second( the other 15 frames have been dropped but not skipped). So the frame rate is right.
thank you!
I read the document ,and it said:“Interval to drop frames. For example, 5 means decoder outputs every fifth frame; 0 means no frames are dropped.”
So drop-frame-interval=0 ,drop-frame-interval=1 all means no frames are dropped?