Jump to content


Photo

HDR and Emby Theater desktop explained

Emby Theater mpv HDR tone mapping

  • Please log in to reply
21 replies to this topic

#21 Doofus OFFLINE  

Doofus

    Advanced Member

  • Members
  • 12560 posts
  • Local time: 08:12 PM

Posted 22 October 2019 - 11:33 PM

how does windows explorer and web browsers look, the same as sdr? i know that all display are different, but can you share your display settings?

 

Everything looks the same, regardless of what you are using.

 

 

also, a couple of more questions for clarification:

 

- mpv tonemaps hdr to sdr.

 

That's what it will do by default. That's why you either choose and icc or use bt.2020 and set your target-peak and/or target-trc.

 

 

- windows 10 desktop can be set to hdr (enabled).

- using the mpv player, do sdr movie files look the same with or without hdr enabled in windows?
 

 

Enabling HDR in windows, it will expand the colorspace from bt.709 to bt.2020 (SMPTE 2084). This also requires setting your TV to use a wide color gamut. Some displays can enable that, regardless of what Windows is configured to.

 

Playing an SDR video in a wide gamut colorspace, will appear over-saturated. This is why you need to use either the correct icc or enable bt.2020.

 

 

- using the mpv player, do hdr movie files look the same with or without hdr enabled in windows?

 

No, the colors will be noticeably, incorrect.

 

 

- is there such a thing as tonemapping sdr to hdr using mpv's config file?

 

 

No exactly. It's a matter of mpv knowing what shade of color it needs to match it to. Enabling bt.2020 gets you closer, but I don't like the result. Using an icc is the best solution. You can use the default Windows sRGB icc, or make your own with a colorimeter.

 

 

 

so by enabling hdr in windows the os will passthrough hdr metadata to the display? but mpv intercepts the hdr file metadata and tonemaps it to sdr before it's sent to the display? is that correct? if that's the case, as far as the display is concerned, the hdr file will look the same regardless if hdr is enabled or not? and the only thing that enabling hdr in windows does is alert the display that the desktop is set to hdr which trigger's the display's hdr logo? is that right?

 

At present, mpv doesn't pass the metadata. It tone-maps 

 

 

mpv and HDR

 

mpv is the internal player used in Emby Theater. It is a multi-platform media player. As I mentioned, not all operating systems support HDR. So they developed their own tone mapping algorithms, to allow them all to be able to watch HDR media. We talked about your display having to tone map the colors. Instead of your display performing the tone mapping, mpv will do it through software and render the image at the desktop level. This means there will be no ‘triggering’ of HDR on your display. As mpv is computer software, it is assumed that most computer displays are not running in HDR, but instead in SDR. So the default settings are intended for SDR (bt.709 colorspace), and tone mapped to that. 

 

But it is about to be implemented.

 

https://emby.media/c...202#entry796158

 

Multiple Pull Requests have been made and are being merged, to allow HDR metadata passthrough.

 

https://github.com/m...0f18e0279cc2abe

 

https://github.com/m...r/mpv/pull/5804



#22 mrfaulk OFFLINE  

mrfaulk

    Advanced Member

  • Members
  • 219 posts
  • Local time: 05:12 AM

Posted 23 October 2019 - 02:26 AM

At present, mpv doesn't pass the metadata. It tone-maps 

 

 

But it is about to be implemented.

 

https://emby.media/c...202#entry796158

 

Multiple Pull Requests have been made and are being merged, to allow HDR metadata passthrough.

 

https://github.com/m...0f18e0279cc2abe

 

https://github.com/m...r/mpv/pull/5804

 

thanks for all of your replies, extremely helpful, and needless to say it's pretty exciting news that mpv hdr passthrough (or similar) appears to be right around the corner!

 

thanks again!







Also tagged with one or more of these keywords: Emby Theater, mpv, HDR, tone mapping

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users