Why AVI files are often enormous
AVI is a container from the early days of digital video, and many devices that write it use codecs with little or no compression. That is great for quality and terrible for size.
| Source | Inside the AVI | Rough size |
|---|---|---|
| Old compact cameras | Motion JPEG, a full photo for every frame | Hundreds of MB for a few minutes |
| Tape camcorders copied to a PC | DV at 25 Mbit/s | About 13 GB per hour |
| Capture cards and game recorders | Uncompressed or lossless video | Gigabytes per minute |
| Films shared in the 2000s | Xvid or DivX | Already small, about 700 MB per film |
The first three shrink dramatically. Re-encoding Motion JPEG or DV with MPEG-4 or H.264 often makes the file ten or more times smaller with no visible loss. Xvid films from the last row are already compressed. They gain little, unless you also lower the resolution.
Keeping the AVI format
Compress to AVI when the file has to keep working where it works now: a DVD player or TV with a USB port that plays DivX, a media box, a digital photo frame, an old editing program or a school or office PC with old software. For these, choose the MPEG-4 codec, which is compatible with Xvid and DivX players. H.264 inside AVI makes a noticeably smaller file, but very old players may not open it. Try one short file on your device before you compress a whole collection.
If nothing forces you to stay with AVI, an MP4 is smaller still and plays on phones and in browsers. AVI to MP4 does that in one step.
Speed and memory
Browsers can't read most AVI codecs by themselves, so the page loads a built-in converter engine (ffmpeg compiled for the browser) the first time you use it. It is slower than the browser's own MP4 encoders, and the whole file has to fit in the browser's memory. A clip of a few hundred megabytes is no problem. A multi-gigabyte DV transfer may be too large; the tool tells you clearly if that happens. In that case, try a shorter file or a computer with more memory.
Getting the best result
- Keep the original resolution for 640×480 camera clips. Making them bigger adds size, not detail.
- Use the 2-second preview to compare the original and the compressed picture before you start.
- Tape camcorder footage is often interlaced, so fast motion may show thin lines. This comes from the source, not from the compression.
- To remove the boring parts first, open the file in the AVI editor.
Nothing is uploaded. Your old family films are processed on your own computer.