0XC00D11A2

Fix NS_E_WMP_CODEC_NEEDED_WITH_FORMATTAG (0XC00D11A2)

Windows Errors Intermediate 👁 0 views 📅 May 26, 2026

Windows Media Player can't decode the audio in a file. The fix is installing the right codec or converting the file to MP3/AAC.

Quick answer

Install the K-Lite Codec Pack Basic or use VLC media player. The error means Windows Media Player can't decode the audio because the required codec isn't registered with Media Foundation.

What's actually happening here

This error with code 0XC00D11A2 shows up in Windows Media Player (WMP) when you try to play an audio file whose compression format isn't supported by the built-in codecs. What's happening under the hood is that WMP relies on Windows Media Foundation to decode audio, and Media Foundation only ships with codecs for WMA, MP3, and basic PCM. If the file uses FLAC, OGG Vorbis, AC3, or even an older WMA variant without the right decoder, you get this error.

The frustrating part is that WMP doesn't tell you which codec is missing. You just see the generic message. Common triggers include downloading a music track in FLAC from a lossless site, receiving a voice recording in OGG format from a friend, or pulling an old WMV file off a backup drive that has compressed audio tracks.

The reason step 3 below works is that codec packs register their decoders directly with Media Foundation, not just with DirectShow. Without that registration, WMP can't see the codec at all.

Fix steps

  1. Find the file format. Right-click the file and select Properties. Look under the General tab for file extension. Common problematic ones: .flac, .ogg, .opus, .ac3, .ape, .wv, .wma without the Pro codec.
  2. Try a different player first. Open the file in VLC media player. If VLC plays it fine, the codec exists but WMP can't access it. Skip to step 3. If VLC also fails, the file is corrupted or uses an obscure encoder — try converting it (see alternative fix).
  3. Install the K-Lite Codec Pack Basic. Download from codecguide.com. During install, choose 'Basic' preset. This registers decoders for FLAC, OGG, Opus, AC3, and most other common formats with Media Foundation. Reboot after install.
  4. Try playing the file again. If it still fails, open regedit and check HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Media Foundation\ByteStreamHandlers for the file extension. If the extension is missing, the codec install didn't register it. Run the codec pack installer again and pick the 'Advanced' preset — it forces registration.

Alternative fixes if main steps fail

  • Convert the file. Use FFmpeg to convert to MP3 or AAC. Open Command Prompt and run:
    ffmpeg -i input.flac -b:a 192k output.mp3
    This drops the file into a format WMP handles natively. The reason this works is that MP3 and AAC decoders are built into Windows — no extra codecs needed.
  • Install a codec one at a time. If you only need FLAC, grab the FLAC Decoder DirectShow filter from rarewares.org. Register it manually with regsvr32 flac.ax from an elevated command prompt. This is surgical but slower.
  • Switch permanently to VLC. WMP's codec handling has been weak since Windows 7. VLC bundles its own decoders and ignores Media Foundation entirely. You won't see this error again.

Prevention tip

Stick to MP3, AAC, or WMA Pro for files you plan to play in WMP. If you archive music in FLAC, keep a secondary batch as MP3 for everyday playback. Or just switch to VLC and stop fighting Windows codec management.

One more thing: if you're on Windows 10 or 11, the Microsoft.HEIFImageExtension and Microsoft.VP9VideoExtensions from the Store can help with newer formats, but they won't fix legacy codec errors. The root cause is always a missing Media Foundation decoder registration.

Real-world trigger: A friend sent you a voice note in .ogg format from an Android recorder. WMP errors out. VLC plays it. K-Lite Codec Pack Basic fixes it permanently.

Was this solution helpful?