Skip to content
BENIBIX Learn

Video Codec

Design🎞️ Motion & VideoVideo Editing

Also known as Codec, Video Compression Format, Video Encoder

A way to shrink video so it can be sent. It opens it up again to play.

Think of it like

It is like folding clothes to fit a suitcase. You pack them small, then unfold them at the other end.

Example

YouTube suggests H.264 in an MP4 file. Packed this way, a 10-minute HD clip fits in about 600 megabytes.

Why it matters

The codec decides the file size, the quality and which devices can play it. The wrong one can make a file fail to open.

Definition

A video codec is a method for shrinking video and playing it back. Raw video is huge, so the codec throws away detail the eye will not miss. It also stores only what changes from frame to frame. To play the file, the same codec unpacks it. Common codecs are H.264, H.265 and AV1. The file type, like MP4, is only the box the video sits in.
The codec is the funnel: many raw frames go in and one small file comes out.

Common mistake

Mixing up the codec with the file type. One MP4 file can hold different codecs inside.

Key takeaways

  1. 1
    Shrinks video. Drops detail the eye misses.
  2. 2
    Codec in a box. MP4 is the box, not the codec.
  3. 3
    Both ends. Packing and playing need the same codec.

Compare