← GlossaryGlossary

Codec

The algorithm that compresses and decompresses video data. For filmmakers, codec choice affects quality, file size, editing performance, and long-term archive compatibility.

Palm-lined coastal street
Street · PalmsA palm-lined coastal street busy with traffic below the hills.
Jacaranda-lined city street
Street · BloomA city street under blooming purple jacaranda trees.
Seaside promenade with parked cars
Street · SeasideA seaside promenade lined with parked cars and palms.
Roadside scene at dusk
Street · DuskVehicles gathered on a roadside under a warm dusk sky.

Codec vs. container

Codec is the compression algorithm: H.264, H.265, ProRes, BRAW, REDCODE. Container is the wrapper that holds the video, audio, and metadata streams: MP4, MOV, MKV, MXF, AVI. A single container can hold multiple codecs. An MP4 file might contain H.264 video or H.265 video.

Common codecs

CodecTypeUse CaseFile Size
H.264Lossy, inter-frameDelivery, web, mobileSmall
H.265/HEVCLossy, inter-frame4K delivery, streamingSmaller than H.264
ProRes 422Lossy, intra-frameEditing, intermediateLarge
BRAWRAW, intra-frameBlackmagic camerasVery large
REDCODERAW, waveletRED camerasVery large

Intra-frame vs. inter-frame

Intra-frame codecs (ProRes, BRAW, DNxHD) compress each frame independently. Every frame is a complete image — ideal for editing. Inter-frame codecs (H.264, H.265) store only the differences between frames. Smaller file sizes, but harder on the CPU during editing.