What is AVI?

Learn what AVI is, how Audio Video Interleave files work, and when to use them. Understand AVI compatibility, file size, and how it compares to MP4.

The AVI video format explained: Microsoft's RIFF container, why it is dated, and when to use it.

AVI

What is AVI?

AVI (Audio Video Interleave) is a Windows multimedia container format developed by Microsoft in 1992 that can hold video and audio encoded with various codecs in a single file.

Year Created
1992
Compression
Container
Primary Use
Windows Video

How AVI Works

AVI (Audio Video Interleave) is Microsoft's original video container, introduced in 1992, and for years it was the default way to store video on Windows. Technically it is a specialized form of Microsoft's Resource Interchange File Format (RIFF), which structures a file as a tree of chunks identified by four-character codes. An AVI file opens with an hdrl chunk describing the streams, followed by a movi chunk holding the interleaved audio and video data, and an optional index listing where each frame sits. The name says it all: audio and video samples are interleaved, stored in alternating chunks so a player can read them together smoothly.

Like the modern containers that followed it, AVI is a container, not a codec: it holds video and audio compressed by some other codec rather than compressing them itself. This is the root of AVI's reputation for unpredictability. Because the container can wrap almost any codec, two AVI files can be wildly different inside, one might play instantly while another needs a codec you do not have installed. The classic "I have the AVI but it won't play" problem is almost always a missing codec, not a problem with the AVI wrapper.

AVI's age shows in what it lacks. It was designed before modern streaming and rich media features, so it has weak support for things later formats take for granted: proper handling of variable bitrate audio, soft subtitles, multiple flexible tracks, and chapter markers are all awkward or absent. It also carries relatively high overhead, which tends to make AVI files larger than an equivalent MP4.

Why AVI Is Considered Dated

AVI has been largely superseded, and the reasons are concrete. Modern containers like MP4 and MKV do everything AVI does and far more: better compression efficiency, smaller files, clean support for multiple audio and subtitle tracks, streaming-friendly metadata, and reliable playback of modern codecs like H.264 and H.265. AVI's interleaved-chunk design simply was not built for the way video is used today, so it has faded from new workflows even though Windows still opens it.

The format does retain a few practical roles. You still meet AVI in older video files, legacy software, and certain capture or editing tools that default to it, and its simple structure can be convenient for uncompressed or lightly compressed intermediate files in some editing pipelines. But for anything new, especially anything that will be shared or streamed, MP4 is the better choice.

When to Use AVI

Use AVI only when something specifically calls for it: a legacy application or device that expects AVI, an older editing workflow built around it, or compatibility with archived files already in the format. If you are simply trying to play or share an old AVI, the most useful step is usually to convert it to MP4, which produces a smaller, universally compatible file that plays everywhere without hunting for codecs. For any new video you create, start with MP4 rather than AVI.

Limitations

AVI's limitations are mostly the cost of its age. Files are larger than modern equivalents because of higher overhead and weaker compression support. The format handles modern features poorly: soft subtitles, multiple flexible tracks, variable bitrate audio, and streaming metadata are all limited or missing. And its codec-agnostic design causes the familiar missing-codec playback failures that frustrate users. None of this makes AVI unusable, but it does explain why MP4 and MKV have replaced it for essentially all new video work.

AVI vs Other Video Formats

FeatureAVIMP4MKV
TypeContainer[1]ContainerContainer
DeveloperMicrosoft[1]MPEGMatroska (open)
Introduced1992[3]20012002
File sizeLargeSmallModerate
Subtitle supportLimited[2]YesExtensive
Best forLegacy Windows videoSharing & webMulti-track media

AVI is a long-established Windows container, but MP4 and MKV offer more efficient compression and richer modern features.

Advantages & Disadvantages

Advantages

  • Windows Compatibility | FileFormer AVI has been a Windows standard since 1992 - plays natively without codecs on older Windows systems.
  • Codec Flexibility | FileFormer AVI supports a wide range of video and audio codecs, allowing for different quality and size trade-offs.
  • Editing Friendly | FileFormer Many video editors accept AVI natively without conversion, making it useful in production workflows.
  • High Quality | FileFormer When used with lossless or high-bitrate codecs, AVI can store very high quality video.

Disadvantages

  • Large File Sizes | FileFormer AVI files are typically much larger than equivalent MP4 files at the same quality level.
  • Poor Streaming | FileFormer AVI was not designed for streaming and lacks modern adaptive bitrate features.
  • No Native H.265 | FileFormer AVI does not officially support modern codecs like H.265/HEVC, limiting compression efficiency.
  • Outdated Format | FileFormer MP4 and MKV have largely superseded AVI with better compression, streaming, and feature support.

AVI Technical Specifications

DeveloperMicrosoft[1]
File Extension.avi[1]
Container TypeRIFF-based[1]
Video CodecsDivX, Xvid, H.264, etc.[1]
Audio CodecsMP3, AC3, PCM, etc.[1]
Max ResolutionNo hard limit[1]
StreamingLimited support[1]
MIME Typevideo/x-msvideo[1]

Common Use Cases

Here are the most common scenarios where AVI is the right choice:

  1. Legacy Windows Applications | FileFormerOlder Windows software and hardware that only supports AVI format for video playback.
  2. Video Editing Workflows | FileFormerIntermediate format in some video production pipelines where AVI is preferred for editing.
  3. Screen Recording | FileFormerSome older screen capture tools defaulted to AVI format for recordings.
  4. Archive Compatibility | FileFormerMaintaining compatibility with older systems or software that cannot handle newer formats.

Frequently Asked Questions

Is AVI better than MP4?

No - MP4 is almost always better. MP4 provides smaller file sizes, better streaming support, and wider compatibility on modern devices.

Why is my AVI file so large?

AVI often uses uncompressed or lightly compressed codecs. Converting to MP4 with H.264 encoding can reduce size by 70-80%.

Can I convert AVI to MP4?

Yes, easily. Tools like VLC, HandBrake, and FFmpeg can convert AVI to MP4 quickly while maintaining quality.

Will AVI play on my phone?

Most modern phones cannot play AVI natively. Android has partial support; iPhone has none. Convert to MP4 for mobile compatibility.

What codec should I use with AVI?

If you must use AVI, H.264 (via AVI container) or Xvid provide the best balance of compatibility and compression.

References

  1. AVI (Audio Video Interleaved) - Library of Congress
  2. AVI RIFF File Reference - Microsoft Learn
  3. Audio Video Interleave - Wikipedia