I ditched VLC and finally got high-quality HDR playback without any lag. Here's why mpv is the clear winner for HDR movie playback, and how to set it up.
The Problem with VLC
VLC is a great media player, but it just didn't cut it for my 4K HDR monitor. The colors looked washed out, the HDR tone mapping was all over the place, and there were noticeable micro-stutters. I'd already optimized my Windows 11 settings, so the issue wasn't my display. Tweaking VLC's settings proved futile.
Introducing mpv
That's when I discovered mpv, a free, open-source media player that runs on Windows, macOS, and Linux. It's a barebones player with no frills, just a black window that says "Drop files or URLs to play here."
The installation process is a bit more involved than the usual download-and-click routine, but it's worth it. On Windows, you can use a package manager like scoop or choco, or manually download a prebuilt version from mpv.io.
Setting Up mpv for HDR
The key to getting mpv to work with HDR is its config file, mpv.conf. Here are the three lines that made a huge difference:
- vo=gpu-next
- target-colorspace-hint=yes
- hwdec=auto
These lines switch to mpv's newer video output for better color handling, force your display into HDR mode, and hand decoding to your GPU for smooth 4K playback.
Customization and Scripts
mpv's plain-text config files let you customize every key and mouse button. The defaults are already pretty good, but you can map zoom, rotation, and other functions to your preferred keys.
The real power comes from Lua scripting. You can create small scripts to automate tasks, like zooming with a single key or opening links directly in mpv without a browser.
Why mpv is the MVP
mpv is light on resources, making it perfect for running all day. It doesn't eat up your screen space or CPU, so you can easily run multiple windows side by side. It's also a great image viewer, letting you open and zoom in on images.
The Verdict
While mpv isn't perfect (it lacks a library for organizing media and has a fussier install process), it's the clear winner for HDR movie playback. Three lines of config brought me accurate colors and smooth playback, something hours of fighting VLC never achieved.
So, if you're tired of VLC's limitations with HDR, give mpv a try. It's a powerful, customizable player that will make your 4K HDR monitor shine.