A "frame" refers to a single still image in a sequence of images that, when played back in rapid succession, creates the illusion of motion. Videos are essentially a series of frames displayed at a specific frame rate (measured in frames per second or fps). Each frame contains visual information captured at a particular point in time, and the consecutive frames together create the perception of continuous motion. There are three types of frame: I-frame, P-frame and B-frame.
I-frame stands for Intra-frame, they have all the visual data required for an independent reconstruction of an image. I-Frames are inserted throughout a video stream to enable random access and serve as essential beginning points for decoding and editing.
P-Frames or predicted frame, optimise data storage by storing only the differences (motion vectors) between the referenced frames and the current frame. P-Frames are inserted between I-Frames, effectively convey changes in successive frames, lowering bit rates overall and redundancy.
B-Frames or Bi-directional optimise compression by reconstructing using information from both previous and subsequent frames. The motion vectors that represent the differences between the current frame and previous and future frames are stored by them. Through the reduction of redundancy and the conservation of bandwidth in video streams, this bidirectional approach further improves compression efficiency.
We’ve put together valuable insights in the form of blogs and guides. Check’m out