Fixed This Video File Cannot Be Played Error Code
In this article
The "This video file cannot be played" error code (often 0xc00d36c4, 0xc00d5212, or 0xc00d3e8a) appears when Windows Media Player, Movies & TV, or another media app can't decode the file's audio or video stream. The fix is usually to install the correct codec, convert the file to a widely supported format like MP4 (H.264/AAC), or repair the file itself—start by trying a different player like VLC, which bundles its own codecs and will play most files without extra setup.
Why This Error Happens
Video files are containers (like .avi, .mkv, or .mp4) that hold compressed audio and video streams. The streams are encoded with codecs—H.264, HEVC, VP9, AAC, MP3, and so on. The player app must have a decoder for each codec used in the file. If the decoder is missing, expired, or the file is corrupted, the app throws a generic error code instead of playing the video.
Common triggers:
- The file uses a newer codec (e.g., HEVC/H.265) that your Windows version doesn't support out of the box.
- The file is partially downloaded or copied from a disc with errors.
- The file extension doesn't match the actual container (e.g., renamed .mp4 that is really an .mkv).
- The app itself is outdated or its codec pack is broken.
First Steps to Fix the Error
- Try a different player. Download VLC Media Player or MPV. These are free, open-source, and include decoders for nearly every common codec. If the file plays in VLC, the problem is your default player's missing codec, not the file.
- Update the default player. Open Microsoft Store, check for updates for "Movies & TV" and "Media Feature Pack" (Windows N editions). For Windows Media Player, run Windows Update to install the latest codecs.
- Install HEVC codec. If the error appears with .mp4 files from phones or cameras, they may use HEVC (H.265). Windows 10/11 often needs the HEVC Video Extensions from the Store (some are paid, some free for devices from certain manufacturers).
- Check the file size. If the file is much smaller than expected (e.g., a 700 MB video is only 3 MB), it's likely incomplete. Re-download or re-copy it.
- Rename the extension. If you know the file is actually a different format, change the extension to match. For example, a .mkv file mislabeled as .avi might play after renaming to .mkv.
Converting the File to a Safe Format
If no player works and the file isn't corrupt, converting it to a broadly compatible format is the most reliable fix. MP4 with H.264 video and AAC audio plays on almost everything—Windows, macOS, Android, iOS, smart TVs, and game consoles.
Free tools like HandBrake or FFmpeg can do this. In HandBrake:
- Open the file (it will load even if it can't play).
- Choose "Fast 1080p30" preset.
- Set the container to MP4 and ensure video codec is H.264, audio is AAC.
- Start encode. The output file should play in Windows Media Player.
This also fixes the error if the original file has a rare codec that no player on your system supports.
Repairing a Corrupted Video File
If the error appears mid-playback or only at a certain point, the file may be damaged. Try these in order:
- Play in VLC—it can often skip damaged sections.
- Use FFmpeg to copy streams without re-encoding:
ffmpeg -i input.avi -c copy output.avi. This rewrites the container structure and can fix index issues. - Use a dedicated repair tool like Untrunc (for MP4/MOV) or Restore Media (for AVI). These rebuild the file's header from a reference file recorded with the same camera/settings.
For partially downloaded files, re-downloading is often simpler than repairing.
What the Error Codes Really Mean
Windows uses several codes for this same message:
- 0xc00d36c4 – The file is not a valid media file or the codec is unsupported. This is the most common.
- 0xc00d5212 – The file is protected (DRM) or the license is missing/expired. This often happens with rented or downloaded content from store apps.
- 0xc00d3e8a – The audio or video stream cannot be decoded, often due to missing codec.
- 0xc00d4a86 – The file is corrupted or the container is broken.
For DRM-related codes, you may need to re-download the file from the store where you purchased it, or update the app's license. No third-party tool can legally bypass DRM.
Preventing the Error in the Future
- Install a codec pack like K-Lite (only if you prefer Windows Media Player; VLC makes this unnecessary).
- Keep Windows and Store apps updated.
- When downloading, use a download manager that verifies file integrity.
- Store videos on a healthy drive—bad sectors can corrupt files over time.
Frequently Asked Questions
Why does VLC play the file but Windows Media Player doesn't?
VLC includes its own copies of codecs (like FFmpeg) and doesn't rely on Windows' codec system. Windows Media Player uses the OS codec database, which may lack decoders for formats like MKV, FLAC, or VP9. That's why VLC can play nearly anything.
Is it safe to download codec packs?
Stick to well-known packs like K-Lite Standard or the official HEVC extensions from Microsoft Store. Avoid random "codec download" sites that bundle adware. With VLC, you don't need any codec pack.
Can I fix the error by changing the file extension?
Sometimes. If the file is actually an MP4 but named .avi, renaming to .mp4 may help the player pick the right decoder. But if the codec inside is unsupported, renaming won't help—you need to convert the file.
Why does the error say "codec unavailable" on a brand new phone video?
Modern phones often record in HEVC (H.265) to save space. Windows 10/11 doesn't include HEVC support by default due to licensing costs. Install the HEVC Video Extensions from the Microsoft Store, or convert the video to H.264.
What should I do if the video is from a security camera?
Security cameras often use proprietary codecs (like H.264+ or MJPEG with custom headers). Check the camera's software for an export function that converts to standard MP4. If not, use FFmpeg with the camera's specific parameters—you may need to contact the manufacturer for codec info.