Jump to content


Photo

Playing HDR in Theater desktop

HDR

  • Please log in to reply
275 replies to this topic

#41 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:56 AM

Posted 17 October 2018 - 09:54 AM

ET should at least try to call mpv with the right "--target-prim" parameter based on the video information but I don't know if that's possible.

 

If that's not possible and you dont want to edit the settings every time, you have 2 choices really:

 

1. Let ET/mpv configuration as it is and force the color space of your TV to bt.709. SDR video will play fine, Wide gamut HDR video will be downgraded to normal gamut and play "ok"

 

2. Set "--target-prim=bt.2020" in mpv configuration and your TV color space to bt.2020. Wide gamut HDR video will play fine. SDR video will be "upscalled" to bt.2020 and play ok. ET interface, your desktop and any other players or applications will have wrong color (because they wont be upscalled to bt.2020)

 

 

Edit: @Luke, is it possible to call mpv with the right "--target-prim" parameter based on the video information? If that's not possible, is it at least possible to include an option to toggle mpv betweem bt.709 and bt.2020 wide gamut manually?


Edited by stettler, 17 October 2018 - 09:57 AM.


#42 PrincessClevage OFFLINE  

PrincessClevage

    Advanced Member

  • Members
  • 972 posts
  • Local time: 07:56 PM

Posted 17 October 2018 - 10:03 AM

What is the correct line entry for mpv.config?
No other entries in my .mpvconfig have the preceding — Is this required?

Edited by PrincessClevage, 17 October 2018 - 10:11 AM.


#43 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:56 AM

Posted 17 October 2018 - 10:07 AM

What is the correct line entry for .mpvconfig?
No other entries in my .mpvconfig have the preceding — Is this required?

 

Just put:

target-prim=bt.2020

 

The mpv.conf file is taken into account or is it overriden by ET configuration? (For my test, I added the option to the "playbackhandler.js" file).



#44 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 10:43 AM

And now look the result if I call mpv with the "--target-prim=bt.2020" parameter:
 
antman-UHD-HDR-bt2020-target-prim.jpg
 
Obviously, that's the more correct result!
 
All along, when people say that they are getting correct results and  "wide gamut" with ET and mpv, they are wrong: They are getting a downgrade to normal gamut (bt.709). And if they force their TV to bt.2020 and  mess with the color settings to try to get an ok result, they are just making things worse.
 
If you want to display correctly a HDR10 movie (bt.2020) with mpv, the only way is to set the manually the  "--target-prim=bt.2020" parameter. If you don't, mpv with downgrade the color space to bt.709. 
 
If you only play HDR bt.2020 movies, that's ok I guess: you can manually edit your mpv configuration file. But if you play both HDR bt.2020 and HDR/SDR bt.709, that mean that you must each time edit mpv configuration file _and_ manually change the TV color space because HDR metadata aren't passed to it.
 
Personally, I can live with this "fake" HDR. We are still missing things but the result is, imho, good enough. But I can't edit my mpv configurtion and change my TV settings each time I want to play something that is SDR or HDR.


If you want to set target-prim only for HDR videos, you can use an auto profile. That's what I do. I don't use target-prim, but you have me curious.

#45 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:56 AM

Posted 17 October 2018 - 04:57 PM

If you want to set target-prim only for HDR videos, you can use an auto profile. That's what I do. I don't use target-prim, but you have me curious.

 

Something like that ? :

 

[hdr]
profile-desc=cond:p["video-params/primaries"]=="bt.2020"
target-prim=bt.2020



#46 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 05:00 PM

Yeah, I posted my profiles in the testing area.

https://emby.media/c...162#entry621726

Edited by Doofus, 17 October 2018 - 05:02 PM.


#47 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:56 AM

Posted 17 October 2018 - 05:10 PM

Ok, that's a lot better. But need to manually change the color space of the TV as it doesn't get the metadata.



#48 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 05:13 PM

Yeah, because I use the desktop so much, I calibrated my display for that. Then for any video adjustments, I use the mpv config.

#49 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 05:17 PM

And I have my display always at 10 bit. I find that the picture on everything I watch, is better. Not just HDR.

#50 stettler OFFLINE  

stettler

    Advanced Member

  • Members
  • 336 posts
  • Local time: 10:56 AM

Posted 17 October 2018 - 05:31 PM

It's not the 10 bit the problem. It's the color space: Your desktop (and everything else) is in bt.709. If your TV also use the bt.709 color space, then all is good. But with the parameter I mentioned, when playing HDR video, the color space will be bt.2020. You then need to manually change your TV color space to bt.2020 else the colors wont be good. (and you have to change back to bt.709 after watching the movie)

 

That's what HDR metadata does among other things. It tells your TV which color space it should use so you don't have to set it manually.

 

Naturally, Windows HDR isn't much better as you have to manually activate/desactive it. NVIDIA made their own api which toggle HDR automatically based on content. That's what MadVR is using to have a fully automatic solution.



#51 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 05:47 PM

Yeah, your projector has more specificity than my display. Although there are color adjustments I can make. But I think the UHD setting genericaly handles that. I can specify the gamma, but the auto settings appear to work very well. I've played around with them in the past, and I've arrived at my preference. The HDR profile that I use does a nice job. But I do want to compare it to target-prm. There's another way to force that colorspace, which I tried a while back, but I didn't like it.

#52 SikSlayer OFFLINE  

SikSlayer

    Advanced Member

  • Alpha Testers
  • 603 posts
  • Local time: 05:56 AM
  • LocationEast Stroudsburg, PA

Posted 17 October 2018 - 07:27 PM

Yeah, but I have to enable windows HDR, which changes the entire display, and it's horrible. My desktop sucks with it like that, unless I adjust it massively. I have no need to do stupid stuff like that with mpv. I get everything I want, the way I'm using mpv. I want to be able to adjust the picture with software.


Up until I installed the 400 series Nvidia drivers, I too had this problem. Also, I can now individually set my multiple displays as HDR/WCG on a display by display basis.

Edited by SikSlayer, 17 October 2018 - 07:30 PM.


#53 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 08:31 PM

mpv to the rescue :)

Edited by Doofus, 17 October 2018 - 08:31 PM.


#54 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 09:00 PM

So I compared target-prim=bt.2020 to my config and mpv with no config. Here are the screen shots. Which do you prefer?

 

5bc7daf4d0681_mpvshot0001.jpg

 

5bc7ebab58961_mpvshot0003.jpg

 

5bc7db09d32c9_mpvshot0002.jpg


Edited by Doofus, 17 October 2018 - 10:11 PM.


#55 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 17 October 2018 - 11:10 PM

I think your picture is far too bright. Maybe because it's projector? But I much prefer the output I get on my display. Much more natural and deeper black.

 

5bc7f97eaec62_antmanUHDHDRbt2020targetpr

 

5bc7f95ad7548_mpvshot0004.jpg


Edited by Doofus, 17 October 2018 - 11:11 PM.


#56 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 18 October 2018 - 12:02 AM

I just tried playing the same movie and scene with the shield using HDR pass through. My display tells me its in HDR10, and the picture is visually identical. If you were to put a meter on it, there may be some differences, but I can't perceive them. It looks just like my screenshot, above.



#57 PrincessClevage OFFLINE  

PrincessClevage

    Advanced Member

  • Members
  • 972 posts
  • Local time: 07:56 PM

Posted 18 October 2018 - 12:35 AM

So I compared target-prim=bt.2020 to my config and mpv with no config. Here are the screen shots. Which do you prefer?

5bc7daf4d0681_mpvshot0001.jpg

5bc7ebab58961_mpvshot0003.jpg

5bc7db09d32c9_mpvshot0002.jpg

last one :-/??

#58 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 18 October 2018 - 12:44 AM

last one :-/??

 

What do you think I used to play that?



#59 PrincessClevage OFFLINE  

PrincessClevage

    Advanced Member

  • Members
  • 972 posts
  • Local time: 07:56 PM

Posted 18 October 2018 - 01:10 AM

What do you think I used to play that?

Is that a loaded question Doofus:p

#60 Doofus ONLINE  

Doofus

    Advanced Member

  • Members
  • 11371 posts
  • Local time: 02:56 AM

Posted 18 October 2018 - 01:16 AM

Is that a loaded question Doofus:p

 

lol...seriously, which of the three scenarios do you think produced that picture? 







Also tagged with one or more of these keywords: HDR

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users