2020-10-18, 20:38
Hi all
Finally I have accepted that Windows does not allow HLG passthrough
Unfortunately always forces to HDR10 and first transforms HLG to SDR:
HLG => SDR => windows tonemap => false HDR10 (gamma 2.2)
HDR part is lost!!!
But in a moment of inspiration I have thought that it would be possible to trick Windows into thinking signal it's HDR10 so that it does not convert to SDR.
HLG => PQ (shaders) => passthrough => HDR10 (PQ) on TV
HDR10 is same quality or superior that HLG so no quality lost in transformation.
There is another important advantage: HLG is only supported on HDMI 2.0b devices (e.g. Intel NUC's are HDMI 2.0a) In this way it is possible to playback HLG (with HDR) on HDMI 2.0a devices.
Version 5.0.0
Enables HLG passthrough using HLG to PQ shaders.
Windows (desktop) only supports HDR10, with this trick Windows thinks that HLG is HDR10...
Picture quality obtained is the same that real HLG passthrough 😄
https://github.com/thexai/xbmc/releases
As test file can be used:
http://www.lelabodejay.com/files/videos/...50MBPS.mp4
Provided by @Gee11
I wait for some feedback before generating the PR. Especially from NVIDIA users as I have only tested it on Intel NUC8.
Finally I have accepted that Windows does not allow HLG passthrough
Unfortunately always forces to HDR10 and first transforms HLG to SDR:
HLG => SDR => windows tonemap => false HDR10 (gamma 2.2)
HDR part is lost!!!
But in a moment of inspiration I have thought that it would be possible to trick Windows into thinking signal it's HDR10 so that it does not convert to SDR.
HLG => PQ (shaders) => passthrough => HDR10 (PQ) on TV
HDR10 is same quality or superior that HLG so no quality lost in transformation.
There is another important advantage: HLG is only supported on HDMI 2.0b devices (e.g. Intel NUC's are HDMI 2.0a) In this way it is possible to playback HLG (with HDR) on HDMI 2.0a devices.
Version 5.0.0
Enables HLG passthrough using HLG to PQ shaders.
Windows (desktop) only supports HDR10, with this trick Windows thinks that HLG is HDR10...
Picture quality obtained is the same that real HLG passthrough 😄
https://github.com/thexai/xbmc/releases
As test file can be used:
http://www.lelabodejay.com/files/videos/...50MBPS.mp4
Provided by @Gee11
I wait for some feedback before generating the PR. Especially from NVIDIA users as I have only tested it on Intel NUC8.