Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion. Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules. |
15th December 2020, 11:10 | #8042 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 Last edited by Aleksoid1978; 15th December 2020 at 14:21. |
15th December 2020, 13:55 | #8043 | Link |
Registered User
Join Date: Mar 2002
Posts: 2,323
|
Wow, Aleks, thanks, I'll check it tonight!
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config |
15th December 2020, 15:52 | #8044 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
HLG to SDR with tone mapping is to bright.
HLG to HDR seems fine. HLG as SDR seems to be still BT 2020 even trough the display expects BT 709. i would consider this a user error but if someone disables all HDR option it should still convert BT 2020 to BT 709. so this should be done or hlg to SDR with tone mapping should be forced for HLG. |
15th December 2020, 15:57 | #8045 | Link |
Registered User
Join Date: Mar 2002
Posts: 2,323
|
Thanks, huhn. Aleks, you can check what madvr does with lavfilters (since it only outputs SDR with it).
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config |
15th December 2020, 16:19 | #8046 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
it does BT 2020 to BT 709(with default settings you can output it as bt 2020 with the correct settings but why even tell you you know that.) and nothing else because for madVR it's just a SDR file with BT 2020 as primaries/matrix
|
15th December 2020, 17:07 | #8047 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,970
|
MPCVideoRenderer-v0.4.10.1542_git2020.12.15-45a2b1c
Various improvements for HLG.
__________________
MPC-BE 1.7.0 and Nightly builds | VideoRenderer | ImageSource | ScriptSource | BassAudioSource |
15th December 2020, 19:05 | #8048 | Link |
Registered User
Join Date: Mar 2002
Posts: 2,323
|
Thank you, guys, and congrats! I think yours is the first HLG2HDR10 directshow renderer!
It looks really good! BT.2020 flag is passed to the TV correctly. Amazing! I'll do more test, probably during the weekend. One feature request: can you make the OSD white color dimmer (e.g. 50% or even less?) with HDR10 output? (It just burns yours eyes out now ) And doesn't mpc-be internal video decoder support d3d11-native using hevc? Only dxva2-copyback? Thanks
__________________
Ryzen 5 2600,Asus Prime b450-Plus,16GB,MSI GTX 1060 Gaming X 6GB(v398.18),Win10 LTSC 1809,MPC-BEx64+LAV+MadVR,Yamaha RX-A870,LG OLED77G2(2160p@23/24/25/29/30/50/59/60Hz) | madvr config |
16th December 2020, 00:00 | #8050 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
Only DXVA2 Native
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
16th December 2020, 00:07 | #8052 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
HLG a little darker then HDR10, compare:
https://i.imgur.com/O4pCNLD.png This is much better than it was
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
16th December 2020, 00:30 | #8054 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
Rendering as bt.709 - rendering as is. I don't know what can do.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
16th December 2020, 00:37 | #8055 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
it's bt2020
you have to run this filter: https://github.com/Aleksoid1978/Vide...rsion.hlsl#L87 float3 Colorspace_Gamut_Conversion_2020_to_709(const float3 rgb) { return mul(convert_matrix_2020_to_709, rgb); } |
16th December 2020, 00:42 | #8056 | Link |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
Ok - i will check later.
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
16th December 2020, 13:02 | #8057 | Link | |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
Quote:
SDR - https://i.imgur.com/GtYNWzs.png HDR to SDR - https://i.imgur.com/Y82jKyB.png HLG to SDR - https://i.imgur.com/IAQqCph.jpg HLG bt.202 to bt.709 - https://i.imgur.com/l99tCrd.jpg
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 Last edited by Aleksoid1978; 16th December 2020 at 13:08. |
|
16th December 2020, 14:03 | #8058 | Link |
Registered User
Join Date: Oct 2012
Posts: 7,926
|
sorry i don't know what the xbox screenshoot function does so i can't judge screen shoots for HDR.
but i can do this for you SDR madVR: https://abload.de/img/madvrmsk9y.jpg SDR mpcVR: https://abload.de/img/mpcvr7hj57.jpg so your new HLG bt.2020 to bt.709 doesn't seem to work correctly. the madVR results is AFAIK correct for a SDR display. SDR is BT709 (sRGB) what madVR is doing is simple in theory. it read the primary and then it compares it to the calibration setting. if no calibration setting is set it defaults to BT 709 for SDR and BT 2020 for HDR passthrough. if the primary is not matching with the "calibration setting" it will make it match. so in this case it sees BT 2020 from the file and it applies bt 2020 to bt 709 because of SDR. your HDR -> SDR tonemapping does this too. BT709 and sRGB are not 100 % the same but you can skip this topic no one really calibrates to sRGB(to those that do don't feel offended plz there are reasons to do that) but to BT709 they are very similar to. sorry it's calibration is sadly never easy... BTW. you could force HLG to SDR tonemapping it's "better" anyway. HLG SDR with bt 2020 to bt 709 is more of compatibility thing it looks bad but that's how it should looks on a SDR screen... |
16th December 2020, 14:34 | #8059 | Link |
Registered User
Join Date: Dec 2008
Posts: 1,970
|
Expert help required.
MFVideoTransferMatrix AVColorSpace zimg_matrix_coefficients_e Let's look at the parameters for BT.2020: Code:
MFVideoTransferMatrix_BT2020_10 MFVideoTransferMatrix_BT2020_12 AVCOL_SPC_BT2020_NCL AVCOL_SPC_BT2020_CL ZIMG_MATRIX_BT2020_NCL ZIMG_MATRIX_BT2020_CL MFVideoTransferFunction AVColorTransferCharacteristic zimg_transfer_characteristics_e Let's look at the parameters for BT.2020: Code:
MFVideoTransFunc_2020_const MFVideoTransFunc_2020 AVCOL_TRC_BT2020_10 AVCOL_TRC_BT2020_12 ZIMG_TRANSFER_BT2020_10 ZIMG_TRANSFER_BT2020_12 MicroSoft confused TransferMatrix and TransferFunction? |
16th December 2020, 14:43 | #8060 | Link | |
Registered User
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
|
Quote:
__________________
AMD Ryzen 5 3600 /GIGABYTE B450 Gaming X /Patriot 32Gb@3200 /Kingston 500Gb M.2 /RTX 4060 /Samsung U28R550UQI /OLED Philips 55OLED707 /Yamaha RX-V471 + NS-555 + NS-C444 + NS-333 + YST-SW215 |
|
|
|