01
What does a codec actually do?
It removes information a viewer will not miss. Rather than storing every frame in full, it stores one complete frame and then describes what changed in the frames that follow. That is why a still shot compresses to almost nothing while fast movement stays large, and why heavy compression breaks up during motion.
02
What compression keeps and discards
Compression works by describing what changed rather than storing every frame whole. That single fact explains most of what seems arbitrary about video file sizes.
| Content | How it compresses | Why |
|---|---|---|
| A still shot of a wall | To almost nothing | Nothing changes between frames |
| Person talking, still camera | Very well | Only the face changes |
| Camera panning | Poorly | Every pixel changes every frame |
| Confetti or rain | Very poorly | Change is random and unpredictable |
| Dark grainy footage | Poorly | Grain is random, so it cannot be predicted |
03
Codec versus container
A codec compresses the video; a container packages the compressed video with audio and other data into a file. Common containers include MP4 and MOV. The same codec can sit inside different containers, which is why file endings alone do not tell you everything.
Media information tools show both.
04
Why motion breaks up first
Codecs save space by storing changes between frames rather than every full frame. When much of the picture changes quickly, there are more changes to describe, and limited data leads to blocky or smeared images.
Well-lit, steady footage compresses best.
05
Choosing a codec for delivery
For finished short clips, the most widely supported codec is the safest choice. Newer codecs can produce smaller files but may not be accepted everywhere or play smoothly on older devices.
Compatibility matters more than small file savings.
06
Compression adds up
Every time a video is compressed again, information is discarded again. Editing, exporting and uploading each involve compression. Keeping the number of compression passes low preserves quality.
Work from original files whenever possible.
07
Codecs on phones
Phones often record with efficient codecs to save space. Most editing tools handle them, but some older ones do not. If a file will not open, converting it or changing the phone's setting usually solves the problem.
Check your phone's camera format setting.
08
How much you need to know
For most creators, knowing the difference between codec and container and avoiding repeated compression is enough.
Use standard settings and focus on the content.
09
Enough to make good decisions
- Recognise the names when you see them. H.264 and H.265 are the two you will meet most often.
- Expect movement to cost more. The more changes between frames, the more data is needed to describe them.
- Judge a codec on the picture, not the name. Settings matter more than which method was used.
Send a recording and stop thinking about it.
Questions people ask
- Is a codec the same as a file format?
- No. The codec is how the picture was compressed; the file ending describes how picture and sound are packed together. Different things at different layers.
- Why does fast movement break up first?
- Because compression works by describing change, and rapid change is exactly what it has least room to describe within a fixed budget.
- Which codec should I use?
- H.264 for anything you are delivering, because it is accepted everywhere without argument.
- Does compressing twice hurt?
- Yes. Each pass discards information permanently, so repeated exports accumulate loss that cannot be recovered.
- Do I need to know this?
- Not to make clips. It helps when you are deciding what to record at and why a file is larger than you expected.