Emby Emby Emby Learn
  • Emby Home
  • Video
  • Audio
  • Media Files
    • Subtitles and captions
    • Photos and images
    • Metadata and discovery
    • Libraries and media collections
    • Playback and streaming
    • Media hardware acceleration
    • Displays and AV connections
    • Live TV and recording
  1. Emby Learn
  2. Video
  3. Video compression
  4. Picture prediction and random access
  5. Intra-frame compression
Search Results for

    Show / Hide Table of Contents

    Intra-Frame Video Compression

    Intra-frame compression represents a picture using information from within that picture rather than other pictures.

    A picture can be compressed efficiently even when no earlier picture is available. Intra-frame compression finds useful structure within that picture: similar neighboring samples, continuing edges, and patterns that can be represented compactly.

    Predict a block from its boundary

    In a common block-based codec, some regions have already been reconstructed while the next block is still being decoded. Suppose the samples immediately above a four-column block are:

    10, 20, 30, 40.

    A simple vertical predictor extends those values downward:

    10 20 30 40
    10 20 30 40
    10 20 30 40
    10 20 30 40
    

    If the input block's first row is 12, 21, 30, 38, its correction from that prediction is +2, +1, 0, −2.

    The encoder can describe the predictor choice and those relatively small corrections. The decoder constructs the same prediction from its available upper boundary, adds the decoded corrections, and obtains the reconstructed block.

    Original numerical illustration of a directional predictor. It does not specify every mode or coding step of a particular codec.

    A horizontal predictor could instead extend samples from the left boundary. Other modes continue diagonal structures or form a flatter estimate. The encoder chooses a suitable description; the decoder follows the transmitted choice rather than searching for the original camera image.

    Why reconstructed neighbors matter

    The encoder's original boundary samples can differ from the decoded boundary after lossy coding. To keep prediction consistent, the encoder builds its predictor from the reconstruction the decoder will have.

    Both sides then start from the same known samples. Any approximation occurs in the coded correction and related reconstruction operations, rather than through a hidden disagreement about the boundary.

    This creates dependencies within the picture. Intra coding removes sample prediction from other pictures, but it does not imply that every block is decoded in arbitrary order or that a raw block is independently meaningful.

    Not every intra-frame codec uses this exact predictor style. Motion JPEG, for example, emphasizes independent JPEG picture coding. The general property is that picture samples are represented without temporal prediction from another picture.

    Work with independent pictures

    An all-intra video avoids chains that require reconstructing earlier picture samples before a chosen picture. An editor can seek to a picture, read its coded representation, and decode it using the stream's configuration and same-picture rules.

    That is useful for scrubbing, cutting, and assigning complete frames to processing jobs. The source's own picture content is available without a long temporal reconstruction chain.

    The cost is that a nearly unchanged wall has to be described within each new picture again. Temporal prediction can reuse an earlier decoded wall and transmit mainly its changes. Intra-only formats allocate the coding budget differently.

    An intra-coded picture inside an otherwise inter-predicted stream still needs the surrounding access rules interpreted. It can reconstruct its own samples independently, while reordered or following pictures may use references from before it. Random access therefore considers more than the picture's intra coding alone.

    See Also

    • Inter-Frame Video Prediction
    • Video Keyframes and Random Access
    • How Video Compression Works

    References

    • ITU-T H.264: Advanced video coding
    • ITU-T H.265: High efficiency video coding
    • RFC 9043: FFV1 lossless video format
    On this Page
    2026 © EMBY LLC. Please see our terms of use and privacy policy.
    Back to Top