How to open and convert AVI and WMV video files
Updated · 3 min read
AVI and WMV files come from older cameras, Windows-era downloads and screen recorders, and they're often the videos that won't play on a phone, a Mac or in a browser. Both are Microsoft formats, and both are containers: the file is a wrapper, and what decides whether it plays is the codec inside. Here is what each format is, which free apps play them on every system, and how to turn them into MP4 so they play everywhere.
In this guide
What AVI and WMV are
AVI (Audio Video Interleaved) was first specified by Microsoft in 1992, as part of the RIFF family of file formats it developed with IBM. An AVI file wraps a video stream and its sound; the video inside can be compressed with many different codecs, depending on the camera or program that made it.
WMV (Windows Media Video) is video stored in Microsoft's own ASF container (Advanced Systems Format), normally with Windows Media Video and Windows Media Audio codecs inside. It was common for Windows downloads, webcams and Windows Movie Maker exports.
That's why one AVI plays and another doesn't on the same computer: the container is the same, but the codec inside isn't. A player needs to understand both.
The quickest fix: VLC
VLC media player is free and open source, runs on Windows, macOS, Linux, Android and iOS, and plays most codecs with no codec packs to install. It opens practically every AVI and WMV file, including old ones. If you only need to watch the video, install VLC and open the file with it.
What plays them out of the box
| System | WMV | AVI |
|---|---|---|
| Windows 11 (Media Player, Windows Media Player) | Yes: WMV codecs are built in | Only if the codec inside is installed |
| Mac, iPhone, iPad | Apple suggests another app | Apple suggests another app |
Microsoft lists WMV, H.264, VC-1, DV, VP8 and Motion JPEG among the codecs built into Media Player on Windows, and says an AVI file plays in Windows Media Player if the appropriate codecs are installed. Apple's advice for a file that won't open, naming .avi and .wmv as examples, is to use an app that supports the format.
Convert them to MP4
MP4 with H.264 video and AAC sound plays on every phone, computer, TV and browser, so converting once saves trouble every time the video is shared. These free apps run on your own computer:
HandBrake (Windows, Mac, Linux)
- Install HandBrake from handbrake.fr. It's free and open source, and opens AVI and WMV among many other formats.
- Open the AVI or WMV file (File, or drag it onto the window).
- Pick a preset, for example Fast 1080p30, and check that the format is MP4.
- Choose where to save it and select Start Encode.
HandBrake only produces MP4, MKV or WebM, and it doesn't work on copy-protected video.
VLC (Windows, Linux; on a Mac the menu is named differently)
- Choose Media > Convert/Save.
- Select Add, pick the file, then Convert/Save.
- Choose a profile such as Video – H.264 + MP3 (MP4), set the destination file, and select Start.
VLC is quick for one-off files; HandBrake gives more control over size and quality and handles batches better.
What this site can do, and can't
The video tools here run in your browser, and they can't open AVI or WMV files yet. Once a video is MP4, MOV, MKV or WebM, though, everything works without uploading: Compress Video gets it under an email or chat limit, and the Video Converter changes its format or makes a GIF or MP3 from it.
Shrinks the converted MP4 to fit email, WhatsApp or Discord.
If a video from an iPhone won't play on Windows, the problem is usually the codec rather than the format; see why an iPhone video won't play.
Sources
- Library of Congress: AVI (Audio Video Interleaved) file format
- Library of Congress: WMV (Windows Media Video) file format
- VideoLAN: VLC media player
- VLC user documentation 3.0: Convert/Save
- Microsoft Support: File types supported by Windows Media Player
- Microsoft Support: Codecs in Media Player
- Apple Support: If a media file doesn't open or play on your Apple device
- HandBrake documentation: Source formats