What is Motion Compensation?

Motion compensation predicts a video block or frame from previously decoded reference regions shifted according to motion information. Accurate prediction reduces the residual data that must be encoded.

How Motion Compensation works

Motion compensation reconstructs a predicted region by sampling one or more already available reference pictures at positions indicated by transmitted motion information. The decoder adds a coded residual to that prediction when the match is not exact. Fractional-sample interpolation, multiple references, and variable block shapes can improve prediction but add complexity. This stage is central to inter-frame decoding and strongly influences bitrate, artifacts, and error propagation.

Key facts

  1. The encoder searches for useful predictors, but the decoder does not repeat that search; it applies the signaled vectors, reference choices, modes, and residual data.
  2. Bidirectionally predicted pictures may combine references on both temporal sides, yet those references must be decoded earlier according to coding order rather than display order.
  3. Damage to a reference picture can propagate into later compensated pictures until an independent refresh replaces the affected prediction chain or concealment limits it.

When Motion Compensation matters

Rely on motion compensation when temporal redundancy must be reduced for efficient video delivery or storage. More complex prediction can lower bitrate, but it increases encoding work and sensitivity to reference errors.

Turn media knowledge into a working pipeline

Connect uploads, processing, AI, storage, and delivery through one declarative API — with the encoding stack, scaling, and format churn handled for you.

Try Transloadit for free