How to play AVI
How to play AVI? is probably the most common question a person new to digital video asks. The same question is being asked by many ways: "I downloaded a movie and it wont play", "AVI wont open!" and "This video doesn't work!" -- all of them asking basically the same question. We try to address this question in this article as well as we can.
Follow the Guide Author on Twitter: jamesdela@twitter |
AVI, video player and codec
Generally speaking, playing an AVI requires two things: a video player software and a codec. Each version of Windows ships with a video player software (called Windows Media Player), so that is not a problem. The problem is called the codec.
One of the first terms a digital video freshman gets to know is codec. AVI and codec are inseparable. AVI is simply a file format, that doesn't itself define how the video inside the file was made and how it should be opened. The video inside the AVI is typically a compressed video stream that is made with a special tool, called as encoder [full definition].
Codec, as a word is an abbreviation of Coder / Decoder. The person who put the video inside the video "coded" the video and the person who wants to open the video (that is you..) has to "decode" the video. Codec is a small piece of program that plugs into your computer's operating system and allows the software installed on your computer to perform the "decoding" for the video that has been "coded" with the codec you installed.
Therefor, to open the AVI, you need to know how the video was "coded", which means that you need to know what codec you need to use. There are hundreds or thousands of codecs in the world, so it can be an overwhelming task to test them each out individually. Luckily, there are easy ways to get around it..
To summarize: it is common that your computer can play some AVIs without any additional software needed and meanwhile refuses to play some AVIs. This is simply due the fact that those AVIs have been compressed using a different codec and your computer has a codec installed already for the ones that work -- and you need to install a new codec to open the one that refuses to play.
The "easiest way"
Despite what stated above about codec and video player software being different things, there are some software packages that wrap both, video player and the most common codecs into one product.
As the "easy way", we focus on a free (and open source) video player called VLC. Download VLC from this URL.
Simply double-click the downloaded installation package and follow the on-screen instruction to get the software installed and launch it after installation.
Simply go to the File menu and choose Open File from there.
Now, click the Browse button next to the first white line at the top of the window with title "Open.." and navigate through your harddrive for the video you wish to watch and select it.
After you have selected the video, click OK and VLC will start playing the video you chose.
VLC should work for approximately 95 percent of the videos from the Internet, specially if they are in .avi format. Obviously there are occassions when you find a video that has been compressed using a codec that is not included within VLC and in those cases, you need to try something else.
The "easy way"
If you prefer to use some other video playback software instead of VLC, but wish to keep the process simple, there is a one codec that works for most of the downloaded videos. The codec is a free, open source project called FFDSHOW. Download FFDSHOW from here.
FFDSHOW adds support to your operating system for most common video compression methods and also provides good support for using subtitles and various picture improvements when playing a video.
Simply download the installation package and execute the file. After that, follow the on-screen instructions to install the codec properly.
Now, simply open your preferred video player software and open the .avi file you want to play and if the AVI has been compressed using any of FFDSHOW's supported methods, it should open nicely.
The "ugly way"
Now, there's one common method that specially people new to digital video tend to use. It can be compared to killing a fly with a sledgehammer or something similar. Its called "codec packs". Basically a codec pack is a collection of most common decoding drivers (==codecs) in the world and the installation file of a codec pack installs all of these codecs to the user's operating system.
Sure, the way has its benefits -- it is highly likely that virtually all of the downloaded videos will play after installation of such pack. But, there are several downsides to this approach. First one is simply the fact that every Windows user knows -- more software you install to your computer, more unstable and "wobbly" it becomes. Secondly, it is really waste of resources to install codecs that are in reality never needed. Third, it is highly unlikely that all the components packed within such pack are the latest and best versions -- downloading and installing each codec individually would be a better approach if user wants to get all the latest codecs in the world installed to his/her computer. Additionally, as nowadays several codecs actually decode several video formats, when a video is played, it is often impossible for a Joe Average to tell which piece of software does the decoding of the video, making it virtually impossible to find the cause of a problem if a problem appears.
Anyway, as stated, codec packs are a popular option to sort out the codec mess and installing such pack would also allow using your favourite video player software instead of all-in-one solution like VLC.
If you wish to try out a codec pack, here are several popular ones:
K-Lite Codec Pack [full]
XP Codec Pack
Cole2k Media Codec Pack Advanced
X Codec Pack
The use of a codec pack is similar to the use of FFDSHOW mentioned above -- download the codec pack, install it and use your favourite video player software to open the .avi file you wish to play.
The "elegant way"
The most elegant -- and sometimes the most difficult -- way to approach a problem where a particular video doesn't seem to open is to find out how it was compressed, allowing one to know which codec needs to be installed in order to open the file.
It should be noted though that in most cases, with this approach, you end up installing FFDSHOW (mentioned in the "easy way" section) anyway, when you find out that the video in question is compressed with a codec that FFDSHOW is able to decode (say, using for example likes of DivX or XviD).
There are two good tools that allow you to analyze the .avi in order to find out what codecs your system needs in order to open the file:
AVIcodec
GSpot
As with this guide we tried to be as friendly to a non-technical people as possible, we have omitted the codec analyzing part from this guide and have instead moved them to separate guides. If you prefer to manually look up which codec your video needs in order to play correctly, please continue reading one of these guides:
What codecs to use? The AVIcodec guide
Find what video and audio codecs you need by using GSpot
Troubleshooting: No audio?
While at the beginning of the guide we focused on explaining how the video within the AVI file is "coded" in a way that it needs a specific decoder in order to play correctly, it should be noted also that the same applies to audio as well. Typically the audio element is however coded in a way that most Windows computers have the decoding routines installed already, but in some cases the audio has been coded to, say, multi-channel format (such as AC3 or DTS) and requires a special decoding codec itself, in addition to the one needed for video.
Luckily, the "easiest way" and "easy way" described in this document both include also the most common audio decoding routines, so if those guides are followed, there should be no need to install any further software in most cases.
However, in those quite common instances where your video player software plays the downloaded .avi video correctly, but you can't hear the audio, we recommend installing a free (open source) audio decoder called AC3Filter, as it is quite likely that the file you have downloaded contains audio that the AC3Filter can and will decode.
Download the latest version of AC3Filter from here
Troubleshooting and useful links
If you want to dive into the world of digital video, but want to first learn even the most common lingo, here are some good links for you:
·Glossary definition for AVI
·What is a codec?
·What does "encoding" mean?
·Definition for "container"
·AfterDawn.com: Video term glossary
·AfterDawn Forums: Playback problems
Additionally, if you prefer to use a solution where you use a separate video player software and a separate set of codecs, you might want to try out different video players as well. We have a good selection of freeware players available on our site, but here are some of our favourite ones:
Media Player Classic
Zoom Player
It should be noted that sometimes, despite all the efforts, analysis and trial&error you've applied in order to get a video to play, it just wont. Quite often in those cases, even when none of the file analytics programs (such as AVIcodec or GSpot) seem to help, you can come to a conclusion that the file is corrupted. If that is the case, you're pretty much out of luck and might want to try to re-download the file in order to see whether the problem was with the download process itself.
Version history
v1.0 - 8th of May, 2006 by dRD
Written by: Petteri Pyyny