Help! I Have Audio But No Video While Playing an AVI File in Windows Media Player: If your AVI movie plays sound but no picture in Windows Media Player (WMP), the issue is usually caused by a missing video codec. In many cases the audio track plays correctly while the video fails to render because the required decoder is not installed.
Common AVI video compression formats include XVID, DIVX, DX50, and mp4v. Windows Media Player can often play the audio portion of these files, but without the correct codec your PC cannot display the video.
Fortunately, the problem is easy to fix.
Why AVI Files Play Audio But No Video
The AVI file format is simply a container that can hold video encoded with many different compression methods. If Windows Media Player does not have the correct codec installed, it cannot decode the video stream.
This results in a common playback issue where:
- The audio track plays normally
- The screen remains black
- Windows Media Player may show an error or blank video area
Installing the proper codec or using a modern media player usually resolves the issue immediately.
How to Play AVI Files in Windows Media Player (Legacy Method)
If you prefer to keep using Windows Media Player, installing the XVID codec will allow WMP to decode many common AVI video formats.
- Download the XVID Codec:
Visit the official download page and get the latest version:
Download the XVID codec - Install the Codec:
Run the downloaded installer file (typically named Xvid-1.3-###.exe) and follow the installation instructions. - Restart Windows Media Player:
Close and reopen Windows Media Player so it loads the newly installed codec. - Open Your AVI File:
Your movie should now display both video and audio correctly.

Hancock AVI trailer playing in Windows Media Player after installing the correct codec
Modern Alternatives (Recommended)
Installing individual codecs works, but modern media players make this unnecessary by including built in support for almost every video format.
- VLC Media Player – One of the most popular media players available. VLC can play almost every video format including AVI, XVID, DIVX, DX50, MP4, MKV, and more without installing additional codecs.
Download VLC Media Player - K-Lite Codec Pack – A complete collection of audio and video codecs that allows Windows Media Player to play nearly all modern and legacy media formats.
Download K-Lite Codec Pack
Troubleshooting AVI Playback Problems
If your AVI file still has audio but no video after installing a codec, try the following fixes:
- Restart your media player after installing codecs.
- Try opening the file in VLC to confirm the video itself is not corrupted.
- Check file integrity. Some AVI files may be damaged during download.
- Install a full codec pack such as K-Lite if multiple codecs are missing.
- Update graphics drivers if video rendering fails.
Pro Tips for Playing AVI Files
- Always download codecs from official sources to avoid malware.
- A full codec pack can prevent future playback problems.
- Modern players like VLC remove the need for manual codec installation.
- Converting AVI files to MP4 can improve compatibility on newer systems.
Final Thoughts
If your AVI file plays sound but no video in Windows Media Player, the cause is almost always a missing codec. Installing the XVID codec or switching to a modern player like VLC will usually resolve the issue in minutes.
Once the proper codec or player is installed, your AVI files should play normally with both video and audio.
Related searches: AVI plays audio only, XVID codec Windows Media Player, DIVX AVI no video fix, install XVID codec Windows, DX50 AVI playback issue, VLC play AVI files, K-Lite Codec Pack tutorial