SVP:4K and HDR

From SmoothVideo Project
Jump to navigation Jump to search

4K performance

  • Use 64-bit video players only.
  • 4K/HEVC-compatible hardware decoder is essential.
  • DirectShow players (e.g. MPC-HC): if you have NVIDIA card switch the LAV Video Decoder to NVIDIA CUVID decoder.

Lav-cuvid.png

  • 4K playback in MPC-HC 64-bit is significantly faster than in mpv, but there's a colors issue (see below).
  • mpv player: turn off SVP menu -> Application settings -> Additional options -> Allow output in 10-bit color depth to save CPU power.
  • Enable full hardware acceleration via NVIDIA Optical Flow on compatible cards (Turing and later)

Colors - playing HDR video on SDR display

Special colors processing called "HDR tone mapping" is required is this case, otherwise the colors are washed-out.

Hdr-washed-out.png

DirectShow video players

In DirectShow video players, e.g. MPC-HC, the only filter that can do tone mapping is madVR video renderer. So without SVP the best possible chain for HDR playback is MPC-HC -> madVR. Unfortunately ffdshow filter doesn't support neither HDR not 10-bit video, so when we insert ffdshow between MPC-HC and madVR all we get is washed-out colors as madVR is unable to do tone mapping in this case.

SVP now has its own tone mapping implementation for DirectShow video players. It's much simpler than madVR's but at least it makes HDR movies watchable. SVP menu -> Application settings -> Additional options -> Try to recover HDR colors is on by default so it must work "out of the box".

Hdr-recover.png

This isn't the true HDR tone mapping but it's the best we could do to fix the situation.

mpv video player

mpv has a lot of options for tone mapping and it also supports 10-bit video so it produces much more accurate image than any DirectShow player with SVP's "color recovery". But is also needs significantly more CPU power, especially in 10-bit colors mode (see SVP menu -> Application settings -> Additional options -> Allow output in 10-bit color depth).

This applies to all mpv-based players: Plex Media Player, IINA, mpc-qt, etc.

Colors - playing HDR video on HDR display

As of 07'2019, only VLC can do direct 10-bit HDR playback with SVP enabled. You have to turn on "HDR and WCG" switch in Windows Display settings first.

Hdr windows.png

It works but it's hardly usable for 4K videos due to performance reasons. We'll keep searching for solution to make it less CPU-hungry.

Let's hope mpv will support this too one day: 1 2