Mpv Nvidia

Posted onby
  • 2Colors - playing HDR video on SDR display
Nvidia

4K performance tips

  • Use 64-bit video players only, ensure you have at least 16 GB of RAM installed.
  • 4K/HEVC-compatible hardware decoder is essential (except for VLC, see below!)
  • DirectShow players (e.g. MPC-HC): if you have NVIDIA card switch the LAV Video Decoder to NVIDIA CUVID decoder.

For hardware decoding HEVC 10 bit video you can use mpv player with cuda. Just install mpv player sudo apt install mpv and create configuration file in which you'll put one line, using this command echo 'hwdec=cuda' /.config/mpv/mpv.conf. For browsers there are not any good working and stable solutions (same thing for AMD). Nvidia Shield - Use MPV for Live TV. By cbdudek, July 20, 2018 in Android TV / Fire TV. Share Followers 3. Recommended Posts. Cbdudek 10 Posted July 20, 2018. GPU: NVIDIA GeForce GTX 1070CPU: Intel(R) Core(TM) i7-10700K CPU @ 3.80GHzMemory: 16 GB RAM (15.87 GB RAM usable)Current resolution: 1920 x 1080, 60HzOperati.

  • May 26, 2017 Playing 10bit HEVC videos on Linux with NVIDIA and mpv. Posted on Fri 26 May 2017 in dev. For this to work you will need an NVIDIA GPU. Get the mpv-build scripts.
  • Download this app from Microsoft Store for Windows 10. See screenshots, read the latest customer reviews, and compare ratings for NVIDIA Control Panel.

Mpv Linux Mint

  • 4K playback in MPC-HC 64-bit is significantly faster than in mpv, but there's a colors issue (see below).
  • mpv or VLC: turn off SVP menu -> Application settings -> Additional options -> Allow output in 10-bit color depth to save CPU power.
  • VLC only: turn OFF (!!!) hardware video decoder, or just run VLC via SVP's main menu.
  • 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.

DirectShow video players

Mpv Nvidia Config

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. Luckily there's a workaround for madVR, see below.

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'.

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

Mpv Nvidia

mpv video player

NvidiaMpv Nvidia

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

Only for Windows 10!

1. mpv player after 2019-10-31 can do direct HDR playback - use either SVP-provided build or shinchiro's build 20191102 or later.

2. VLC 3.0 can do the same but mpv's performance is better.

In both cases you have to turn on 'Play HDR games and apps' or 'HDR and WCG' (the name depends on the Windows version) switch in Windows Display settings first.

3. A workaround for MPC-HC + madVR: rename video file, insert '.hdr=on.' tag somewhere in the middle OR move the video file into folder containing the same tag. For example:

  • 'The.Movie.2019.mkv' -> 'The.Movie.2019.hdr=on.mkv', or
  • 'D:videosThe.Movie.2019.mkv' -> 'D:videoshdr=onThe.Movie.2019.mkv'

Then madVR should do its job of switching display mode, etc.

Transcoding

At the time (December 2020) there's no known way to transcode HDR source while keeping HDR data. The best you can do is apply a tonemapping filter to a 10-bit HDR source and convert it into 8-bit SDR. To do this, switch to Advanced mode, put the exact string

into lavfi field and set depth to 8-bit. You can read more about tonemap filter options there.

Retrieved from 'https://www.svp-team.com/w/index.php?title=SVP:4K_and_HDR&oldid=6016'