How to Add AVI Codec to Windows Media Player in Windows 10, 8.1

By: Marian Cularea
4 minute read
play avi windows media player

If you are looking to add an AVI codec to your Windows Media Player in Windows 8.1 or Windows 10, then this is the place to be.  In this guide, we’ll show you how to play AVI on Windows Media Player. Follow the instructions below, and you’ll learn how to run the AVI codec on your Windows 8.1 or Windows 10 operating system, as well as any other codecs your Windows Media Player might not support.
How to add an AVI codec to windows media player in Windows 8.1 and Windows 10
Unfortunately, Microsoft has not provided support yet in the Windows Media Player application for the AVI codec you get when you install the operating system. Also, the AVI file format is created with the help of the video encoding process DivX. By applying some tweaks in Windows Media Player we will get this done and get your AVI formats playing in the application.

When the Windows Media Player fails to play AVI, you may get one of the following error messages:

  • Invalid File Format Error=8004022F
  • Cannot play back the file. The format is not supported. Error=80040265
  • Cannot play back the video stream: no suitable decompressor could be found. Error=80040255
  • No combination of filters could be found to render the stream. Error=80040218
  • The source filter for this file could not be loaded. Error=80040241
  • Windows Media Player cannot open filename. You may need to reboot to complete installation of a downloaded component. Please verify that the path and filename are correct and try again. Error=80004005
  • One or more codecs required to open this content could not be found. Error=C00D10D1
  • Video not available, cannot find ‘VIDS:xxxx’ decompressor.
  • Unable to download an appropriate decompressor Error=80040200

Steps to add AVI codec to Windows Media Player

  1. Double click on an AVI file you want to view in Windows Media Player.
  2. Windows will prompt you with a message telling you that you don’t have the necessary codecs to run this file format.
  3. You will then have to left click or tap on the “Web Help” button situated in the lower right side of the message.
  4. Right after you left click on the “Web Help” your Windows operating system will open the default web browser you are using.
    Note: In most of the cases the default web browser is Internet Explorer.
  5. It should take you to a website from where you will need to download the specified codecs.
  6. Search for the” MPEG-4 (Xvid) codec” on the website.
  7. Left click or tap on the “WMPlugins” link you have on this website.
  8. After you left clicked on the link above it should take you to the Xvid Codecs download site.
  9. Left click or tap on the Download button in the Xvid Codecs download site.
  10. Follow the instructions on the screen to download the codec to your PC.
  11. After the download is completed, you will need to left click or tap on the “Run” button in order to run the installation process of the codecs.
  12. Follow the instructions on the screen to finish the installation.
  13. Now you will need to left click or tap on the “Close” button from the message that Windows Media Player prompts you that you don’t have the necessary codecs to run the specified file.
  14. Close Windows Media Player Application.
  15. Reboot your Windows 8.1 or Windows 10 operating system.
  16. After the System starts up again you will need to try to open again the AVI file and check if it works.

Speaking of Windows Media Player codecs, the K-Lite Codec Pack is one of the most comprehensive codec packs that you can download on your computer. So, if you already downloaded some codec packs, yet the WMP still won’t play AVI files, try adding K-Lite to Windows.

Go to CodecGuide and get the K-Lite package as a standard download. Complete the install process and check if this solved your problem.

If the Windows Media Player still won’t play AVI files, this means that there’s a severe technical issue affecting it. We also compiled a detailed troubleshooting guide on what to do if the Windows 10 Media Player won’t play AVI files.

This is all you need to do in order to play your AVI file format on the Windows 8.1 or Windows 10 Media Player. Also, you can use the comments section below if you have any other questions regarding this post.


Editor’s Note: This post was originally published in January 2015 and has been since updated for freshness, and accuracy.

For various PC problems, we recommend this tool.

This software will repair common computer errors, protect you from file loss, malware, hardware failure and optimize your PC for maximum performance. Fix PC issues now in 3 easy steps:

  1. Download this PC Repair Tool rated "Excellent" on
  2. Click “Start Scan” to find Windows issues that could be causing PC problems.
  3. Click “Repair All” to fix all issues with Patended Technologies (requires upgrade).


Next up

Best Windows 10 antivirus software to use in 2018

By: Radu Tyrsina
7 minute read

Update – 2018 will soon come to an end and we already have a guide on what is the best antivirus you should get in […]

Continue Reading

These features are out for good with Windows 10 version 1809' By: Sovan Mandal
2 minute read

Microsoft is all set to launch its next big update, Windows 10 version 1809 in October. While that should be a nice piece of news […]

Continue Reading

Windows 10 18H2 builds no longer receive new features

By: Matthew Adams
3 minute read

The Windows 10 October 2018 Update (otherwise 18H2) rollout might now be two to three weeks away. For the last few months, new build previews […]

Continue Reading