
The word is a portmanteau of coder-decoder, and is also sometimes expanded as compressor-decompressor. It is not a true acronym, because the letters do not stand for a fixed sequence of words. In practice, it is software or hardware that compresses raw audio or video into a smaller bitstream and later reconstructs that bitstream for playback or editing.
Without that compression, high-resolution video would be impractical to store or send. A minute of uncompressed 1080p video at 30 frames per second can run to many gigabytes.
How Compression Works
Most designs exploit two kinds of redundancy in the source:
- Spatial compression. Nearby pixels in a single frame are often similar. The encoder can discard fine detail that is less visible to the eye, especially at lower bitrates.
- Temporal compression. Consecutive frames are often nearly identical. The encoder stores a complete key frame, then records only the differences in the frames that follow, often with motion compensation.
The bitrate, together with the chosen profile, controls how much detail is kept. Higher bitrates and more capable profiles preserve more of the original image at the cost of larger files. Most formats used for delivery are lossy: the reconstructed frames are not a perfect copy of the source.
Intra-Only and Inter-Frame Designs
An inter-frame design, such as H.264/AVC or HEVC, saves space by predicting frames from their neighbors. That is efficient for streaming and download, but it makes frame-accurate editing and repeated re-encoding harder.
An intra-only design codes every frame on its own. Files are much larger, yet scrubbing, trimming, and multiple decode-and-re-encode passes stay clean. Samsung’s APV codec, published as RFC 9924 and supported in Android 16, is built for that recording and post-production role and aims for visually lossless quality.
Common Video Families
A small set of standard families covers most recording, editing, and delivery work today.
| Family | Also Known As | Typical Role |
| H.264 / AVC | Finalized in 2003 by the ITU-T and MPEG | Universal playback on nearly every device |
| HEVC | H.265, finalized in 2013 | More efficient delivery of 4K and HDR video, at roughly half the bitrate of H.264 |
| APV | Advanced Professional Video, RFC 9924 | Visually lossless, intra-only recording and editing, including on the Galaxy S26 Ultra |
Codec Versus Container
A container, such as an MP4 file, is a wrapper that can hold video, audio, and metadata together. The container is not the compression format. Two files with the same extension can use different compression families, and a player must support the family inside the file, not only the extension.
Tools such as FFmpeg can encode and decode many families, which is why they are common in conversion and playback workflows.
Choosing a Format
- Compatibility. H.264 / AVC remains the safest choice when a file must play everywhere.
- Efficiency. HEVC (and other newer delivery families) can cut bitrate substantially at similar quality, but device and licensing support vary.
- Editing quality. An intra-only, visually lossless family such as APV keeps more of the original image for color grading and finishing, at the cost of much larger files.