Does nvv4l2decoder support decoding I-frame only?

I have a H.264 RTSP stream. The GOP of H.264 encoding is 10 - there is an I-frame in every 10 frames. Does nv4l2decoder support of parsing the stream and decoding I-frame only without having to decoding every frame?

If yes, does it mean nv4l2decoder can decode 10x number of streams at 1/10 frame rate?
For example, if nv4l2decoder can decode 10 streams @ 1080p, 30fps with all frame decoding, with I-frame decoding only, it can decode 100 streams @ 1080p, 3fps.

You may configure the property in nvv4l2decoder and give it a try:

  skip-frames         : Type of frames to skip during decoding
                        flags: readable, writable, changeable in NULL, READY, PAUSED or PLAYING state
                        Enum "SkipFrame" Default: 0, "decode_all"
                           (0): decode_all       - Decode all frames
                           (1): decode_non_ref   - Decode non-ref frames
                           (2): decode_key       - decode key frames

We have sample config for 8 1080p30 sources on Jetson Nano:


Suggest you run this first.

@DaneLLL, thanks for help. Where can I find the sample code or example design with skip-frame for nvv4l2decoder?

You may go to
and run

$ deepstream-app -c source8_1080p_dec_infer-resnet_tracker_tiled_display_fp16_nano.txt

And modify interval=4 to different values for a try.