官方释义:Interval to drop frames. For example, 5 means decoder outputs every fifth frame; 0 means no frames are dropped.
drop-frame-interval=5,意思是每5帧里面解码器输出一帧(相对于pipeline来讲是从sensor输入一帧)。
25fps摄像头输入,perf打印fps的实测效果(第一列为drop··参数的设置值,第二列为fps打印数值):
0,25fps
1,25fps
2,12.5fps
3,8.35fps
4,6.26fps
5,5.1fps
6,4.18fps
7,3.58fps
8,3.12fps
9,2.78fps
10,2.5fps
由此判断,实际fps数值=输入fps数值*(1/drop参数值),0代表不丢帧。
疑问:输入的是哪一帧,不确定。
deepstreamsdk link:https://docs.nvidia.com/metropolis/deepstream/5.0DP/dev-guide/#page/DeepStream_Development_Guide/deepstream_app_config.3.2.html#wwpID0E0XB0HA