Error explained
Error 0xc00d5212: "missing codec" isn't always a codec problem
Windows shows 0xc00d5212 — "a codec required to play this file isn't installed." Nine times out of ten that's true and the fix takes two minutes. But if the video came from a crashed recording or a camera that lost power, the "missing codec" is actually unreadable stream data, and no codec pack will fix it. Here's how to tell the difference.
The common case: HEVC isn't installed
GoPros, DJI drones, iPhones, and most modern Android phones record in HEVC (H.265) by default. Windows doesn't decode HEVC out of the box, so healthy footage throws 0xc00d5212 in Movies & TV and Media Player.
- Fastest fix: play the file in VLC — it ships its own decoders.
- System fix: install "HEVC Video Extensions" from the Microsoft Store.
- Editor fix: convert to H.264 with HandBrake if your editor rejects HEVC.
The corruption case: the stream itself is unreadable
If the file also fails in VLC, or MediaInfo shows no video track at all, the problem isn't a codec — the stream data or the file's index is damaged. This happens when:
- the camera lost power or overheated mid-recording,
- the recorder (OBS, Streamlabs, a phone app) crashed before finalizing,
- the SD card was pulled before the camera finished writing,
- the file was truncated during a transfer.
Quick diagnosis: open the file in VLC and check it with MediaInfo. Plays in VLC → install HEVC. Fails everywhere and MediaInfo can't see the tracks → structural corruption; repair the file, don't hunt for codecs.
Repairing the corrupt case
- Duplicate the file and work on the copy.
- Try a stream copy:
ffmpeg -i broken.mp4 -c copy fixed.mp4. If FFmpeg reports "invalid data found when processing input", the index is gone. - Rebuild from a reference clip — a short healthy recording from the same device and settings. See the reference-file method.
Repair the file, skip the codec hunt
StreamSalvage rebuilds interrupted recordings on your own PC from a 10-second reference clip. Preview the repair free, pay $29 only if it works. Nothing is uploaded.
Download StreamSalvage for WindowsFrequently asked questions
What does error 0xc00d5212 mean?
Windows says a codec needed to play the video is missing. On healthy files it usually means HEVC/H.265 isn't installed. On files from an interrupted recording, it can mean the container is readable but the stream data inside is scrambled or truncated — actual corruption, not a codec gap.
How do I fix 0xc00d5212 if it's just the HEVC codec?
Install the "HEVC Video Extensions" from the Microsoft Store, or simply play the file in VLC, which ships its own decoders. GoPro, DJI, and modern phone footage is commonly HEVC, which Windows doesn't decode out of the box.
Why do I get 0xc00d5212 on a recording that was interrupted?
When a recording is cut off, the file may keep a partial header while the stream data is incomplete. Windows then misreports the unreadable stream as a missing codec. If VLC and MediaInfo also fail on the file, treat it as corruption and repair the structure.
Can a corrupt file showing 0xc00d5212 be repaired locally?
Yes. Using a short healthy clip recorded with the same device and settings, the broken file's structure can be rebuilt on your own PC. StreamSalvage does this with a free preview and no upload.