X HEVC/H.265 Codec for Windows
A free H.265 codec download that makes HEVC video play in MPC-HC, MPC-BE, PotPlayer and other DirectShow players - with your GPU doing the work.
Need every format, not only HEVC? X Codec Pack includes this decoder plus 50+ other codecs and filters.
Test HEVC (H.265) playback on your PC
Check in one click whether this PC decodes HEVC, then download a sample clip to test your media player.
- HEVC Main (8-bit)-
- HEVC Main 10 (10-bit, HDR)-
- Sample clip decodes-
Test your media player - download a sample
Every clip has a 440 Hz tone. Sound with a black or frozen picture means the HEVC decoder is missing.
Play HEVC files in three steps
Download and run setup
Close your media players, run X-HEVC-H265-Codec_Setup.exe and confirm the admin prompt. Setup needs 64-bit Windows 11 or 10.
Pick your decoder options
Keep hardware decoding and the merit fix ticked unless you have a reason not to. You can change both later in LAV Video settings.
Open an HEVC file
MPC-HC, MPC-BE and PotPlayer in DirectShow mode now play H.265 video. Use a sample clip from the test above to confirm it.
Hardware decoding, software fallback and the merit fix
Hardware decoding with automatic software fallback (default)
LAV Video decodes HEVC on your GPU through D3D11, which keeps 4K playback smooth and the CPU nearly idle.
When the GPU cannot handle a file - an old card, a 12-bit stream or an unusual profile - LAV switches to software decoding on its own.
Software decoding only
Every frame is decoded on the CPU. Pick this if you see a green or black picture, colour glitches or crashes with hardware decoding.
A modern 6-core CPU handles 4K HEVC in software, but laptops get warmer and use more battery.
Merit fix - make LAV the preferred decoder
DirectShow players pick decoders by a priority number called merit. Another codec pack can win that contest and leave HEVC files stuttering or black.
The merit fix raises LAV Video and LAV Splitter above other installed decoders. It does not touch Media Foundation apps such as Media Player and Films & TV.
Uninstalling removes LAV's registration, so the old order comes back by itself.
X HEVC/H.265 Codec vs the alternatives
X HEVC/H.265 Codec
- Free, no Microsoft Store or account
- Works in MPC-HC, MPC-BE, PotPlayer, Zoom Player
- GPU decoding with software fallback
- Main 10, HDR10, 4K and 8K
- VVC (H.266) playback included
- Merit fix built in
- Does not add HEVC to Media Player or Films & TV
HEVC Video Extensions
- Made and signed by Microsoft
- Adds HEVC to Media Player, Films & TV and Photos
- Store listing is paid - the free build is the Device Manufacturer version
- No effect on DirectShow players
- Needs the Store, often blocked at work
X Codec Pack 3.0
- Same LAV decoder, plus 50+ formats
- Audio, subtitles and MPC-HC player
- One installer for everything
- Larger download if you only need HEVC
HEVC still not playing?
Sound but no picture. Your player is not using LAV Video. Run setup again with the merit fix ticked, or pick LAV Video in your player's external filters list.
Green, black or blocky picture. The GPU path is failing on that file. Open LAV Video settings from the Start Menu and set Hardware Decoder to None, or reinstall and choose software only.
Stutters on 4K. Check that hardware decoding is active: play the file and watch Task Manager > Performance > GPU > Video Decode. Our GPU checker shows whether your card decodes Main 10.
Media Player or Films & TV still fail. Those apps use Media Foundation, not DirectShow. They need the free HEVC Video Extensions from Device Manufacturer.
VLC. VLC has its own decoders and plays HEVC without any codec - this installer does not change it.
Silent install and uninstall
Setup runs unattended with /S. A silent install turns on hardware decoding and the merit fix unless you switch them off.
X-HEVC-H265-Codec_Setup.exe /S
X-HEVC-H265-Codec_Setup.exe /S /SOFTWARE /NOMERIT
"C:\Program Files\X Codec Pack\HEVC-H265\Uninstall.exe" /S
| Switch | Effect |
|---|---|
/S | Silent install with default options |
/SOFTWARE | Software decoding only - no GPU |
/NOMERIT | Leave decoder merits as they are |
Uninstall only unregisters LAV if this installer's copy is the active one. If X Codec Pack or X VVC Codec is also installed, their LAV is registered again so playback keeps working.
SHA-256 checksum
The installer is not code-signed, so SmartScreen may call it unrecognised. The hash proves your file is byte-for-byte the one we built.
286D 5457 EACD 22A6 5E6E D2AF E28F 0875 B865 0451 4AF6 D29D 5BDF 1B0C A5D0 5425Check it in PowerShell: Get-FileHash .\X-HEVC-H265-Codec_Setup.exe