Expand description
Error concealment for lost or corrupted video frames.
When a video frame is missing due to packet loss, decoding error, or transmission failure, the decoder must produce a substitute frame to maintain temporal continuity. This module provides simple and effective concealment strategies based on reference frame data.
§Strategies
- Frame copy (
conceal_missing_frame): Copies the previous reference frame verbatim. This is the simplest and fastest strategy; effective when motion between frames is small. - Temporal blend (
conceal_blend): Blends between the previous and a fallback (e.g. grey or next available) frame at a configurable ratio. - Motion-compensated (
conceal_motion_compensated): Applies a simple global translation offset to the previous frame, useful when a dominant camera-pan motion is known.
Functions§
- conceal_
blend - Conceal a missing frame by blending
prevwith a background colour. - conceal_
missing_ frame - Conceal a missing frame by copying the previous reference frame.
- conceal_
motion_ compensated - Conceal a missing frame using a constant global motion offset.