H265 decoding reference only frames to reduce load

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU)
Jetson AGX Orin and/or Nano
• DeepStream Version
7.x
• JetPack Version (valid for Jetson only)
6.1
• TensorRT Version
• NVIDIA GPU Driver Version (valid for GPU only)
• Issue Type( questions, new requirements, bugs)
Question
• How to reproduce the issue ? (This is for bugs. Including which sample app is using, the configuration files content, the command line used and other details for reproducing)
• Requirement details( This is for new requirement. Including the module name-for which plugin or for which sample application, the function description)

I’m looking for any options to support a gstreamer pipeline where an original quality h265/h264 stream is saved to disk, while simultaneously decoding as few frames as possible to give a general preview of the stream while minimizing extra cpu load.

I’ve heard of the possibility of decoding only reference frames…is it realistically possible to decode only every Nth reference frame in order to ultimately allow processing of more simultaneous streams?

From DeepStream view, Gst-nvvideo4linux2 — DeepStream documentation supports decode reference frames only by setting “skip-frames” property as 1.

Thanks!

As a follow up, how does skip-frames=2 differ from skip-frames=1 in terms of the number of frames decoded and/or overall load on the decoder? (besides the fact that skip-frames=1 will only work on jetson).
Does skip-frames=1 result in lower overall load than skip-frames=2 on the jetson platform? I guess when I say “lower overall load”, what I really care about here is maximizing the total number of simultaneous streams…

The skip-frames=2 will drop more frames. The skip-frames=1 only drops the frame that is not to be used as a reference.

No. In theory, the skip-frames=2 will result in lower overall load.