The AVI Format: A 1992 Container That Refuses to Die
iLoveConverter Team 4 min read
On this page
AVI — Audio Video Interleaved — is Microsoft’s 1992 video container. It was designed for a simple job: store audio and video in alternating chunks so a slow hard drive could read both in one pass. Three decades later it is still everywhere: security recorders, old camcorders, DVD rips and files that predate the MP4 era. AVI to MP4 exists because modern phones and browsers have largely moved on.
What an AVI file is
AVI is a RIFF container: a header, then alternating chunks of video and audio. The container itself does not define quality. What matters is the codec inside, and AVI has carried almost everything over the years:
- DivX and Xvid — MPEG-4 Part 2, the format of 2000s movie rips.
- MJPEG — every frame a JPEG, common in camcorders and capture cards.
- DV — the camcorder tape format, usually in AVI or MOV wrappers.
- Cinepak, Indeo — 1990s codecs you occasionally still meet.
- H.264 — technically possible, though unusual.
Because AVI predates modern container design, it lacks features MP4 takes for granted: efficient indexing for seeking, chapters, multiple audio tracks in a standard way, variable frame rate support and reliable metadata. Old AVI also had practical size limits — some tools could not write files beyond 2 GB or 4 GB.
Why AVI still appears
Three reasons. First, embedded devices age slowly: security DVRs, dash cams and industrial recorders often write AVI because the code is stable and simple. Second, archives: family videos, old project files and digitized tapes were saved as AVI and nobody revisited them. Third, codec history: DivX/Xvid AVI was the standard way to compress video for a decade, and those files still work on desktops with the right player.
The problem is the edges. A modern phone may refuse an AVI outright. A browser will not play one. A video editor may decode it but choke on the indexing. And if the AVI contains an exotic codec, the failure is silent — the file opens but shows a black frame.
AVI versus MP4
| AVI | MP4 | |
|---|---|---|
| Introduced | 1992 | 2001 (ISO base media) |
| Typical codecs | DivX, Xvid, MJPEG, DV | H.264, HEVC, AV1 |
| Seeking and indexing | Basic | Standardized sample tables |
| Browser playback | No | Yes, for common codecs |
| Chapters and tracks | Limited | Native |
| File size for same quality | Usually larger | Smaller |
AVI is not “bad quality”. An AVI with a high-bitrate MPEG-4 stream can look better than a low-bitrate MP4. But for the same visual quality, modern codecs in MP4 usually produce a smaller file.
When to convert AVI
- Playing on phones, tablets or browsers — MP4 with H.264 is the safe universal target.
- Editing — modern editors index MP4 more reliably than AVI, especially with long files.
- Shrinking archives — re-encoding to H.264 can cut size substantially, at the cost of one generation of loss.
- Extracting audio — AVI to MP3 pulls the soundtrack without re-encoding the picture.
- Getting a still — AVI to JPG captures a frame for a thumbnail or document.
If the AVI is already H.264 inside, the conversion can sometimes copy the video stream instead of re-encoding it, which preserves quality exactly. That depends on the file, so check the output if quality is critical.
What conversion cannot fix
- Damaged or truncated files — a broken index or missing final chunk will still fail after conversion.
- Obsolete codecs — if the decoder is unavailable, the converter cannot invent frames. Rare codecs may need a desktop tool with the right library.
- Interlaced footage — old camcorder AVI is often interlaced. Converting the container does not deinterlace it; that is a separate processing decision.
FAQ
Is AVI better than MP4?
No. AVI is older and simpler; MP4 is more capable and far better supported by browsers and mobile devices. AVI only wins on legacy compatibility.
Why won’t my browser play an AVI file?
Browsers implement a small set of containers and codecs. AVI is not one of them, and even an H.264 AVI usually will not play because the container is unsupported.
Does converting AVI to MP4 reduce quality?
If the video stream can be copied, no. If it must be re-encoded, yes — one generation of loss, usually modest at a sensible bitrate. Audio is often re-encoded to AAC.
Can I convert AVI on a phone?
Yes, with a browser-based converter: the file is processed on the device and never uploaded. Large files are limited by the phone’s memory rather than by a server.
Try it yourself — free, right in your browser
Everything mentioned in this guide runs locally on this site: no upload, no watermark, no sign-up.
Format deep-dives: AVI (.avi) , MP4 (.mp4)