.avi

AVI, which stands for Audio Video Interleave, is a Container format used by Microsoft's Video for Windows multimedia framework. Since it was developed for Windows 3.1 in 1992 it lacks some features found in newer containers like MPEG or MP4, but is still widely used by consumers and even supported by some standalone DVD players. Although still supported in Windows, and suitable for certain formats like DV, it's not a good general purpose container, and even Microsoft uses other containers for their own video formats.

FourCC
In order for Windows to play an AVI file its necessary to know what decoder on your computer should be used to render the video. AVI files all have a property called a FourCC, which consists of four letters, based on what kind of encoding is used. VfW decoders then register particular FourCCs with Windows, letting it know that they can Decode video in those formats. Some FourCCs correspond to a single application, meaning only one Codec can be used for decoding. Others, like DVSC for DV or any of the standard MPEG-4 FourCCs, can be decoded by a variety of VfW decoders that conform to those standards. The FourCC of a file can be changed with a tool called AVI FourCC Changer (see software links below).

MPEG-4
When video enthusiasts began tinkering with MPEG-4 ASP encoding they found that it was possible to store the video in the already deprecated AVI container. Although later on an official MPEG-4 container (MP4) was developed, compatibility with existing tools and VfW codecs has remained popular for MPEG-4 ASP encoding with such codecs as DivX, XviD, and 3ivX.

DVD Player Support
In 2003 the Kiss DP-450 DVD player was introduced to the public. It was the first standalone DVD player capable of MPEG-4 playback. In the years since a number of other manufacturers, including more mainstream companies like Onkyo, Panasonic, and Pioneer, have began selling such DVD players. Although supported features of different MPEG-4 codecs varies somewhat, one common feature is the ability to read AVI files.

DV
Since DV doesn't have an official container of its own most Windows software designed for working with it assumes the AVI container will be used. DV files stored in the AVI container may be of two different types - Type 1 and Type 2.

Type 1 DV
Type 1 DV files are technically not VfW compatible because the video and audio inside must be split into separate streams by DirectShow software, normally implemented in DirectShow. While this affects VfW based tools like VirtualDub, it can be solved by using AviSynth, which is capable of using DirectShow to open files. Type 1 files can also be converted (losslessly) to Type 2 in order to open with standard VfW applications. The format used to mux the video and audio in a Type 1 file is the same as what's used when a camcorder stores it to DV tape.

Type 2 DV
Type 2 DV files can be opened in the same way as other AVI files, meaning you need to have a VfW DV codec installed on your system. While Microsoft provides a DirectShow decoder for Type 1 files, you must use a third party decoder of some kind for Type 2 files.

Uncompressed AVI
AVI files can be created with no Compression, resulting in extremely large file sizes, but with no loss of quality from the input video to the saved file. This also requires no codecs to be installed, either for saving or playback. This is generally not recommended. Instead it's better to use a Lossless Compression format like Huffyuv.

Lossless Compression
If you want to create a smaller AVI than you can get with no compression, but with the highest quality possible, you can also use a lossless codec like HuffYUV or Lagaraith. The files will still be significantly larger than standard compressed files, but good for use as intermediary files for editing and then compressing later.


Return to Introduction to Haali Media Splitter

Related Guides

How to play AVI files
  • 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.... (Read More)
What codecs to use? The AVIcodec guide
  • If you have received a video files, such as an AVI file, but cannot play it, it may be because you do not have the appropriate codecs installed on your computer. The video and audio tracks in a file have been "encoded" or "coded", and in order to play the file back you need to "decode" it.... (Read More)
Find what video and audio codecs you need by using GSpot
  • If you have received a video files, such as an AVI file, but cannot play it, it may be because you do not have the appropriate codecs installed on your computer. The video and audio tracks in a file have been "encoded" or "coded", and in order to play the file back you need to "decode" it.... (Read More)
How to convert video files to DVD using VSO ConvertXtoDVD
  • ConvertXtoDVD is the new improved software that replaced DivxToDVD from VSO Software. It has the ability to convert multiple file types, including AVI files.... (Read More)
How to convert AVI files (DivX, XviD etc.) to DVD with Avi2DVD
  • Avi2DVD is a new GUI that uses freeware tools to perform conversions such as AVI to DVD, SVCD, VCD or DVD to DVD, SVCD or VCD.... (Read More)
Extract AC3 from AVI files
  • This is a very brief guide on how to extract an AC3 surround audio (also known as Dolby Digital) from an AVI movie.... (Read More)
Joining AVI files
  • If you have multiple AVI files that you would like to join together (like if you made a DVDRip before and ended up with two 700MB AVI files, then you might want to join them together) then this guide will show you how to do just that.... (Read More)
Splitting AVI files
  • Ok, it happens often that you need to split AVI into smaller files -- maybe you want to fit your DVD rip into 2 CDs or something.... (Read More)
Adding subtitles to AVI
  • Here is a quick and simple guide to add subtitles to any .avi file that you would like.... (Read More)



© 2024 AfterDawn Oy

Hosted by
Powered by UpCloud