Overview
The term Codec is a portmanteau of Coder and Decoder. A codec is the technology or algorithm that compresses (encodes) image and audio data during recording or export, and decompresses (decodes) it during playback. Since uncompressed video data generates extremely large amounts of data, almost every recording, editing process, and delivery on set and in post-production is tied to a codec.
It is important to distinguish between a Codec and a Container (also called a wrapper, e.g., .mov, .mp4, .mxf): The codec determines how the image data is compressed, while the container packages the compressed video, audio, and metadata streams into a file. The same container can contain different codecs depending on its specification.
Intraframe and Interframe
Codecs can be broadly categorized by their compression principle:
- Intraframe (I-Frame / All-Intra): Each individual frame is compressed independently and contains complete image information. This facilitates editing, as each frame can be accessed directly, but it tends to produce larger files. Examples include Apple ProRes and Avid DNxHD/DNxHR.
- Interframe (Long-GOP): Only individual frames are stored completely; for the remaining frames, only the changes from the reference frame are recorded. This results in significantly smaller files with higher computational effort for decoding. Examples include H.264 (AVC) and H.265 (HEVC).
Common Codecs on Set
In professional practice, codecs are broadly distinguished between recording/editing (mezzanine or editing codecs) and delivery (delivery codecs).
| Codec | Type | Typical Use |
|---|
| Apple ProRes | Intraframe, DCT-based | Recording, Editing, Mastering, Festival/Broadcast Delivery |
| Avid DNxHD / DNxHR | Intraframe | Recording and Editing (especially Avid workflows) |
| H.264 (AVC) | Interframe (Long-GOP) | Web, Broadcast, Distribution, Compact Delivery |
| H.265 (HEVC) | Interframe | Efficient Delivery with Smaller File Sizes |
ProRes was developed by Apple and introduced in 2007. It operates as an intraframe codec based on Discrete Cosine Transform (DCT). ProRes 422 uses 4:2:2 chroma subsampling, while ProRes 4444 works with 4:4:4 chroma subsampling and optionally supports an alpha channel.
Usage on Set
The choice of codec influences storage requirements, latitude for color grading and VFX, and editing speed. For recording and post-production, intraframe codecs like ProRes or DNxHR are usually preferred because they offer more headroom for color correction and compositing and preserve the image losslessly or nearly losslessly. For final delivery, highly compressed interframe codecs like H.264 or H.265 are often used because they produce small, widely compatible files. Relevant parameters include bitrate, bit depth, and chroma subsampling.