Skip frame


I try to run my appliacation on DeepStream with script:

gst-launch-1.0 filesrc location=/home/jetson/nampq/MaskRCNN/2019-11-24_14-00-00_cam_1.mp4 !
decodebin ! m.sink_0 nvstreammux name=m batch-size=1 width=1280
height=720 ! nvinfer config-file-path=$1 !
nvvideoconvert ! nvdsosd ! nvegltransform ! nveglglessink sync=false

I want to skip some frame to reduce running time.
What is variable that I need to add on script?


if I understood well your needs you are looking for a param that is called “interval”, you have to set it in your pgie config file, for example If you set interval = 2 you’ll get an inference every two frame.


Hi Ric,

Thanks you for comment, my issue is sloved. :D

1 Like

you’re welcome