Most active commenters
  • SSLy(4)
  • loeg(4)
  • adrian_b(4)

←back to thread

1113 points Bluestein | 18 comments | | HN request time: 1.336s | source | bottom
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 #
1. SSLy ◴[] No.41278682[source]
was the material purple-green by chance?
replies(1): >>41278731 #
2. loeg ◴[] No.41278731[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 #
3. SSLy ◴[] No.41278744[source]
That's a Dolby Vision Profile 5 file. A format that's very very proprietary. The only PC apps that can play them at all are https://apps.microsoft.com/detail/9p9zh5fl1bfk?hl=en-ms&gl=M... and https://firecore.com/infuse
replies(4): >>41281286 #>>41282448 #>>41282505 #>>41283205 #
4. emestifs ◴[] No.41279203[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 #
5. loeg ◴[] No.41279406{3}[source]
Still very green/purple. It's fine, I was able to find a non-HDR version.
replies(1): >>41283236 #
6. ◴[] No.41279705[source]
7. talliedthoughts ◴[] No.41281286{3}[source]
Is there a way to use Infuse on PC? The only links I see are to the App Store
replies(1): >>41281389 #
8. SSLy ◴[] No.41281389{4}[source]
Macs are PC's, you can also make a hackintosh.

EDIT2: if you consider an ARM board that you can install custom OS on as a PC – admittedly, bit of a stretch – then you can grab UGOOS AM6B plus / AM6 plus / Minix u22x-j max

install CoreELEC on it and enjoy DV.

https://github.com/CoreELEC/CoreELEC/releases https://discourse.coreelec.org/t/dolby-vision-for-minix-u22x... Recommended settings: https://justpaste.it/divn9 Installation instructions 1: https://discourse.coreelec.org/t/guide-s922x-j-ugoos-am6b-co... Installation instructions 2: https://www.reddit.com/r/PleX/comments/1ajszn9/remux_lovers_...

EDIT: I forgot that for Windows playback, you also need the HEVC and DoVi codec packages.

https://apps.microsoft.com/detail/9P9ZH5FL1BFK https://apps.microsoft.com/detail/9PLTG1LWPHLF https://apps.microsoft.com/detail/9nmzlz57r3t7

9. literallycancer ◴[] No.41282448{3}[source]
You can play it with mpv, it depends on the hardware/drivers. It worked fine on a random Ryzen Lenovo laptop with Linux even though MacOS version of mpv couldn't play it correctly on M2 (even though Apple claims that M2 is compatible with the format).
replies(2): >>41282858 #>>41283179 #
10. FabHK ◴[] No.41282505{3}[source]
Infuse is great. I use it to play stuff (in basically any format) from the NAS through the Apple TV on a dumb TV.
11. SSLy ◴[] No.41282858{4}[source]
And you're sure it was a Profile 5, not 7/8 file?
12. daneel_w ◴[] No.41283179{4}[source]
It depends on what format/decoder support went into your particular build of mpv. It offloads almost all of its capabilities onto ffmpeg and its supporting libraries, which in turn won't necessarily be built with exactly everything enabled.
13. adrian_b ◴[] No.41283205{3}[source]
Nowadays mpv is able to decode it correctly, but it usually requires for that the command-line option "--vo=gpu-next".

A couple of years ago, mpv was unable to handle it.

14. adrian_b ◴[] No.41283236{4}[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 #
15. adrian_b ◴[] No.41283309{3}[source]
I believe that the target primaries must be those of your monitor.

BT.2020 are the primaries used to encode the HDR movie.

Monitors with such primaries are rare and extremely expensive. For most good monitors "--target-prim=dci-p3" should be appropriate, if DCI-P3 has already been selected from the on-screen monitor configuration menu, because most monitors come configured by default to use the ugly sRGB color space, so you must change the defaults to be able to display content with bigger color spaces.

Some monitors might have the option to use the BT.2020 color space, when they would still not be able to display all of it, but they would do internally the conversion between the BT.2020 used to encode the movie and whatever color space the monitor can actually display.

16. loeg ◴[] No.41285093{5}[source]
mpv 0.36.0 from July 2023, nvidia 555.58.02 drivers from August 2024 (Fedora 39).
replies(2): >>41288811 #>>41289964 #
17. Narushia ◴[] No.41288811{6}[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).
18. adrian_b ◴[] No.41289964{6}[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.