
Sometimes a video won’t play in Windows, shows only a black screen, or plays with no sound. Usually a codec is missing. A codec is the small piece of software that decodes a particular video or audio format, such as HEVC (H.265) or AC3.
You have three good options: add official codecs from the Microsoft Store, install a codec pack, or use a player that has codecs built in.
Option 1: Add official codecs from the Microsoft Store
Windows 11 and Windows 10 support many formats already. For others, Microsoft offers extensions:
- Open the Microsoft Store.
- Search for the extension you need:
- HEVC Video Extensions for H.265 videos from phones and cameras (small paid app).
- AV1 Video Extension (free).
- VP9 Video Extensions (free).
- HEIF Image Extensions for iPhone photos (free).
- Click Get or Install, then reopen your video in the Media Player app.
These extensions work in the built-in Media Player, Photos and other Windows apps.
Option 2: Install a codec pack
Codec packs such as Media Player Codec Pack or K-Lite Codec Pack add support for a long list of formats at once.
- Download the pack only from its official website.
- Run the installer and read each screen carefully. Untick any extra offers or toolbars.
- Keep the default settings unless you know you need something different.
- Restart your player and open the video again.
Install only one codec pack at a time. Several packs together can conflict and cause crashes.
Option 3: Use a player with built-in codecs
Free players like VLC media player include their own codecs, so they play almost any file without installing anything else. This is the simplest and cleanest choice for most people.
Useful tips
- To see which codec a file needs, open it in VLC and go to Tools > Codec Information.
- Keep your graphics driver up to date. Hardware video decoding depends on it.
- Avoid “codec” downloads offered by pop-ups on video websites. These are a common way to spread malware.
Frequently asked questions
Why is HEVC not free?
HEVC is a licensed format, and Microsoft charges a small fee for the extension. Some PCs come with it preinstalled by the manufacturer.
Can I remove a codec pack later?
Yes. Uninstall it from Settings > Apps > Installed apps like any other program.



