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.

 

Go Back   Doom9's Forum > Hardware & Software > Software players
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 15th December 2020, 04:34   #8041  |  Link
darksen
Registered User
 
Join Date: Apr 2019
Posts: 64
Quote:
Originally Posted by filler56789 View Post
Lossless DTS is VBR, therefore when played as external audio to a video file the audio demuxer is unable to index it /generate proper timestamps. IF you want to keep it as external audio then you'd better remux it to a .MKA file.
Thanks for the info. How I didn't think in making it an mka, that is faster than muxing it into the mkv.
darksen is offline   Reply With Quote
Old 15th December 2020, 11:10   #8042  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
https://yadi.sk/d/5lTw0ms_59Ts-A

Testing HLG on HDR passthrough.
Also check HDR to SRD for HLG.
__________________
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.
Aleksoid1978 is online now   Reply With Quote
Old 15th December 2020, 13:55   #8043  |  Link
chros
Registered User
 
chros's Avatar
 
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
chros is offline   Reply With Quote
Old 15th December 2020, 15:52   #8044  |  Link
huhn
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.
huhn is offline   Reply With Quote
Old 15th December 2020, 15:57   #8045  |  Link
chros
Registered User
 
chros's Avatar
 
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
chros is offline   Reply With Quote
Old 15th December 2020, 16:19   #8046  |  Link
huhn
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
huhn is offline   Reply With Quote
Old 15th December 2020, 17:07   #8047  |  Link
v0lt
Registered User
 
Join Date: Dec 2008
Posts: 1,970
MPCVideoRenderer-v0.4.10.1542_git2020.12.15-45a2b1c
Various improvements for HLG.
v0lt is offline   Reply With Quote
Old 15th December 2020, 19:05   #8048  |  Link
chros
Registered User
 
chros's Avatar
 
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
chros is offline   Reply With Quote
Old 15th December 2020, 21:41   #8049  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
only HLG as sdr has wrong colorspace now.
huhn is offline   Reply With Quote
Old 16th December 2020, 00:00   #8050  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by chros View Post
And doesn't mpc-be internal video decoder support d3d11-native using hevc? Only dxva2-copyback?
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
Aleksoid1978 is online now   Reply With Quote
Old 16th December 2020, 00:05   #8051  |  Link
ryrynz
Registered User
 
ryrynz's Avatar
 
Join Date: Mar 2009
Posts: 3,650
Quote:
Originally Posted by chros View Post
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 )
A different transparency setting for HDR would be nice, but you can already change transparency with the OSD so give it a shot.
ryrynz is offline   Reply With Quote
Old 16th December 2020, 00:07   #8052  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by huhn View Post
only HLG as sdr has wrong colorspace now.
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
Aleksoid1978 is online now   Reply With Quote
Old 16th December 2020, 00:18   #8053  |  Link
huhn
Registered User
 
Join Date: Oct 2012
Posts: 7,926
i will check these details later.

i'm talking about rendering bt 20920 as bt 709 the colors are washed out. that'S not a problem with tonemap or passthrough.
huhn is offline   Reply With Quote
Old 16th December 2020, 00:30   #8054  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by huhn View Post
i will check these details later.

i'm talking about rendering bt 2020 as bt 709 the colors are washed out. that'S not a problem with tonemap or passthrough.
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
Aleksoid1978 is online now   Reply With Quote
Old 16th December 2020, 00:37   #8055  |  Link
huhn
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);
}
huhn is offline   Reply With Quote
Old 16th December 2020, 00:42   #8056  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
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
Aleksoid1978 is online now   Reply With Quote
Old 16th December 2020, 13:02   #8057  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by huhn View Post
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);
}
I do for testing, check and compare:
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.
Aleksoid1978 is online now   Reply With Quote
Old 16th December 2020, 14:03   #8058  |  Link
huhn
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...
huhn is offline   Reply With Quote
Old 16th December 2020, 14:34   #8059  |  Link
v0lt
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
How do I correctly map MFVideoTransferMatrix to AVColorSpace (or zimg_matrix_coefficients_e)?

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
How do I correctly map MFVideoTransferFunction to AVColorTransferCharacteristic (or zimg_transfer_characteristics_e)?

MicroSoft confused TransferMatrix and TransferFunction?
v0lt is offline   Reply With Quote
Old 16th December 2020, 14:43   #8060  |  Link
Aleksoid1978
Registered User
 
Aleksoid1978's Avatar
 
Join Date: Apr 2008
Location: Russia, Vladivostok
Posts: 2,787
Quote:
Originally Posted by huhn View Post
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...
You need compare with my screenshot, in current version of MPC VR no bt.2020 to bt.709 conversion.
__________________
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
Aleksoid1978 is online now   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 00:12.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.