Misplaced Pages

Audio Video Interleave: Difference between revisions

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 17:09, 12 September 2009 editJeffrey Mall (talk | contribs)Pending changes reviewers16,035 editsm Reverted edits by 71.228.28.46 to last revision by David.Monniaux (HG)← Previous edit Revision as of 03:23, 25 September 2009 edit undoMiami33139 (talk | contribs)6,175 editsm External links: I have tidied.Next edit →
Line 50: Line 50:
* *
* *

{{-}}


{{Compression formats}} {{Compression formats}}

Revision as of 03:23, 25 September 2009

"AVI" redirects here. For other uses of Avi and AVI, see Avi.
Audio Video Interleave
AVI Extension Icon
Filename extension .avi
Internet media type video/avi
video/msvideo
video/x-msvideo
Type code'Vfw '
Uniform Type Identifier (UTI)public.avi
Developed byMicrosoft
Container forAudio, Video

Audio Video Interleave, known by its acronym AVI, is a multimedia container format introduced by Microsoft in November 1992 as part of its Video for Windows technology. AVI files can contain both audio and video data in a file container that allows synchronous audio-with-video playback. Like the DVD video format, AVI files support multiple streaming audio and video, although these features are seldom used. Most AVI files also use the file format extensions developed by the Matrox OpenDML group in February 1996. These files are supported by Microsoft, and are unofficially called "AVI 2.0".

Format

AVI is a derivative of the Resource Interchange File Format (RIFF), which divides a file's data into blocks, or "chunks." Each "chunk" is identified by a FourCC tag. An AVI file takes the form of a single chunk in a RIFF formatted file, which is then subdivided into two mandatory "chunks" and one optional "chunk".

The first sub-chunk is identified by the "hdrl" tag. This sub-chunk is the file header and contains metadata about the video, such as its width, height and frame rate. The second sub-chunk is identified by the "movi" tag. This chunk contains the actual audio/visual data that make up the AVI movie. The third optional sub-chunk is identified by the "idx1" tag which indexes the offsets of the data chunks within the file.

By way of the RIFF format, the audio/visual data contained in the "movi" chunk can be encoded or decoded by software called a codec, which is an abbreviation for (en)coder/decoder. Upon creation of the file, the codec translates between raw data and the (compressed) data format used inside the chunk. An AVI file may carry audio/visual data inside the chunks in virtually any compression scheme, including Full Frame (Uncompressed), Intel Real Time (Indeo), Cinepak, Motion JPEG, Editable MPEG, VDOWave, ClearVideo / RealVideo, QPEG, and MPEG-4 Video.

Continued use

There is slight overhead when used with popular MPEG-4 codecs (Xvid and DivX, for example), increasing file size more than necessary. The AVI container has no native support for modern MPEG-4 features like B-Frames. Hacks are sometimes used to enable modern MPEG-4 features and subtitles, however, this is the source of playback incompatibilities.

AVI files do not contain pixel aspect ratio information. Microsoft confirms that "many players, including Windows Media Player, render all AVI files with square pixels. Therefore, the frame appears stretched or squeezed horizontally when the file is played back." There are other video container formats that allow irregular shaped pixels.

More modern container formats (such as QuickTime, Matroska, Ogg and MP4) offer more flexibility, however, projects based on the FFmpeg project, including ffdshow, MPlayer, xine, and VLC media player, have solved most problems with viewing AVI format video files.

In June 2005, DivX, Inc. released its own container format called DivX Media Format (.divx extension) to succeed the AVI + DivX combo. However, this format is basically an enhanced AVI format (based on the same RIFF structure, for backward compatibility with existing players and devices) and so far, has gained no perceivable consumer traction , even where the DivX codec was once popular (the Xvid codec has instead become the codec of choice among most of the file-sharing groups ).

DV AVI

Main article: DV: Type 1 and Type 2 DV AVI files

DV AVI (aka DV-AVI) is a type of AVI file where the video has been compressed to conform with DV standards, there are two types of DV AVI files.

References

This section needs additional citations for verification. Please help improve this article by adding citations to reliable sources in this section. Unsourced material may be challenged and removed. (December 2007) (Learn how and when to remove this message)
  1. "Determining the Shape of Pixels and Frames".
  2. "Scene Rules - Rules for the file-sharing scene indicating that Xvid is the preferred MPEG-4 ASP codec since 2004".

External links

Multimedia compression and container formats
Video
compression
ISO, IEC,
MPEG
ITU-T, VCEG
SMPTE
TrueMotion and AOMedia
Chinese Standard
  • AVS1 P2/AVS+(GB/T 20090.2/16)
  • AVS2 P2(GB/T 33475.2,GY/T 299.1)
    • HDR Vivid(GY/T 358)
  • AVS3 P2(GY/T 368)
Others
Audio
compression
ISO, IEC,
MPEG
ITU-T
IETF
3GPP
ETSI
Bluetooth SIG
Chinese Standard
Others
Image
compression
IEC, ISO, IETF,
W3C, ITU-T, JPEG
Others
Containers
ISO, IEC
ITU-T
IETF
SMPTE
Others
Collaborations
Methods
Lists
See Compression methods for techniques and Compression software for codecs
Categories: