Playing AVI and DivX files

This chapter from our book Troubleshooting Mac® OS X discusses why some Audio Video Interleaved (AVI) multimedia files do not play in QuickTime and provides methods for playing AVIs on Mac OS X.

About AVIs

There has been confusion over AVI files since QuickTime® added support for such. AVI is a media container very similar to QuickTime, but with a unique data format. AVI was originally called Video for Windows® (VFW) and QuickTime supports the VFW format.

However, most, if not all AVI playback issues arise with movies that have been compressed using CODECs (Compressor - Decompressor) that are unavailable for QuickTime in Mac OS X. In particular, the Indeo® CODEC, popular for video compression on PCs, has not been ported to Mac OS X.

To further confuse the issue, many DivX-encoded files carry the .avi extension. QuickTime does not include native DivX® support, even though QuickTime 6 and later support the ISO Standard MPEG-4 media compression format and DivX is based on the MPEG-4 standard.

Playing AVIs on Mac OS X

We have found that the following four methods will enable viewing most AVI files that will not play in QuickTime. While none of these methods are foolproof and some AVI files still refuse to play, one of these methods will usually work.

Use VLC

Probably the easiest way to play AVI and DivX files on Mac OS X is to download and install the freeware player VLC Media Player for OS X. VLC is also often referred to by its original name, VideoLAN Client.

Install the 3ivx® D4 CODEC

Download and install the freeware 3ivx D4 CODEC per the installation instructions in the associated ReadMe file. This CODEC adds support for a variety of DivX and other formats which often carry the .avi extension.

Convert AVIs to QuickTime movies

The most comprehensive solution for playing AVIs on Mac OS X is to convert the .avi files to QuickTime .mov files using freeware tools from 3ivx.

You will need...
Procedure
  1. Download and install 3ivx D4 CODEC per the installation instructions in the ReadMe file.
  2. Download and install 3ivx DivX Doctor II, again per its included instructions. Note that the installation instructions specify numerous additional downloads you can get, but I have found them unnecessary in Mac OS X 10.2 or later.
  3. Drag and drop .avi files onto DivX Doctor II. They will be converted into .mov files and stored on your hard drive at the location you specify.
  4. While some .avi files fail to convert -- again, none of these methods are foolproof -- the resulting .mov files generally play flawlessly in QuickTime. This method also fixes the problem with the soundtrack on AVIs that do not play properly using only the DivX for Mac CODEC.

Try the DivX for Mac CODEC

Many AVIs can be played in QuickTime by installing the freeware DivX for Mac CODEC. While this plug-in has been continuously improved, the sound in some AVIs will sometimes be either missing or distorted. [1]

Related links

Notes

[1] Both the 3ivx D4 and DivX for Mac CODECs must be installed in the Macintosh HD > Library > QuickTime folder. However, both CODECs can not be in this folder simultaneously and work with QuickTime as they conflict. If you decide to keep both CODECs , you must temporarily disable one while using the other. To do this:

  1. Quit QuickTime.
  2. Open the Macintosh HD > Library > QuickTime folder.
  3. Move — click and drag while pressing the Command key — the CODEC you do not want to use to a temporary folder or to your Desktop.
  4. Launch QuickTime.
Did you find this FAQ helpful? You will find a wealth of additional advice for preventing or resolving Mac OS X problems in Dr. Smoke's book, Troubleshooting Mac® OS X.
Use of this site signifies your agreement to the terms of use.
Copyright © 2003-2008 The X Lab. All rights reserved.