Why Smart Record video start with pframe?

Please provide complete information as applicable to your setup.

• Hardware Platform (Jetson / GPU) Jetson
• DeepStream Version DeepStream-5.0
• JetPack Version (valid for Jetson only)
• TensorRT Version 7.1.3
• NVIDIA GPU Driver Version (valid for GPU only)
As in the documents :" In smart record, encoded frames are cached to save on CPU memory. Based on the event, these cached frames are encapsulated under the chosen container to generate the recorded video. This means, the recording cannot be started until we have an Iframe. The first frame in the cache may not be an Iframe, so, some frames from the cache are dropped to fulfil this condition. This causes the duration of the generated video to be less than the value specified". But some video I encountered begin with pframe . Is this a bug or i have to enable this function somewhere

What document?

This is not a bug. The more p frame and b frame, the better compression rate and the worse for staring the video in anytime. It is the feature of many compression standards. https://www.iso.org/obp/ui/#iso:std:iso-iec:14496:-10:en, ISO - ISO/IEC 23008-2:2020 - Information technology — High efficiency coding and media delivery in heterogeneous environments — Part 2: High efficiency video coding, https://www.iso.org/standard/39259.html,.

what imean is the document said "the recording cannot be started until we have an Iframe " but the recording ís start with pframe . Can you explaint this to me ?