An AVI file is a video container that holds both picture and sound together in one file

AVI stands for Audio Video Interleave. It is a format that Microsoft created in 1992 to store movies on computers. The file wraps video frames and audio tracks into a single package, the same way a ZIP file bundles multiple documents. When you open an AVI file, your media player reads both the video and sound at the same time.

You will recognize an AVI file by its .avi extension at the end of the filename — for example, vacation_2015.avi or screen_recording.avi. AVI files are less common now than they were in the 2000s, but you may still encounter them in older video libraries, screen recordings, or files created by certain cameras and editing software.

The main thing to understand is that AVI is just a container. It does not dictate how the video or audio is compressed. One AVI file might use one compression method, and another might use a completely different one. This flexibility is why AVI became popular, but it also means two AVI files can look and sound very different in quality and file size.

Key Takeaways

  • AVI files bundle video and audio together in a single file, making them portable and straightforward to share.
  • The AVI format itself does not compress video or audio — the actual compression depends on what codec the file uses inside.
  • You can play AVI files in most media players on Windows, Mac, and Linux, though some older files may require a specific codec to be installed.
  • AVI files are older than modern formats like MP4 and MOV, so new videos are rarely created in AVI format anymore.

How AVI files store video and audio

An AVI file is structured like a filing cabinet with separate drawers for video and audio. The video drawer holds individual frames — still images that play one after another to create motion. The audio drawer holds the sound. The AVI container keeps both synchronized so that when you play the file, the sound matches the picture.

The file also stores metadata, which is information about the video itself: the frame rate (how many frames per second), the resolution (the width and height in pixels), and the audio sample rate (how many times per second the sound is sampled). This metadata tells your media player how to display the video correctly.

Because AVI interleaves audio and video — meaning it stores them in alternating chunks rather than all video first and then all audio — the player can start playing the file quickly without waiting to read the entire thing. This was a significant advantage in the 1990s when internet speeds were slow and hard drives were small.

Codecs: why some AVI files won't play

The actual video and audio inside an AVI file are compressed using a codec, which is a set of rules for shrinking the data. Common codecs include MPEG-4, DivX, and Cinepak. The AVI container just says "here is video and audio" — it does not say how they are compressed.

If your media player does not have the right codec installed, it cannot decompress the video or audio, and the file will not play. You might see an error message, or the video might play silently, or the audio might play with no picture. This is the most common problem people face with older AVI files.

To fix this, you can install a codec pack — a collection of decoders that handles many different compression methods. On Windows, the K-Lite Codec Pack is widely used. On Mac, most codecs are built in, but some older AVI files may still require additional software. The safest approach is to convert the AVI file to a modern format like MP4, which uses codecs that are nearly universal.

AVI versus modern video formats

AVI was the standard for video on Windows computers for about fifteen years. Then MP4 (also called H.264) became the dominant format because it compresses video much more efficiently, producing smaller files with better quality. MOV is Apple's equivalent, and WebM is used for video on the web.

Modern formats also handle streaming better — they let you start watching a video before the entire file downloads. AVI was designed for files stored on a local hard drive, not for streaming. If you try to stream an AVI file over the internet, it will often stall or buffer.

AVI files are also larger than equivalent MP4 files. A five-minute video in AVI format might be 500 megabytes, while the same video in MP4 might be 100 megabytes. This size difference is why AVI fell out of favor as storage became cheaper but internet speeds remained a constraint.

When you might encounter AVI files

You are most likely to find AVI files in three situations. First, in archives of older videos — if someone recorded home movies or captured gameplay in the 2000s, they probably saved it as AVI. Second, in screen recordings made by certain software, particularly older versions of Camtasia or Fraps. Third, in files exported from older video editing software like Windows Movie Maker or early versions of Adobe Premiere.

Some digital cameras and camcorders from the 2000s also saved video as AVI. If you have a box of old DVDs or external hard drives from that era, you may find AVI files on them. Security camera systems sometimes still use AVI as well, though many have switched to MP4 or proprietary formats.

If you need to work with an AVI file today, the easiest path is usually to convert it to MP4 using free software like HandBrake or FFmpeg. This ensures the file will play on any device and makes it smaller for storage or sharing.

How to play an AVI file

Most media players on Windows will open AVI files without any extra steps. Windows Media Player, VLC, and Potplayer all handle AVI natively. On Mac, you may need to install VLC or another third-party player, because Apple's built-in QuickTime does not always support all AVI codecs. On Linux, VLC and MPV both work well.

If an AVI file will not play, the first thing to try is VLC, which includes a wide range of codecs built in. If VLC still will not play it, the file may be corrupted, or it may use a very old or obscure codec. In that case, conversion is usually the best option.

To convert an AVI file, read HandBrake (free, works on Windows, Mac, and Linux), open the AVI file, choose MP4 as the output format, and click Start. The conversion takes a few minutes depending on the file size. The resulting MP4 will play on any device.

Frequently Asked Questions

Is AVI better quality than MP4?

No. AVI is just a container, so quality depends on the codec inside. An AVI file using an old codec might look worse than an MP4 using a modern one. MP4 with H.264 codec is the standard now because it delivers better quality at smaller file sizes.

Can I edit an AVI file in video editing software?

Most modern editing software like Adobe Premiere Pro and DaVinci Resolve can import AVI files, but they may require the right codec to be installed on your computer. If the software will not recognize the file, converting it to MP4 first usually solves the problem.

Why is my AVI file so large?

AVI files are typically larger than modern formats because older codecs were less efficient at compression. A five-minute video in AVI might be 500 MB while the same video in MP4 is 100 MB. Converting to MP4 will reduce the file size significantly.

Can I play an AVI file on my phone?

Most phones do not natively support AVI. You can convert the file to MP4 using HandBrake on your computer, then transfer the MP4 to your phone. Alternatively, some phone apps like MX Player claim to support AVI, but conversion is more reliable.

What does "interleave" mean in AVI?

Interleave means the video and audio are stored in alternating chunks throughout the file rather than all video first and then all audio. This lets the player start playing quickly without reading the entire file, which was important when storage and bandwidth were limited.