Frametype
Frametype, or frame type, is a descriptor used in digital video to identify how a particular frame was encoded and how it can be reconstructed. In most lossy video codecs, frames are categorized as intra-coded frames (I-frames), predicted frames (P-frames), and bi-directionally predicted frames (B-frames). I-frames contain a complete image and do not require other frames to be decoded. P-frames store only differences from a preceding reference frame, allowing compression by referencing past data. B-frames are encoded using references from both past and future frames, achieving higher compression at the cost of additional decoding delay and buffering.
Frame type affects decoding and access: I-frames can be decoded independently, while P- and B-frames need one
In practice, frametype is indicated in the video bitstream via a header or syntax element and is
Frametype is a fundamental concept in video encoding, streaming, and editing, enabling efficient compression while preserving