.avi.flv
AVI file: what it is and how to open it
An AVI file is a video in Microsoft’s oldest video format, often holding a codec from the 2000s such as Xvid or DivX. Drop one here to see which video and sound codecs it uses, and so which player it needs.
Drop your AVI file here
Opens on this device. Nothing is uploaded. Any other file works too.
What is an AVI file?
AVI (Audio Video Interleave) is the video file Microsoft created in 1992 for Video for Windows on Windows 3.1. It stores video and sound in alternating chunks so a player can read them in step. Home videos, camera clips and downloads from the 1990s and 2000s are often AVI files.
AVI does not fix the codec. Each stream names its own with a four-letter code such as XVID, DIVX, MJPG or H264, and a player needs that decoder, which is why one AVI plays and the next shows only sound. The original format was limited to about 2 GB; the 1996 OpenDML extension, often called AVI 2.0, removed that limit.
What is inside
An AVI file is a RIFF file, a list of chunks that each have a four-letter name and a length. It starts with RIFF, the file size and AVI. The hdrl list holds the main header (picture size, frame rate, number of streams) and one stream list per track naming its codec. The movi list holds the data, video and sound chunks interleaved, and an optional idx1 index at the end lets players seek.
When that index is missing or damaged, often after a copy or download that stopped early, players cannot seek properly. AVI also has no standard place for subtitles, chapters or extra languages, which is why newer video moved to MP4 and MKV.
holiday.avi52 49 46 46 … 41 56 49 20RIFF, the size, then AVILIST hdrlthe headers avihpicture size, frame rate, streams LIST strl stream 0video, codec XVID LIST strl stream 1sound, MP3LIST movithe data 00dc 01wb 00dc 01wb …video frames and sound, interleavedidx1the index for seeking, optionalHow to open an AVI file
Windows
- Windows Media PlayerBuilt in. Plays AVI with Xvid or DivX style MPEG-4, Motion JPEG, DV or H.264 video. Rarer codecs need another player.
- VLC media playerFree. Brings its own decoders for older codecs and offers to repair an AVI whose index is broken.
- Universal File Opener for WindowsOursPlays AVI through Windows codecs and saves an MP4 copy when Windows can decode its tracks.
Mac
- VLC media playerFree. Plays AVI with DivX, Xvid and other older codecs.
iPhone and iPad
- VLC for iOSFree. Plays AVI files added from iCloud Drive, another cloud service or Wi-Fi sharing.
Android
- VLC for AndroidFree, with no ads. Lists AVI among its formats and includes all its codecs.
- Universal File OpenerOursPlays AVI when your phone can decode its tracks and names the one it cannot. Saves a frame as JPG.
In a browser
- Google DriveUpload the AVI and play it in Drive, which lists AVI among its video types and plays up to 1080p.
- Universal File OpenerOursBrowsers cannot play AVI. Drop it on this page to see which video and sound codecs it holds. Nothing is uploaded.
Won’t open?
Sound but no picture, or picture but no sound
The player lacks a decoder for one of the two streams. VLC includes decoders for most old codecs. Our apps name the stream they cannot decode, and this page shows which codecs the file uses.
No sound on Windows 11
If the sound is Dolby Digital (AC-3), Windows 11 version 24H2 no longer includes a decoder for it, though many PC makers add one. Play the file in VLC.
VLC says the AVI file is broken
Its index is missing or damaged, so seeking will not work. Let VLC repair it; that fix lasts only while VLC plays it, so convert a copy to keep a working file.
A Mac or iPhone will not open it
Apple’s apps do not play most AVI files, and Apple points people to other apps for them. Use VLC, or convert the file to MP4 with HandBrake.
Renaming it to .mp4 did not help
Renaming does not change the codecs inside. Convert the file instead, with HandBrake or Universal File Opener for Windows.
Convert an AVI file
- To MP4 that plays everywhereIn HandBrake (free), click Open Source and pick the AVI, choose the Fast 1080p30 preset, set Save As and click Start. It writes H.264 video and AAC sound.
- To MP4 on WindowsOpen the AVI in Universal File Opener for Windows and choose Edit, Save as MP4. Windows must be able to decode the video.
AVI files in our apps
Our apps play AVI when the device or Windows has decoders for its tracks, and name the stream they cannot decode. On Android you can save a frame as JPG; the Windows app can save an MP4 copy.
All Android tools and limits for AVI files
- Playback through the device’s hardware and software decoders, with speed control, aspect-ratio control, and resume.
- Save the current frame as a JPG. This works even for some files whose audio track is the unsupported part.
- Multi-audio-track selection when the container carries more than one track.
- View messages identifying unsupported audio or video tracks.
Limits
- Older DivX, XviD, Sorenson or VP6 encodings may not play. Use a compatible player or conversion tool for unsupported files.
- Video edits and conversions need codecs your device can decode, so many legacy files cannot be edited.
Walkthrough: Edit video and audio on Android