Windows Media Player Won't Play AVI? Fix It Now
In this article
Windows Media Player (WMP) often fails to play AVI files because the codec needed to decode the video or audio is missing or outdated. The quickest fix is to install a free codec pack like K-Lite Codec Pack, or convert the AVI file to a format WMP natively supports (like MP4). Below are step-by-step solutions, from simple to advanced.
What You'll Need
- Administrator access to your PC (to install codecs or change settings).
- An internet connection to download codecs or a converter.
- Optional: VLC Media Player (free) as a fallback player.
Step-by-Step
Method 1: Install a Codec Pack (Most Likely Fix)
- Open your web browser and go to the official K-Lite Codec Pack download page (codecguide.com).
- Download the "Basic" or "Standard" version (free).
- Run the downloaded installer. If Windows asks for permission, click "Yes".
- In the installer, choose "Recommended" settings and click "Next" through the prompts.
- Restart Windows Media Player after installation.
- Try playing the AVI file again. If it still fails, try the "Full" version of the pack, which includes more codecs.
Method 2: Use a Different Player (Immediate Workaround)
- Download and install VLC Media Player from the official site (videolan.org).
- Open VLC and drag your AVI file into the window. It should play without any extra setup.
- If VLC plays it, you can keep using VLC or convert the file (see Method 3).
Method 3: Convert the AVI to MP4 (Permanent Fix)
- Download a free converter like HandBrake (handbrake.fr) or use an online converter (e.g., CloudConvert).
- Open the converter, select your AVI file as the source.
- Choose "MP4" as the output format.
- Start the conversion and wait for it to finish.
- Open the new MP4 file in Windows Media Player – it should play smoothly.
Method 4: Check Windows Media Player Settings
- Open Windows Media Player.
- Click on "Organize" in the toolbar, then "Options".
- Go to the "Player" tab and ensure "Download codecs automatically" is checked.
- Click "Apply" and "OK".
- Try playing the AVI again. If it still fails, restart your PC and retry.
Common Mistakes
- Installing the wrong codec pack: Some packs are outdated or bundled with adware. Always use K-Lite or another reputable pack.
- Not restarting after installing codecs: Windows Media Player may not recognize new codecs until you close and reopen it, or restart your PC.
- Assuming all AVI files are the same: AVI is a container; the video inside could be DivX, Xvid, H.264, or something else. A codec pack covers most, but not all.
- Converting to the wrong format: MP4 with H.264 video and AAC audio is the safest bet for WMP.
Tips
- Keep your codec pack updated – newer codecs are added as formats evolve.
- If you only occasionally play AVI files, VLC is simpler than installing codecs.
- For batch conversions, HandBrake can process multiple files at once.
- Check the file itself: right-click the AVI file, select "Properties", and see the "Video" and "Audio" tabs (if available) to know which codec it uses.
Troubleshooting
If the steps above didn't work, try these in order:
- Restart your PC: Sometimes a simple reboot clears codec conflicts.
- Run Windows Media Player as administrator: Right-click the WMP shortcut and select "Run as administrator".
- Check for file corruption: Try playing the AVI in VLC. If VLC also fails, the file may be corrupted – re-download or re-rip it.
- Disable hardware acceleration: In WMP, go to Tools > Options > Performance, and uncheck "Use hardware acceleration" (or set it to "None").
- Reset WMP settings: Close WMP, then in Windows Settings, go to Apps > Apps & features, find Windows Media Player, and click "Advanced options" > "Reset". This clears custom settings but not your library.
- Reinstall WMP: Go to Windows Settings > Apps > Optional features, remove Windows Media Player, then add it back. This restores the default codecs.
Frequently Asked Questions
Why does WMP play some AVI files but not others?
AVI is a container format – the video and audio inside can be encoded with different codecs. If a specific codec isn't installed, WMP can't decode it. Installing a comprehensive codec pack usually fixes this.
Is it safe to install codec packs?
Yes, if you download from a reputable source like K-Lite's official site. Avoid random download sites that bundle adware or malware.
Will converting AVI to MP4 lose quality?
Most converters allow you to choose quality settings. If you use a high bitrate, the loss is negligible. For archival purposes, keep the original file.
Can I use VLC instead of WMP permanently?
Yes, VLC plays almost any format without extra codecs. You can set it as your default player in Windows Settings > Apps > Default apps.
Does Windows 10/11 still support AVI?
Windows supports the AVI container, but not all codecs inside it. Microsoft removed some older codecs for security reasons, so installing third-party codecs is often necessary.
Why does WMP show a black screen with audio for AVI?
This usually means the video codec is missing or incompatible. Installing a codec pack or converting the file to MP4 should resolve it.