←back to thread

1113 points Bluestein | 3 comments | | HN request time: 0s | source
Show context
jwells89 ◴[] No.41277461[source]
This has always worked well for me, handling anything that’s thrown at it with ease.

Things may have changed since then, but when I first encountered the project several years ago it seemed like the thing that made this project stand out compared to other player projects was a big emphasis on correctness and accurate playback. There have files I’ve encountered that for example VLC will play with quirks (color reproduction is not quite right, etc) that mpv plays perfectly.

replies(3): >>41277592 #>>41278071 #>>41278458 #
loeg ◴[] No.41278458[source]
Hm, I've had (significant) issues with color representation playing back "HDR" media in mpv.
replies(3): >>41278555 #>>41278682 #>>41283164 #
SSLy ◴[] No.41278682[source]
was the material purple-green by chance?
replies(1): >>41278731 #
loeg ◴[] No.41278731{3}[source]
Yeah. I did try playing around with some of the colorspace options you can find googling, but nothing seemed to work.
replies(3): >>41278744 #>>41279203 #>>41279705 #
emestifs ◴[] No.41279203{4}[source]
Try this in your mpv.conf file

    no-config
    target-trc=pq
    target-prim=bt.2020
    vo=gpu-next
Wont be 100% accurate, but hopefully somewhat watchable

See also https://github.com/mpv-player/mpv/issues/10122

replies(2): >>41279406 #>>41283309 #
loeg ◴[] No.41279406[source]
Still very green/purple. It's fine, I was able to find a non-HDR version.
replies(1): >>41283236 #
adrian_b ◴[] No.41283236[source]
Then you probably have either a very old mpv or one that was compiled without including the "gpu-next" video output driver.

Or else the GPU drivers for your GPU card have not been updated for a very long time.

A recent mpv and recent GPU drivers should solve this problem, because it was frequently encountered only up to a couple of years ago.

replies(1): >>41285093 #
1. loeg ◴[] No.41285093[source]
mpv 0.36.0 from July 2023, nvidia 555.58.02 drivers from August 2024 (Fedora 39).
replies(2): >>41288811 #>>41289964 #
2. Narushia ◴[] No.41288811[source]
I would try updating to 0.37.0 or 0.38.0, IIRC it only started to work for me after I updated to one of those (I always build mpv from the latest commit myself, so I'm not sure which release version exactly has the crucial fixes).
3. adrian_b ◴[] No.41289964[source]
My output of "mpv --version":

  mpv 0.38.0 Copyright © 2000-2024 mpv/MPlayer/mplayer2 projects
  libplacebo version: v6.338.2
  FFmpeg version: 6.1.1 
I do not remember which was the first version that worked fine. For some time, "gpu-next" was not included by default in the releases, but you had to compile a custom variant to include it.

Pay attention that "libplacebo" is required. If libplacebo is absent, then the Dolby Vision conversion will not work. This could be the reason of your problem, if your Linux distribution does not have libplacebo as an automatic dependence of mpv, or if mpv has been compiled without support for libplacebo.