What is Video Decoding?
Video decoding reconstructs displayable frames from a compressed video bitstream. It parses codec syntax, reverses prediction and transforms, and may execute in software or dedicated hardware.
How Video Decoding works
After a demuxer extracts an elementary video stream from its container, the decoder parses the stream’s coded units, reconstructs prediction references, and outputs frames in presentation order. Because coded order can differ from display order, timestamps and reorder buffers are part of the operation. Hardware blocks can accelerate supported codec profiles, while software paths offer broader flexibility at greater compute cost. Decoding occurs after retrieval and demuxing but before color conversion, compositing, and display.
Key facts
- 1A decoder needs codec configuration such as parameter sets or an initialization record before dependent samples; missing or mismatched setup data can make every segment unreadable.
- 2Hardware support is specific to codec profile, level, bit depth, and chroma format, so recognizing the codec family alone does not guarantee accelerated playback.
- 3Predicted pictures may be stored in a different order from presentation; confusing decode and presentation timestamps causes visible frame reordering and audiovisual drift.
When Video Decoding matters
Confirm decoder availability and performance before selecting a delivery codec for target devices. Software fallback can increase CPU use and battery drain, while unsupported profiles can prevent playback entirely.