Fact-checked by Grok 2 weeks ago

Audio Video Interleave

Audio Video Interleave (AVI) is a introduced by in 1992 for storing audio and video s in a single file, enabling synchronized playback of moving image content with sound. The format is based on the (RIFF), structuring data into chunks that include a header list (hdrl) for such as stream formats and durations, a movie list (movi) containing the interleaved audio and video data, and an optional index (idx1) for quick access to frames. AVI supports multiple streams, with video and audio compressed using various codecs identified by four-character codes (FOURCC), such as for video or formats for audio. Developed alongside as part of the initiative, AVI quickly became a for on personal computers during the , supporting early resolutions like 160x120 pixels at 15 frames per second. In 1996, the OpenDML consortium extended the format—often called AVI 2.0—to address limitations, allowing for files much larger than the original 2 GB limit, theoretically up to 16 exabytes with 64-bit offsets, subject to limits. Despite its historical significance and continued support in Windows applications for capture, editing, and playback, AVI has notable drawbacks, including a 2 GB file size limit in the original specification, lack of standardized aspect ratios, poor support for variable bit rate encoding, and compatibility issues with some modern codecs. now recommends newer technologies like for audio-video handling on and 11, as AVI is considered a legacy format.

Introduction and History

Overview

Audio Video Interleave () is a developed by for storing both audio and video data in a single file, enabling applications to capture, edit, and play back synchronized multimedia sequences. Introduced in the early 1990s as part of the software suite, AVI was specifically designed to support digital video handling on early personal computers running Windows operating systems. The term "Interleave" in AVI refers to the alternation of audio and video data chunks within the file structure, which facilitates seamless and synchronized playback of the combined streams. This approach ensures that audio and video remain temporally aligned during reproduction, addressing the challenges of processing on resource-constrained of the . Key characteristics of the AVI format include its foundation on the (RIFF) specification, which provides a flexible framework for organizing data chunks. It supports a variety of codecs for both audio and video, accommodating options for uncompressed raw data as well as compressed streams to balance file size and quality.

Development and Evolution

Audio Video Interleave (AVI) was introduced by in November 1992 as part of 1.0, a designed to enable video playback, capture, and editing on personal computers running Windows 3.1. , and thus AVI, was developed as a direct response to Apple's technology, which had introduced digital video capabilities to the Macintosh platform. This format built upon the (RIFF) to create a container for synchronizing audio and video streams, marking an early step in making accessible on consumer hardware. In its initial release, AVI faced significant hardware constraints of the era, supporting a maximum of 160x120 pixels and rates up to 15 per second, which limited its use to low-quality video suitable for basic demonstrations or short clips. By the mid-1990s, as computing power increased, the format evolved through software updates and third-party implementations, allowing support for larger such as 640x480, higher rates approaching 30 fps, and a broader range of codecs including early compressed formats like and Indeo. A major milestone came in 1996 with the introduction of OpenDML extensions, developed by the OpenDML group including , to overcome the original 2 GB file size limit imposed by the structure and FAT16 filesystems; these enhancements enabled files up to 32 TB on modern filesystems through improved chunk indexing and handling. AVI received further support through Microsoft's ActiveMovie framework, released in 1996 and later renamed , which enhanced multimedia playback in Windows applications. By the late , AVI gained traction in professional video editing tools, with software like Adobe Premiere incorporating support for AVI files, particularly those using DV codecs, to handle nonlinear editing workflows in broadcast and film production.

Technical Specifications

File Structure

Audio Video Interleave (AVI) files are organized using the (RIFF), a hierarchical chunk-based structure developed by and for data. Specifically, an AVI file is a RIFF form identified by the four-character code (FOURCC) 'AVI ', which encapsulates all audio, video, and metadata elements within a single file. The overall file begins with a RIFF header that specifies the form type and total file size (excluding the header itself), followed by a series of top-level chunks and lists that define the content organization. This structure allows for interleaved storage of audio and video streams, enabling synchronized playback. The primary top-level elements include the header list 'hdrl' and the movie list 'movi'. The 'hdrl' list contains the main AVI header chunk 'avih', which provides global file information such as the number of s, , and video dimensions, containing a 56-byte AVIMAINHEADER . Following 'avih', the 'hdrl' includes one or more lists 'strl' for each audio or video , each comprising stream-specific headers and format details. In contrast, the 'movi' list serves as the container for the actual data, holding interleaved chunks of audio and video. Video data chunks are typically identified by FOURCCs like '00db' ( for 0) or '00dc' (compressed), while audio chunks use codes such as '01wb' ( audio for 1) or 'wb', with the first two bytes indicating the stream number. These chunks are stored sequentially to support temporal interleaving, though they may be grouped into 'rec ' (record) sub-lists for additional organization. An optional index chunk 'idx1' appears at the end of the file to facilitate seeking and . This chunk uses the AVIOLDINDEX structure, consisting of a series of 16-byte entries for each data chunk in the 'movi' list; each entry includes the chunk's FOURCC, flags (e.g., indicating key frames), a 32-bit offset from the start of the 'movi' list, and the chunk's size. Without 'idx1', applications must scan the file linearly for playback, which can be inefficient for large files. Due to the reliance on 32-bit offsets throughout the chunks and index, standard AVI files are limited to a maximum size of approximately 2 GB, as larger offsets would exceed the addressing capacity; this limitation is addressed in extensions like OpenDML through 64-bit offsets and segmented indexing.

Chunk Organization

The chunk organization in an AVI file follows the (RIFF) structure, dividing content into lists and sub-chunks that define and media data. The primary lists relevant to chunk organization are 'hdrl' for headers, 'strl' for stream details, and 'movi' for media payloads, with additional JUNK chunks for alignment. Within the 'hdrl' list, the 'avih' chunk provides global file-level information through the AVIMAINHEADER . This 56-byte includes fields such as microseconds per (4 bytes, specifying ), maximum bytes per second (4 bytes, indicating the maximum data transfer rate), paddingGranularity (4 bytes, of data padding), flags (4 bytes, denoting properties like AVIF_HASINDEX for indexed files), total frames (4 bytes, counting video frames), initial frames (4 bytes, frames before audio playback begins), streams (4 bytes, number of streams), suggested buffer (4 bytes, recommended playback buffer), width and height (4 bytes each, video dimensions in pixels), and dwReserved (array of 4 DWORDs, 16 bytes total, reserved for future use). Each 'strl' list, nested within 'hdrl' and repeated for every stream, organizes stream-specific metadata via 'strh' and 'strf' chunks. The 'strh' chunk uses the AVISTREAMHEADER structure (56 bytes) to detail stream properties, including fccType (4 bytes, stream type such as 'vids' for video or 'auds' for audio), fccHandler (4 bytes, FOURCC identifying the codec handler), dwFlags (4 bytes, stream flags), wPriority (2 bytes, playback priority), wLanguage (2 bytes, language ID), dwInitialFrames (4 bytes, number of initial frames), dwScale (4 bytes, time scale for samples), dwRate (4 bytes, sample rate), dwStart (4 bytes, stream start time), dwLength (4 bytes, stream length in units), dwSuggestedBufferSize (4 bytes, recommended buffer for the stream), dwQuality (4 bytes, quality level from 0 to 10,000), dwSampleSize (4 bytes, sample size or 1 for variable), and rcFrame (16 bytes, bounding rectangle for video). The accompanying 'strf' chunk contains format-specific data: for video streams, a BITMAPINFO structure defining pixel format, color depth, and palette if needed; for audio streams, a WAVEFORMATEX structure specifying sample rate, channels, bits per sample, and compression. The 'movi' list houses the actual media data as sequential sub-chunks, enabling interleaved storage. Video data appears in chunks like '00db' for uncompressed or '00dc' for compressed frames (where '00' denotes the stream number), while audio uses '01wb' for blocks. Palette changes for video are stored in 'xxpc' chunks with an AVIPALCHANGE . Optionally, 'rec ' lists group these sub-chunks to facilitate edit lists and precise synchronization during playback. JUNK chunks, identified by the 'JUNK' FOURCC, serve as padding to ensure proper and sector boundaries, with their content ignored by compliant applications.

Audio and Video Components

Interleaving Process

The interleaving process in the Audio Video Interleave () format involves dividing audio and video streams into discrete chunks and arranging them alternately within the 'movi' list to enable synchronous playback of content. This organization allows media players to read and present audio and video data in temporal without requiring separate files or streams. Chunks are typically sized to represent short durations of media, such as fractions of a second, with video data identified by FourCC tags like '00dc' and audio by '01wb'. Key parameters defining the interleaving include the sample size specified in the stream header ('strh' chunk), which denotes the byte size of each data sample (set to zero for variable-sized samples like individual video frames), and the maximum bytes per second in the AVI main header ('avih' chunk), which estimates the data for system buffering during playback. These values, derived from the stream's and scale fields (dwRate and dwScale in AVISTREAMINFO), help determine how much data to preload for smooth rendering. Additionally, the 'rec ' sublists within 'movi' can group tightly interleaved chunks for optimized access from slower storage media like CD-ROMs. Synchronization relies on implicit timestamps calculated from frame counts, sample rates, and playback durations encoded in the headers, without dedicated timecode tracks. The 'dwInitialFrames' field in the 'avih' chunk specifies an initial skew, often around 0.75 seconds of audio buffered ahead of video, to compensate for processing delays and maintain lip-sync. Playback software must therefore buffer incoming chunks and reassemble them according to these parameters; the AVIF_ISINTERLEAVED flag in the 'avih' dwFlags indicates pre-interleaved data, signaling that no further reordering is needed. In variable bitrate scenarios, this fixed chunk-based structure can introduce parsing inconsistencies or playback delays due to uneven data distribution.

Codec Support

Audio Video Interleave (AVI) serves as a codec-agnostic container format, allowing it to encapsulate a variety of compressed and uncompressed audio and video streams without prescribing specific encoding methods. The format identifies codecs through FourCC (four-character code) identifiers embedded in the stream header ('strh') chunk of each stream, which specifies the handler responsible for processing the data. For instance, the FourCC 'msvc' denotes Video 1, while 'cvid' indicates . Video codecs supported in AVI range from early proprietary formats to more contemporary standards. Initial implementations commonly used codecs such as Indeo (FourCC: 'iv32' for version 3), Duck TrueMotion (FourCC: 'DUCK'), and (FourCC: 'cvid'), which were optimized for low-compute environments like hardware. Later adoption included MPEG-4 Advanced Simple Profile (ASP) variants like (FourCC: 'divx') and (FourCC: 'xvid'), enabling better compression for distribution. Advanced codecs such as H.264 (FourCC: 'h264' or variants like 'avc1') can be incorporated via wrapper handlers or compatible drivers, though this often requires extensions beyond the core AVI specification. Audio codecs in AVI are identified primarily through the waveform format tag in the 'strf' chunk (using the WAVEFORMATEX structure), with some compressed formats also using FourCC codes in the 'strh' fccHandler field. Uncompressed (PCM) audio (format tag: 1) provides raw waveform data with high fidelity but no size reduction. Compressed options include Adaptive Differential PCM (ADPCM, format tag: 2) for modest efficiency gains, (FourCC: 'mp3 ') for perceptual coding suitable for music and speech, and AC-3 (FourCC: 'ac3 ') for multichannel . Codec handling in AVI relies on system-installed drivers, particularly on Windows through the (VFW) framework, which provides installable codecs for encoding, decoding, and rendering streams. Cross-platform playback and manipulation are facilitated by libraries like FFmpeg, which support decoding a broad array of AVI-embedded codecs without native OS dependencies. For applications requiring no compression artifacts, AVI supports raw video in RGB or color spaces alongside PCM audio, though this results in substantially large files—for example, approximately 2-3 GB per minute for high-resolution footage at 30 frames per second.
CategoryCodec ExampleFourCCNotes
Video (Early)Microsoft Video 1msvcBasic intra-frame compression for simple animations.
Video (Early)cvidPopular for CD-ROM video in the 1990s.
Video (Early)Indeo 3iv32Intel's wavelet-based codec for software decoding.
Video (Modern)divxMPEG-4 ASP for internet video distribution.
Video (Modern)xvidOpen-source MPEG-4 ASP alternative to DivX.
Video (Advanced)H.264h264High-efficiency via VFW wrappers; not native to original spec.
Audio (Uncompressed)PCMN/A (format tag 1)Linear 16-bit stereo at 44.1 kHz standard.
Audio (Compressed)ADPCMN/A (format tag 2)Reduces size by ~50% with minimal quality loss.
Audio (Compressed)mp3Variable bitrate for audio-focused streams.
Audio (Compressed)AC-3ac3Dolby Digital for 5.1 surround in compatible handlers.

Metadata and Extensions

Core Metadata Elements

The core metadata elements in Audio Video Interleave (AVI) files are primarily embedded within the (RIFF) structure to provide descriptive information for file identification, playback, and basic cataloging. These elements include the 'hdrl' list, which houses essential header information such as video dimensions and frame rates, and the optional 'INFO' list, which contains human-readable tags for content details. The '' list, when present, is a chunk tagged as 'LIST' with the form type '', followed by subchunks representing specific fields as null-terminated ASCII strings. Common tags include 'INAM' for the of the audiovisual content, 'IART' for the artist or author name, 'ICMT' for user comments, 'ISFT' for the software used to create the file, and 'IDIT' for the creation date and time. These tags enable basic descriptive annotation but are not mandatory, resulting in their absence in many AVI files. Stream-specific metadata complements the file-level information through chunks within the 'strl' sublists of the 'hdrl' list. The optional 'strn' chunk provides a null-terminated ASCII string naming the stream, such as "Video Stream 1" or "Audio Track," aiding in distinguishing multiple streams during playback. The 'strd' chunk, also optional and positioned after the stream format ('strf') chunk, holds additional codec-specific data, for example, palette information for video streams to support accurate rendering. Despite their utility, core elements in AVI files lack a standardized , leading to inconsistent implementation across tools and applications, where tags may vary in presence, format, or interpretation. Text encoding is typically limited to ANSI or ASCII, without native support for or extended character sets, which can cause issues with international content. Overall, these elements facilitate simple file identification and cataloging but do not extend to advanced features like structured chapters or thumbnails.

OpenDML and Advanced Features

The OpenDML specification, developed by the OpenDML AVI M-JPEG File Format Subcommittee and last revised on February 28, 1996, extends the original AVI format to address key limitations such as the 2 GB file size constraint imposed by 32-bit offsets in the structure. It introduces an 'odml' LIST chunk containing an Extended AVI Header ('dmlh'), which includes a dwTotalFrames field to accurately count total frames across multiple chunks, enabling support for files exceeding 2 GB by appending 'AVIX' chunks for additional data. This structure maintains with standard AVI applications, which process only the initial chunk as a complete file. Additionally, the specification utilizes 'JUNK' chunks for padding to ensure proper alignment and sector boundaries in large files. Enhanced indexing mechanisms in OpenDML facilitate efficient access to data in oversized files. The superindex, implemented via an 'indx' chunk in the stream list ('strl'), employs 64-bit QUADWORD offsets (qwOffset) to reference multiple standard index chunks ('ix##'), effectively splitting the original 'idx1' index into manageable segments for streams like video (e.g., 'ix00'). This hierarchical indexing supports field-level precision and large-scale frame navigation without exceeding 32-bit limitations. OpenDML utilizes the standard RIFF 'INFO' list with tags such as IARL (archival location), ICMT (comments), and ICOP (copyright) for tombstone information. Some implementations leverage custom chunks, including the Video Properties Header ('vprp') for specifying aspect ratios (e.g., via dwFrameAspectRatio as a packed DWORD like 0x00040003 for 4:3), and proprietary sub-chunks for embedding subtitles directly within the file. For non-linear editing, OpenDML includes timecode discontinuity lists ('tcdl') in dedicated streams, allowing references to edit points and sync breaks. Adoption of OpenDML features has been widespread in tools and players. , for instance, utilizes OpenDML to generate AVI2 files that surpass the 2 GB limit and supports multiple output files for even larger projects. has referenced OpenDML in its documentation for AVI handling, enabling compatible Windows applications to process extended AVI files.

Variants

DV AVI

DV AVI is a specialized variant of the Audio Video Interleave (AVI) format designed to encapsulate (DV) streams, commonly used for consumer and professional video recording from devices like MiniDV camcorders. This adaptation allows DV data, originally defined in the IEC 61834 standard for consumer digital VCRs, to be stored in an AVI container without requiring , preserving the native compression and quality of the DV signal. There are two primary types of DV AVI files, differentiated by how audio and video data are organized within the AVI structure. Type 1 DV AVI maintains the original multiplexed DV stream, interleaving audio and video packets into a single stream using the 'iavs' FourCC code, with no redundant audio data but resulting in larger files. In contrast, Type 2 DV AVI separates the video and audio into distinct streams: the video uses the 'dvsd' FourCC for 25 Mbps consumer DV data, while audio is stored as uncompressed PCM, often with standard AVI audio handlers; this includes redundant audio data but produces smaller files that are more efficient for editing workflows. The DV stream within AVI adheres to fixed technical parameters to ensure compatibility with original recording hardware. Video resolution is standardized at 720×480 for NTSC (525/60 systems) or 720×576 for PAL (625/50 systems), with a constant bitrate of approximately 25 Mbps for consumer variants, incorporating chroma subsampling in NTSC and in PAL. Audio is typically 16-bit PCM at 48 kHz for two channels, though some implementations support 32 kHz. These specifications enable seamless integration with DV camcorders, such as those using MiniDV tapes, where footage captured via FireWire () is directly wrapped into AVI files for computer-based editing. One key advantage of DV AVI is its native support in nonlinear editing software, facilitating loss-less editing without generation loss during capture or export. For instance, applications like can import Type 2 DV AVI files directly, allowing frame-accurate cuts and effects application while maintaining the original 25 Mbps quality, which was particularly valuable in early production workflows. This format's structure also supports easy playback and archiving on Windows systems via filters, reducing the need for additional decoding hardware. The format's standardization is primarily governed by Microsoft's "DV Data in the AVI File Format" specification (version 1.01, 1997), which defines the mapping of IEC 61834 -DIF (Digital Interface Format) blocks into AVI chunks, including the use of 'dvhd' for DV header information to identify the stream type. This wrapping process embeds 80-byte DV-DIF blocks—each containing video, audio, and subcode data—directly into the AVI RIFF structure, ensuring interoperability without altering the compressed DV essence. DV AVI files typically use the .avi extension, but they can be distinguished from standard AVI by the presence of the 'dvhd' chunk in the file header, which encapsulates metadata like (4:3) and (29.97 or 25 ). This identifier allows software to route the data correctly to DV decoders, supporting both Type 1 and Type 2 playback across compatible platforms.

Other Specialized Formats

Motion JPEG AVI files employ intra-frame compression where each video frame is encoded independently using the algorithm, typically identified by the 'MJPG' or 'mjpa' FourCC codes. This approach enables straightforward decoding and editing since frames lack dependencies on preceding ones. The format gained popularity in early webcams for capturing and streaming video, as its per-frame processing supported low-latency performance suitable for applications. In archiving contexts, Motion JPEG AVI facilitates long-term preservation by allowing selective frame access and recompression without affecting the entire sequence. Uncompressed AVI variants store raw pixel and audio data without any lossy or , leading to exceptionally large file sizes—often exceeding several gigabytes per minute of at high resolutions. These formats are favored in professional video workflows, particularly for of analog video sources, where maintaining absolute fidelity during preservation is critical to avoid introducing artifacts. For instance, reformatting services output uncompressed (such as with YUY2 encoding) to enable subsequent and effects application in environments like Avid or Premiere, preserving the original . Game capture AVI implementations often incorporate custom video handlers and proprietary codecs tailored for screen recording in legacy gaming software. These setups, such as those in early screen capture tools, utilized uncompressed RGB streams or simple intra-frame coders within the AVI container to minimize overhead during gameplay recording. In older games, AVI files served as wrappers for proprietary video bitstreams, enabling playback of cutscenes via APIs without requiring external dependencies. Legacy AVI variants based on the Indeo codec, developed by , apply block-based compression with FourCC identifiers like 'IV32' for version 3, optimizing for playback on era-specific hardware. These were prevalent in CD-ROM multimedia titles for efficient storage of interactive video content. Similarly, AVI wrappers for (WMV) integrate the 'WMV3' FourCC to embed WMV9-compressed video streams, allowing compatibility with Microsoft's ecosystem while leveraging the AVI structure for broader . Rare applications of AVI appear in embedded systems and legacy hardware, such as NewTek's platform, where the format supported video I/O and editing pipelines on Amiga-based systems for broadcast production. In these constrained environments, AVI's chunk-based organization enabled integration with proprietary hardware accelerators for real-time processing.

Limitations

Technical Constraints

The original AVI specification imposes a 2 GB file size limit due to the use of 32-bit offsets for chunk positions, though the OpenDML extension (AVI 2.0) addresses this by supporting up to 32 terabytes on file systems like . Additionally, AVI lacks a standardized way to encode information in its original form, which can lead to inconsistent display across players; this was added in the OpenDML specification. The format also provides unreliable support for certain variable bit rate (VBR) encodings, such as audio at sample rates below 32 kHz, potentially causing audio-video issues or problems with seeking. The AVI format lacks native support for subtitles or chapter markers, necessitating the use of external subtitle files (such as SRT) or application-specific hacks to overlay text during playback, as the does not define standardized structures for timed text segments. This design choice stems from AVI's origins as a RIFF-based focused on basic audio-video , without provisions for metadata-driven or features common in modern formats. AVI's architecture provides support for multiple streams, allowing for additional audio tracks or data streams through sequential 'strl' lists within the 'hdrl' chunk. While the format accommodates multiple streams via stream headers (e.g., AVIStreamHeader), practical integration—such as for multi-language audio or alternative angles—is constrained by the fixed interleaving scheme, and stream selection or management depends on player and application support, which is not universally consistent. The format's interleaving is inherently fixed and non-adaptive, with no built-in hints for downloading or adjustment, rendering it unsuitable for efficient streaming over ; the chunk, typically placed at the file's end, must be fully loaded before playback can begin, exacerbating in remote scenarios. This limitation arises from AVI's optimization for local storage and , such as on CD-ROMs, rather than delivery. AVI relies entirely on external codecs for compression and decompression, as the container specifies only the stream (e.g., BITMAPINFOHEADER for video or WAVEFORMATEX for audio) without embedding decoding logic, which can result in playback failures if the required is absent or incompatible on the target system. This dependency, a core aspect of the 's modular design introduced in 1992, contrasts with self-contained modern containers and contributes to portability issues across diverse hardware and software environments. Originally designed for low-resolution video (e.g., VGA-era 320x240), AVI's structure proves inefficient for high-bitrate content like or , even with extensions like OpenDML that address some indexing limitations; the lack of advanced optimizations, such as efficient B-frame handling, leads to bloated sizes and suboptimal for contemporary resolutions.

Compatibility Challenges

One significant compatibility challenge with AVI files stems from the obsolescence of many early s used within them. For instance, the , developed by in the early and commonly embedded in AVI containers, is no longer supported natively in modern operating systems due to security vulnerabilities and lack of maintenance, often requiring emulation software or file conversion to access the content. Similarly, other legacy codecs like face decoding failures on contemporary hardware without specialized tools, leading to playback errors or complete inaccessibility. Platform differences further complicate AVI interoperability. On Windows, AVI files benefit from native support through the framework, enabling seamless playback and editing in applications like . However, on macOS and , reliance on third-party libraries such as FFmpeg or often results in partial compatibility, particularly with handling, where elements like timestamps or chapter markers may be ignored or misinterpreted, causing issues during playback or editing. Browser and web playback present additional hurdles, as the AVI format lacks native support in HTML5 video elements across major browsers like , , and . This necessitates plugins, which are deprecated in modern browsers, or conversion to web-friendly formats like MP4, limiting direct online embedding and streaming of AVI files without preprocessing. Version mismatches between standard AVI and extended variants exacerbate these issues. OpenDML-enhanced AVI files, which support larger file sizes beyond the 2 GB limit of the original format, may fail to load or seek properly in older players that do not recognize the extended 'idx1' index chunks. Likewise, AVI files require specific decoders to unpack the interleaved DV streams, and without them, the files remain unplayable in generic media applications. File corruption risks are heightened in AVI due to the absence of built-in error correction mechanisms. Damage to the file's index, often from incomplete transfers or storage failures, can render the entire file unseekable, preventing users from jumping to specific timestamps while allowing linear playback only if the core streams remain intact. Tools like FFmpeg can rebuild these indexes in some cases, but severe corruption may necessitate full file reconstruction or loss of accessibility.

Modern Context

Current Usage

As of 2025, the Audio Video Interleave (AVI) format continues to serve legacy roles in media archival, where its uncompressed or lightly compressed structure ensures long-term preservation of older video content without degradation from repeated transcoding. AVI files are commonly used to store digitized footage from analog sources like VHS tapes or MiniDV cassettes, maintaining compatibility with historical playback systems. Additionally, AVI remains relevant for archiving game captures from 1990s and 2000s software, such as those recorded via hardware like ATI All-In-Wonder cards, which output directly to AVI for high-fidelity retention of retro gameplay. Professional video editing workflows still incorporate AVI, particularly for uncompressed intermediate files that prioritize quality over file size during . Software like can import AVI files on Windows systems, though conversion to DNxHD or other supported codecs may be required for optimal performance in mixed-format timelines. Similarly, imports AVI as a , enabling seamless integration of legacy footage into modern projects via wrappers. These uses leverage AVI's reliability for high-bit-depth intermediates in environments where is not a . In broadcasting, variants like DV AVI persist in select TV production workflows, especially for standard-definition ingest and editing of legacy material captured from digital camcorders. Raw AVI files are also employed for visual effects (VFX) plates, providing uncompressed video plates that facilitate precise compositing and motion tracking in film pipelines. On the consumer side, AVI enjoys broad playback support in applications like VLC Media Player, which handles most AVI variants natively without additional codecs, and Windows Media Player, which includes AVI among its core supported formats for everyday video consumption. Despite these niches, AVI usage is declining in 2025 as modern compressed formats dominate streaming and mobile applications, though it endures in embedded devices with limited processing power that rely on its simple structure for video playback. Billions of AVI files from historical accumulation continue to circulate, underscoring its persistent archival footprint.

Alternatives and Transitions

In contemporary digital media workflows, key alternatives to the Audio Video Interleave (AVI) format include MP4 (MPEG-4 Part 14), which serves as a versatile container for streaming and web applications based on the , offering superior handling and broad compatibility across platforms. MKV ( Video) provides enhanced flexibility for multi-track content, supporting multiple audio, video, and subtitle streams alongside robust , making it suitable for complex offline multimedia projects. MOV, the , is optimized for Apple ecosystems, enabling seamless integration with macOS and devices while accommodating professional and playback. Compared to AVI, these formats address notable shortcomings: MP4 enables adaptive bitrate streaming protocols like HLS and DASH, allowing dynamic quality adjustments based on network conditions, whereas AVI lacks such capabilities and is unsuitable for efficient online delivery. AVI files typically result in larger sizes due to less efficient options, contrasting with the smaller, optimized footprints of compressed MP4 files that maintain comparable quality. Additionally, AVI offers no native (DRM) support, unlike MOV, which integrates with Apple's DRM for protected content in streaming scenarios. Transitioning from AVI to modern formats can be achieved using open-source tools like FFmpeg, which supports straightforward conversion via command-line operations, such as ffmpeg -i input.avi -c:v copy -c:a [aac](/page/AAC) output.mp4 to remux video while re-encoding audio for MP4 compatibility. For multiple files, provides a user-friendly graphical interface that accepts AVI inputs and outputs to MP4 or , allowing preset configurations for quality preservation during conversion. AVI remains relevant in 2025 primarily for legacy system compatibility or workflows requiring uncompressed video and audio, such as archiving master files where quality preservation outweighs file size concerns. However, for new projects, MP4 is recommended due to its efficiency and universal support. The industry has shifted toward MP4 since the , with platforms like explicitly preferring it for uploads—recommending H.264-encoded MP4 containers—while automatically any AVI submissions to MP4 upon ingestion.

References

  1. [1]
    AVI (Audio Video Interleaved) File Format - Library of Congress
    Format Description for AVI -- File format for moving image content. Wraps a video bitstream with other data chunks.
  2. [2]
    AVI RIFF File Reference - Win32 apps - Microsoft Learn
    Jun 20, 2023 · The Microsoft AVI file format is a RIFF file specification used with applications that capture, edit, and play back audio-video sequences.
  3. [3]
    AVI File Format - Win32 apps - Microsoft Learn
    Jul 27, 2023 · Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, ...
  4. [4]
    John McGowan's AVI Overview: Programming and Other Technical ...
    Microsoft released a Video for Windows 1.0 for Windows 3.1 in November 1992, followed by Video for Windows 1.1. There have been several versions of Video ...
  5. [5]
    Microsoft Audio/Video Interleaved - MultimediaWiki - Multimedia.cx
    Feb 4, 2010 · Microsoft Audio/Video Interleaved (AVI) is a multimedia format based on the RIFF container format. For a long time, AVI was the de facto ...
  6. [6]
    AVI File Format with OpenDML Extensions, Version 1.02
    Mar 28, 2016 · The most important impact of the extended version is increased file size, and most modern AVI files employ the DML extensions. The original 1992 ...Missing: 1990s | Show results with:1990s
  7. [7]
    Microsoft Releases DirectShow SDK - Universal Playback for DVD ...
    Dec 10, 1997 · The DirectShow run time natively supports a variety of popular formats, including MPEG, AVI, WAV AIFF, AU, and plays Apple QuickTime (MOV) files ...
  8. [8]
    AVI OpenDML with DV Digital Video - Library of Congress
    Feb 21, 2017 · In the late 1990s through early 2000s, most professional-level ... One notable exception was Adobe Premiere, which only supported Type 2.
  9. [9]
  10. [10]
  11. [11]
    AVISTREAMINFO
    ### Summary of AVISTREAMINFO (Sample Size, Rates, Skew for Audio-Video Sync in Interleaved Files)
  12. [12]
    AVIMAINHEADER Structure
    ### Summary of `dwInterleave`, `dwBytesPerSecond`, and Related Concepts in AVI Files
  13. [13]
    [PDF] OpenDML AVI File Format Extensions
    Feb 28, 1996 · This document is about OpenDML AVI file format extensions, version 1.02, last revised February 28, 1996. Information is provided "as is".
  14. [14]
  15. [15]
    What is uncompressed AVI? - VideoHelp Forum
    Oct 5, 2008 · Fully un-compressed or 'raw' video uses 2-3 gig per minute. If a codec is being used (and it's easy to find out from the capture) then it's compressed.how many GB's per hour for an uncompressed AVI file?Uncompressed 24-bit RGB Video file format specificationsMore results from forum.videohelp.com
  16. [16]
    Junk chunk size calculation - VideoHelp Forum
    Jun 29, 2007 · It's about cutting OpenDML AVI Files in Java. However, my question is: how can i calculate the size of JUNK chunks in an AVI File? May the ...<|separator|>
  17. [17]
    Subtitles stored inside AVI File - VideoHelp Forum
    May 25, 2009 · I have an AVI that has subtitles that appear to be stored inside the AVI file, similar to what you would see in an OGM or MKV file. When looking ...<|control11|><|separator|>
  18. [18]
    VirtualDub features - virtualdub.org
    Optimized disk access for more consistent hard disk usage. Create AVI2 (OpenDML) files to break the AVI 2GB barrier and multiple files to break the FAT32 4GB ...
  19. [19]
    Digital Video Encoding (DV, DVCAM, DVCPRO)
    Aug 4, 2021 · The specifications for professional DV were published as SMPTE 306M (1998) and 314M (1999); these two encoding formats are based on consumer ...
  20. [20]
    Type-1 vs. Type-2 DV AVI Files - Win32 apps - Microsoft Learn
    Jul 27, 2023 · For video capture, where maximum throughput is crucial, it is better to use a type-1 file, because type-2 files carry redundant audio data.Missing: specification | Show results with:specification
  21. [21]
    DV Data in the AVI File Format - Win32 apps - Microsoft Learn
    Jul 27, 2023 · This article describes the format of AVI files containing DV data. Specific FOURCCs (four-character codes) for interleaved DV data streams and ...
  22. [22]
    AVI OpenDML with Motion JPEG Video - The Library of Congress
    Dec 27, 2022 · OpenDML was initially developed in 1996-97 to support the carriage of MJPEG (Motion JPEG), with frames are encoded as JPEG-DIB (Device- ...
  23. [23]
    [PDF] Digital File Formats for Videotape Reformatting
    Dec 2, 2014 · The various uncompressed-video bitstream encodings, for example, may be wrapped in AVI, QuickTime, Matroska, and MXF. Thus we present two tables ...
  24. [24]
    John McGowan's AVI Overview: Audio and Video Codecs
    The video data in an AVI file can be formatted and compressed in a variety of ways. Video for Windows 1.1e comes with several compressors: Intel Indeo (version ...Missing: WMAV wrappers
  25. [25]
    Indeo Video Codec, Version 3 - Library of Congress
    Aug 4, 2021 · Full name, Indeo Video Codec, Version 3. Description. Bitstream encoding for video, originally developed by Intel.
  26. [26]
    File types supported by Windows Media Player - Microsoft Support
    Audio Video Interleave (AVI) is a special case of Resource Interchange File Format (RIFF). AVI is defined by Microsoft. The .avi file format is the most common ...
  27. [27]
    [PDF] TriCaster® - NewTek
    the output formats, and audio and video sources provided to downstream systems. ... The Genlock feature allows your NewTek system to 'lock' its video output to a ...
  28. [28]
  29. [29]
    AVI Format: Should You Still Use AVI? - Cloudinary
    May 29, 2025 · AVI, short for Audio Video Interleave, is a multimedia file format created by Microsoft in 1992 to combine audio and video into a single file.<|control11|><|separator|>
  30. [30]
    AVI vs MP4: A Deep Dive into Video Formats & Why It Matters - DivX
    Jun 30, 2025 · In video, the container holds a video track, one or more audio tracks, and maybe subtitles. The .avi or .mp4 file you see is the container.
  31. [31]
    Issue with streaming AVI files - Stack Overflow
    Apr 13, 2009 · As you already discovered yourself, index is written at the end of avi containers. That's why avi format is not good for streaming.Missing: poor support
  32. [32]
    Play AVI Files Free and Fast | Best AVI Player by DivX
    In 1996, Matrox introduced the OpenDML extensions to expand the format's ... For example, a 2GB AVI file can be reduced to under 500MB with minimal ...
  33. [33]
    AVI Format Internals: Why It's Outdated but Still Around - Sima Labs
    One of AVI's most significant technical debt issues stems from its 32-bit chunk size limitation. Each chunk can only contain a maximum of 4GB of data, which ...
  34. [34]
    AVI vs. MP4: Which Is Better? - 4K Video Downloader
    Nov 29, 2022 · One of the biggest differences that AVI and MP4 have is that AVI can only store HD and Full HD; meanwhile, MP4 can store 4K Ultra HD as well.Missing: outdated | Show results with:outdated
  35. [35]
    Microsoft Security Advisory: Vulnerabilities in the Indeo codec could ...
    Dec 8, 2009 · This article covers two ways that the codec can be unregistered: by using the Fix-it option provided below or by manually unregistering the codec.
  36. [36]
    Indeo 3 - MultimediaWiki - Multimedia.cx
    Jun 21, 2011 · Indeo Video 3 is a proprietary video compression algorithm developed by Intel. It is primarily used to encode video in AVI files.
  37. [37]
    ffmpeg Documentation
    ffmpeg -i in.avi -metadata title="my title" out.flv. To set the language of the first audio stream: ffmpeg -i INPUT -metadata:s:a:0 language=eng OUTPUT.
  38. [38]
    The Video Embed element - HTML - MDN Web Docs - Mozilla
    Sep 22, 2025 · The <video> HTML element embeds a media player which supports video playback into the document. You can use <video> for audio content as well.
  39. [39]
  40. [40]
    How can I repair a broken AVI file? - Super User
    Jul 16, 2009 · DivXFix++ is designed to repair broken AVI file streams by rebuilding index part of file. This is very useful when trying to preview movies ...How can I fix a broken AVI file? - Super UserHow can I check the integrity of an avi file and repair it automatically ...More results from superuser.comMissing: risks unseekable
  41. [41]
    11 Best Video File Formats for 2025: Pros, Cons & When to Use Them
    Jul 10, 2025 · Supports HD, 4K, and high-quality playback; Delivers excellent ... AVI is solid but outdated. It's easy to use but not flexible. For ...
  42. [42]
    How to Capture AVI Video with ATI All-In-Wonder Card (AIW)
    This guide will make you an excellent quality AVI file that is suitable for editing in packages such as Adobe Premiere and Vegas Video.
  43. [43]
    Media Composer File Type Support Without QuickTime Installed
    Dec 18, 2023 · * AVI Import is still supported on Windows systems without QuickTime installed * ... Avid Media Composer What's New. How do you rate this document ...
  44. [44]
    Media formats supported in Final Cut Pro for Mac - Apple Support
    Container formats · 3GP · AVI · MOV (QuickTime) · MP4 · MTS/M2TS · MXF.
  45. [45]
    DV production systems | TV Tech - TVTechnology.com
    Oct 1, 2003 · A DV editing software package should give the editor all of the control necessary to make the most out of DV material. Avid's Xpress Pro, for ...Missing: AVI | Show results with:AVI
  46. [46]
    FAQ - Movie Plates
    If you need a different format for your specific purposes, we offer the following options: EXR, NOTCHLC, RAW, MOV, PNG, AVI, MKV, WEBM, TIFF, or JPEG. All ...
  47. [47]
  48. [48]
    VIDEO FILE TYPES - Surveillance-Video.com
    Feb 19, 2009 · AVI is the file extension for Audio Video Interleave file. John McGowan shares his thoughts and information on this file type. File Ext provides ...
  49. [49]
    Media container formats (file types) - MDN Web Docs
    Jun 10, 2025 · A media container encapsulates media streams. Common formats include MP4, WEBM, Ogg, WAV, AVI, and MOV. MP4 and WebM are most common on the web.Missing: MKV | Show results with:MKV
  50. [50]
    QuickTime File Format | Apple Developer Documentation
    ### Summary of MOV Format for Apple Ecosystems
  51. [51]
    AVI Vs. MP4: Which Video Format is Right for You? - ImageKit
    Aug 17, 2023 · Discover the key differences between AVI and MP4 video. Learn in detail about their compression, quality, compatibility, and file sizes.Missing: DRM | Show results with:DRM
  52. [52]
    AVI vs. MP4: Which one is better? - Gumlet
    Aug 5, 2024 · AVI requires the same codecs to be installed on the machine which was used to compress the file. · AVI files tend to be larger in size than MP4.Missing: constraints | Show results with:constraints
  53. [53]
    Creating Fairplay DRM Protected Content
    Fairplay is the Apple DRM and was initially used only in the iTunes store to protect AAC encoded audio files but got soon also adopted for Apple's video ...
  54. [54]
    Documentation
    - **Summary**: The FFmpeg documentation is updated nightly, reflecting the newest revision. It is community-contributed and hosted by telepoint.bg. Local documentation should be consulted for older versions.
  55. [55]
    HandBrake Documentation — Supported source formats
    HandBrake can open many common video files produced by recording software, including but not limited to TS/MTS/M2TS, MP4 or M4V, MOV, MKV, MPG or MPEG, and AVI.Missing: guide | Show results with:guide
  56. [56]
    AVI Description - DivX Video Software Technologies
    Uncompressed video: AVI can be used to hold uncompressed video for workflows that require the highest possible quality.
  57. [57]