What is inside an AVI file
AVI (Audio Video Interleave) is a container that Microsoft introduced in 1992. The container is only a box. The real picture and sound are stored with codecs, and AVI files from different years use very different ones:
| Where the AVI came from | Typical video codec | Typical audio |
|---|---|---|
| Movies shared in the 2000s | Xvid or DivX (MPEG-4 Part 2) | MP3 or AC-3 |
| Old digital cameras | Motion JPEG | PCM (uncompressed) |
| Tape camcorders (via FireWire) | DV | PCM |
| Screen recorders and capture cards | H.264, MJPEG or uncompressed | PCM or MP3 |
This mix is the main reason AVI files cause trouble. Two files with the same .avi extension can need completely different software to play.
Where AVI plays and where it does not
VLC and most Windows players open almost any AVI. Problems start elsewhere. iPhone and iPad will not play AVI in the Photos app. QuickTime on a Mac does not support Xvid or DivX. Web browsers cannot play AVI at all, and YouTube, Instagram and TikTok prefer MP4. Video editors such as iMovie and Final Cut Pro often refuse AVI, and Premiere Pro or DaVinci Resolve may import the file but show no picture or no sound when the codec is unusual.
Which format to choose
- MP4 for almost everything: phones, TVs, social media, editors. See AVI to MP4.
- MOV if you edit on a Mac in iMovie or Final Cut Pro.
- WEBM for videos you put on your own website.
- MKV to keep the video in a modern, flexible container.
- GIF for a short silent loop to share in chats.
- WMV, MPEG, 3GP or FLV only when an old program, DVD player or phone asks for them.
- MP3, WAV and other audio formats to keep just the sound, for example AVI to MP3.
How the conversion works here
Everything runs on your own computer. The video is not uploaded, so private family recordings stay private, and the page keeps working offline after it has loaded. Because AVI is an old format, it is opened with a built-in converter engine (ffmpeg compiled for the browser). This is slower than working with MP4, so a long film can take several minutes. You can add many files at once and convert them as a batch.
If the AVI already holds codecs that fit the new container, the file is copied into it without re-encoding. That is almost instant and loses no quality. Most AVI files, however, use Xvid, DivX or Motion JPEG, which must be re-encoded for MP4 or MOV. Re-encoding takes longer but usually gives a much smaller file, especially from old camera clips.
Common AVI problems
Picture but no sound. Many AVI files use AC-3 or unusual audio that phones and editors cannot decode. Converting to MP4 changes it to AAC, which plays everywhere. Very large files. Camera AVI files with Motion JPEG are huge. After conversion, or with the AVI compressor, they often become many times smaller. Damaged files. An AVI from an interrupted download or an old disc may stop halfway. The converter processes the part that can be read.