Movatterモバイル変換


[0]ホーム

URL:


Jump to content
WikipediaThe Free Encyclopedia
Search

Audio Video Interleave

From Wikipedia, the free encyclopedia
File format

".avi" redirects here. For the album, see.avi (album).
This article has multiple issues. Please helpimprove it or discuss these issues on thetalk page.(Learn how and when to remove these messages)
icon
This article'slead sectionmay be too short to adequatelysummarize the key points. Please consider expanding the lead toprovide an accessible overview of all important aspects of the article.(June 2014)
icon
This articleneeds additional citations forverification. Please helpimprove this article byadding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "Audio Video Interleave" – news ·newspapers ·books ·scholar ·JSTOR
(December 2007) (Learn how and when to remove this message)
(Learn how and when to remove this message)
Audio Video Interleave
Filename extension
.avi
Internet media type
video/vnd.avi[1]
video/avi
video/msvideo
video/x-msvideo
Type code'Vfw '
Uniform Type Identifier (UTI)public.avi
Developed byMicrosoft
Initial releaseNovember 10, 1992; 33 years ago (1992-11-10)
Type of formatContainer format
Container forAudio, video
Extended fromResource Interchange File Format
Open format?No
Free format?Yes[2]
Websitedocs.microsoft.com/windows/win32/directshow/avi-file-format

Audio Video Interleave (alsoAudio Video Interleaved and known by its initials andfilename extensionAVI, usually pronounced/ˌ.vˈ/[3]) is a proprietary multimediacontainer format andWindows standard[4] introduced byMicrosoft in November 1992 as part of itsVideo for Windows software. AVIfiles can contain both audio and video data in an uncompressed file container that allows synchronous audio-with-video playback.[5]

Like theDVD video format, AVI files support multiplestreaming audio and video, although these features are seldom used. A codec popularly used for AVI isMPEG-4 ASP, usually encoded byDivX orXvid, although many other codecs can also be contained in an AVI file.[6][7]

Many AVI files use the file format extensions developed by theMatrox OpenDML group in February 1996.[8] These files are supported by Microsoft, and are unofficially calledAVI 2.0.[9][failed verification] In 2010 theUS government'sNational Archives and Records Administration defined AVI as the official wrapper for preservingdigital video.[10]

History

[edit]

Publishers faced a predicament regarding how they should distribute videos onCD-ROMs. Thirty seconds of video displayed in24-bit color and at thirtyframes per second andSuper VGA resolutions could take up 680megabytes of space—the storage capacity of most CD-ROMs in 1992.Lossily compressing the videos would save a lot of space, but not without degrading the quality of the videos. Publishers who were more concerned about video quality instead were searching for an ideal compression algorithm that would compress the video files while still preserving the quality.[11]

Microsoft recognized the problem and sought to develop a standard that wouldlosslessly compress the video files. They also recognized that because of the hardware requirements for playing the videos in uncompressed quality, which at the time were demanding, it needed to allow users of low-end computers to play the videos in compressed quality. They developed and published the Audio Video Interleave format on November 10, 1992, as part of their Video for Windows, and included support forcodecs to satisfy those users.[11][12][13]

Format

[edit]

AVI is a subformat of theResource Interchange File Format (RIFF), which divides a file's data into blocks, or "chunks". Each chunk is identified by aFourCC tag.[14]

An AVI file takes the form of a RIFF header, which is then divided into two mandatory chunks and one optional chunk. The first chunk is identified by the "hdrl" tag, which stores the information required by the codec to decompress the AVI file for viewing. The second sub-chunk is identified by the "movi" tag, containing the actual audio and visual data that make up the AVI video. The third optional chunk is identified by the "idx1" tag, which indexes theoffsets of the data chunks within the file.[14]

By way of the RIFF format, the audio and visual data contained in the "movi" chunk can be encoded or decoded by software called acodec, 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 and visual data inside the chunks in virtually any compression scheme, including Full Frame (Uncompressed),Indeo,run-length encoding, andMicrosoft Video 1.[13]

Some programs, likeVLC, complain when the "idx1" index sub-chunk is not found, as it is required for efficient moving among timestamps. They offer to "fix" the file by building an index temporarily or permanently.[15][better source needed]

Metadata

[edit]

As a derivative of theResource Interchange File Format (RIFF), AVI files are commonly tagged withmetadata in the INFO chunk. In addition, AVI files can embedExtensible Metadata Platform.[16] By design, any RIFF file can legally include additional chunks of data, each identified by a four-character code;[14] software which does not understand that particular code should skip the chunk. As such, it is theoretically possible to expand any RIFF file format, including AVI, to support almost any conceivable metadata. Some of the limitations of AVI in modern use relate to a lack of standardization in this metadata (see Limitations below).

Limitations

[edit]

Since its introduction in the early 90s, new computer video techniques have been introduced which the original AVI specification did not anticipate.

  • The original AVI specification does not provide a standardized way to encodeaspect ratio information, although the later OpenDML (AVI 2.0) specification does. Consequently, older players may not select the right aspect ratio automatically (though it may be possible to do so manually).[17]
  • There are several competing approaches to including atime code in AVI files, which affects usability of the format in film and television post-production, although it is widely used.[18] For WAV audio files,Broadcast Wave (BWF) extensions were designed to standardize post-production metadata, but an equivalent for AVI files has not emerged. Some parties are known to write BWF chunks into AVI for metadata.[19]
  • AVI was not intended to contain video using any compression technique that requires access to future video frame data beyond the current frame (B-frame). Approaches exist to support modern video compression techniques (such asMPEG-4) that rely on this function, although this is beyond the intent of the original specification and may cause problems with playback software which does not anticipate this use.[20]
  • AVI cannot contain some specific types ofvariable bitrate (VBR) data reliably (such asMP3 audio at sample rates below 32 kHz).
  • Overhead for AVI files at the resolutions and frame rates normally used to encode standard definition feature films is about 5 MB per hour of video, the significance of which varies with the application.
  • AVI files cannot contain attachments such as fonts and subtitles. Consequently, subtitles must be distributed in a separate file or hardcoded into the video stream.

More recent container formats (such asMatroska,Ogg andMP4) solve all these problems, although software is freely available to both create and correctly replay AVI files which use the techniques described here.

DV AVI

[edit]

DV AVI is a type of AVI file where the video has been compressed to conform withDV standards. There are two types of DV-AVI files:

  • Type 1: The multiplexed Audio-Video is kept in its original multiplexing and saved together into the Video section of the AVI file
    • Does not waste much space (audio is saved uncompressed, but even uncompressed audio is tiny compared to the video part of DV), but Windows applications based on theVfWAPI do not support it.
  • Type 2: Like type 1, but audio is also saved as an additional audio stream into the file.
    • Supported by VfW applications, at the price of a small increase in file size.

Type 1 is actually the newer of the two types. Microsoft made the "type" designations, and decided to name their older VfW-compatible version "Type 2", which only furthered confusion about the two types. In the late 1990s through early 2000s, most professional-level DV software, including non-linear editing programs, only supported Type 1. One notable exception wasAdobe Premiere, which only supported Type 2. High-endFireWire controllers usually captured to Type 1 only, while "consumer" level controllers usually captured to Type 2 only. Software is and was available for converting Type 1 AVIs to Type 2, and vice versa, but this is a time-consuming process.

Many FireWire controllers only captured to one or the other type. However, almost all relevant software supports both Type 1 and Type 2 editing and rendering, including Adobe Premiere. Thus, many users are unaware of the fact that there are two types of DV AVI files.

See also

[edit]

References

[edit]
  1. ^Fleischman, Eric (June 1998).WAVE and AVI Codec Registries.IETF.doi:10.17487/RFC2361.RFC2361. RetrievedDecember 6, 2009.
  2. ^AVI (Audio Video Interleaved) File Format (Full draft). Sustainability of Digital Formats. Washington, D.C.: Library of Congress. March 9, 2016. RetrievedDecember 13, 2021.
  3. ^Cudnik, Brian (2009).Lunar Meteoroid Impacts and How to Observe Them.Springer. p. 154.ISBN 978-1-4419-0324-2. RetrievedSeptember 19, 2021.
  4. ^Gavin, Brady (September 12, 2018)."What Is an AVI File (and How Do I Open One)?".How-To Geek. RetrievedSeptember 19, 2021.
  5. ^"CyberLink Support Center".www.cyberlink.com. RetrievedApril 17, 2025.
  6. ^What is audio video interleave (AVI)?
  7. ^"AVI: Audio Video Interleave".www.videoexpertsgroup.com. RetrievedApril 17, 2025.
  8. ^"AVI File Format with OpenDML Extensions, Version 1.02".www.loc.gov. March 9, 2016. RetrievedSeptember 1, 2019.
  9. ^stevewhims."AVI RIFF File Reference - Windows applications".docs.microsoft.com. RetrievedSeptember 1, 2019.
  10. ^"Video Digital Product Options".archives.gov. Archived fromthe original on May 6, 2019. RetrievedSeptember 1, 2019.
  11. ^abRaskin, Robin (December 22, 1992)."27 Good Reasons To Buy A CD-ROM Player".PC Magazine. Vol. 11, no. 22. pp. 345–346. RetrievedSeptember 19, 2021.
  12. ^Damore, Kelley; Corcoran, Cate (November 9, 1992)."Microsoft, vendors team up to air Video for Windows".InfoWorld. Vol. 14, no. 45. p. 3. RetrievedSeptember 19, 2021.
  13. ^abQuain, John R. (January 12, 1993)."Microsoft Goes Hollywood With Video for Windows".PC Magazine. Vol. 12, no. 1. p. 39. RetrievedSeptember 19, 2021.
  14. ^abcGloe, Thomas (April 16, 2014)."Forensic analysis of video file formats § AVI Container format".Digital Investigation.11 (1).Elsevier.doi:10.1016/j.diin.2014.03.009.ISSN 1742-2876.
  15. ^"WindowsFAQ-1.1.x".VideoLAN Wiki.
  16. ^Altheide, Cory; Carley, Harvan (2011).Digital Forensics with Open Source Tools.Syngress. p. 190.ISBN 978-1-59749-586-8. RetrievedSeptember 19, 2021.
  17. ^"Determining the Shape of Pixels and Frames".Microsoft.com. May 2003. Archived fromthe original on January 13, 2008.
  18. ^Rhodes, Phil (December 12, 2014)."AVI and Timecode".FFmpeg-user (Mailing list).
  19. ^"AVI MetaEdit - Technical Metadata".mediaarea.net.
  20. ^"Using B-frames".Avidemux.

External links

[edit]
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
SeeCompression methods for techniques andCompression software for codecs
Retrieved from "https://en.wikipedia.org/w/index.php?title=Audio_Video_Interleave&oldid=1314275157"
Categories:
Hidden categories:

[8]ページ先頭

©2009-2026 Movatter.jp