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 > Announcements and Chat > General Discussion
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Search this Thread Display Modes
Old 8th August 2022, 01:26   #341  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by ErazorTT View Post
On the creation side yes, I would assume that anything uses the SDK. But on the presentation side, like Software players, these must somehow implement that. I looked into the source codes of VLC / FFMPEG and mpv but have not found anything. So my current assumption is that these also don't actually apply any of the processes of the dynamic tonemapping.
libplacebo you mean, GOD, VLC does not even support Dolby vision profile 5. Also, no, libplacebo does not support dynamic metadata, good news it is applied in the very end and everything else (EL can be done too with a plugin) is done.
Balling is offline   Reply With Quote
Old 8th August 2022, 01:28   #342  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by kolak View Post
It's all licensed and proprietary. So they may know it, but it's protected by licensing agreement. Dolby is always done same way and that's the whole idea of it.
Look at mpv - they may have it:
https://emby.media/community/index.p...vision-in-mpv/

Actually this may only work if your display is DV capable and certified. Idea is simple- someone has to pay Dolby licensing fees
No need for display to be certified, facepalm. Movies & TV play without an issue.

Patents you mean, ffmpeg does not care about patents and VLC is in France, where those patents cannot be used.

Last edited by Balling; 8th August 2022 at 01:36.
Balling is offline   Reply With Quote
Old 8th August 2022, 01:30   #343  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by kolak View Post
I'm sure it's nothing to do with licensing
Point is - there is no official Dolby processing without licensing.
And in some cases like in all Blu-ray players (all of them have broken low latency Dolby vision, but standard dolby vision is good) at all.
Balling is offline   Reply With Quote
Old 8th August 2022, 01:31   #344  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by FranceBB View Post
Dolby stuff have always been a pain to handle and after creating proprietary stuff with audio, now they're fiddling with video too. (T_T)

It took ages for the open source community to decode proprietary audio codecs like DolbyE (and the current ffmpeg implementation is far from ideal and only works with the u8 workaround which made me write several lines of code cross-checking with mediainfo given that ffprobe cannot even recognize DolbyE in an mxf container) and now they're back with DolbyED2 Atmos (currently impossible to decode) and DolbyVision profiles (also currently impossible to decode).
Best case scenario, they're just using the 12bit dual layer profile so that it's H.265 10bit PQ + metadata layer to create the 12bit and we can still watch the content by ignoring the proprietary Dolby Vision metadata layer. Worse case scenario: they're using the Dolby Vision Proprietary colorspace like dvhe0509 and we won't be able to see the content correctly (although there's been a recent attempt with libplacebo in VLC, MPV and Avisynth to tackle it).
Dolby e-destribution v2 Atmos samples welcome on ffmpeg bug tracker.

"they're using the Dolby Vision Proprietary colorspace like dvhe0509 and"

That was implemented in full. PQ 12 bit mapping would be good though.
Balling is offline   Reply With Quote
Old 8th August 2022, 05:45   #345  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by Balling View Post
Dolby e-destribution v2 Atmos samples welcome on ffmpeg bug tracker.
Do you already have a ticket I can upload them to or do I have to open a new one?
FranceBB is offline   Reply With Quote
Old 8th August 2022, 09:27   #346  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
Quote:
Originally Posted by FranceBB View Post
Do you already have a ticket I can upload them to or do I have to open a new one?
A new one of course.
Balling is offline   Reply With Quote
Old 8th August 2022, 10:40   #347  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by Balling View Post
A new one of course.
https://trac.ffmpeg.org/ticket/9864
FranceBB is offline   Reply With Quote
Old 6th September 2022, 14:26   #348  |  Link
Balling
Registered User
 
Join Date: Feb 2020
Posts: 541
It looks like after lastest commit that finally fixed top-left chroma siting of EL, we can now safely merge FEL and BL. Nice. https://github.com/erazortt/DoViBake...1775d0ffa03528

How would you even check FEL yourself?? I have ABSOLUTELY no idea, root access to my C9 may allow that, but I am not quite sure.

I am certainly not checking FEL by just eyeballing it...

No Dolby tools I know of will allow to merge FEL just like that.

Last edited by Balling; 6th September 2022 at 14:33.
Balling is offline   Reply With Quote
Old 28th September 2022, 12:32   #349  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
There is a new challenge for correct conversion: the movie Heat (1995), released in August on UHD disk. But the movie is too dark, they totally screwed up reference white.

I have measured max.cll =130, and someone 80,20,
Web source 167,57.

Then I have generated a lut3d with -m 130 -l 5.66 for HLG conversion. 5.66 means 2.5 stops more brightness. Results are good but I'm not sure.

Any experience or ideas?

Last edited by frank; 28th September 2022 at 12:34.
frank is offline   Reply With Quote
Old 28th September 2022, 15:27   #350  |  Link
wswartzendruber
hlg-tools Maintainer
 
wswartzendruber's Avatar
 
Join Date: Feb 2008
Posts: 413
Quote:
Originally Posted by frank View Post
There is a new challenge for correct conversion: the movie Heat (1995), released in August on UHD disk. But the movie is too dark, they totally screwed up reference white.

I have measured max.cll =130, and someone 80,20,
Web source 167,57.

Then I have generated a lut3d with -m 130 -l 5.66 for HLG conversion. 5.66 means 2.5 stops more brightness. Results are good but I'm not sure.

Any experience or ideas?
Going by your command line there, the movie grading is a disaster.

I might pick it up just to see how bad it really is. So far, Alita: Battle Angel is the worst I've run into simply because it's a direct cinema XYZ transfer to PQ with botched metadata.

EDIT: Wait a sec...130 for MaxCLL? This movie is also a naïve XYZ transfer. Here's your command line:

pq2hlg -s 65 -r 48 -m 130 heat.cube

Last edited by wswartzendruber; 28th September 2022 at 15:51.
wswartzendruber is offline   Reply With Quote
Old 28th September 2022, 20:36   #351  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
Then -l = 203/48 = 4.23 equals -r 48
right?
Thanks, I'll test again.

Last edited by frank; 28th September 2022 at 20:42.
frank is offline   Reply With Quote
Old 29th September 2022, 15:28   #352  |  Link
wswartzendruber
hlg-tools Maintainer
 
wswartzendruber's Avatar
 
Join Date: Feb 2008
Posts: 413
Yes. --ref-white and --lum-scale are mutually exclusive and end up setting the same internal value.

-r 48 and -l 4.23 are principally the same.
wswartzendruber is offline   Reply With Quote
Old 30th September 2022, 08:54   #353  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
Great, William, that's it, it worked with -r 48!
Now the movie looks fine.
And that morons still sell the messed up uhd for 30 Eur.

Last edited by frank; 30th September 2022 at 09:45.
frank is offline   Reply With Quote
Old 30th September 2022, 09:24   #354  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
I'm using mpv on my notebook (500nit FHD+ display) to watch the conversion. It has excellent tone mapping but you have to set it yourself for best colors.
For portable using create the folder mpv/portable_config/ and copy the files:input.conf, mpv.conf
Edit mpv.conf:
Code:
vo=gpu-next
hwdec=auto-safe
tone-mapping=bt.2390
hdr-compute-peak=no
You'll get excellent HLG/HDR tone mapping. No brightness flickering at start-stop.
For more settings see the manual in /mpv/doc/.
vlc is also good but doesn't have that many options.
___________________
Dell XPS 15 9510, Win10 Pro

Last edited by frank; 30th September 2022 at 09:43.
frank is offline   Reply With Quote
Old 30th September 2022, 13:04   #355  |  Link
FranceBB
Broadcast Encoder
 
FranceBB's Avatar
 
Join Date: Nov 2013
Location: Royal Borough of Kensington & Chelsea, UK
Posts: 2,904
Quote:
Originally Posted by wswartzendruber View Post
Alita: Battle Angel is the worst I've run into simply because it's a direct cinema XYZ transfer to PQ with botched metadata.

Wait a sec...130 for MaxCLL? This movie is also a naïve XYZ transfer.
Yep. Looks like is more common than it seems

Quote:
Originally Posted by frank View Post
And that morons still sell the messed up uhd for 30 Eur.
The thing is that there's nothing wrong in using the DCP transfer to create the UHD-BD version, but metadata MUST be right and that's unfortunately something they got wrong...

Quote:
Originally Posted by frank View Post
vlc is also good but doesn't have that many options.
Yeah, I use MPV as well, it's the best.
The only time I use VLC is when my poor computer struggles with decoding and I'm willing to accept a quality reduction as long as I can still watch it in real time...
But yeah, if I had infinite computational power, I would totally use MPV for everything.
FranceBB is offline   Reply With Quote
Old 11th October 2022, 00:46   #356  |  Link
wswartzendruber
hlg-tools Maintainer
 
wswartzendruber's Avatar
 
Join Date: Feb 2008
Posts: 413
I have begun to experiment with using skin tones to set reference white. I'm going to throw a few Zack Snyder movies at this technique to see how robust it really is.
wswartzendruber is offline   Reply With Quote
Old 5th November 2022, 16:37   #357  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
Next example of wrong UHD mastering.

Top Gun: Maverick UHD 2022
max-cll 617,496
Release is too dark. Again they mismatched the white level.
I found that -r 100 for HLG is comparable to the BD bt709.

So it is created for DCP 100 nits, EOTF PQ, P3.
What do you think?

Last edited by frank; 5th November 2022 at 16:53.
frank is offline   Reply With Quote
Old 6th November 2022, 16:53   #358  |  Link
wswartzendruber
hlg-tools Maintainer
 
wswartzendruber's Avatar
 
Join Date: Feb 2008
Posts: 413
I don't have Maverick yet, but if they put reference white at 100 nits, that is actually correct. Well, depending on your point of view.

HDR10 is static metadata around either ST.2084 or ST.2086. And it's one of those that says reference white should be at 100 nits in a reference environment.

Well, the ITU came in later and did their own tests and determined that reference white should be at 200 nits in a reference environment. So their BT.2408 paper says to put it at 203 nits, as this corresponds to 75% HLG, which is where reference white is at that format.
wswartzendruber is offline   Reply With Quote
Old 7th November 2022, 14:12   #359  |  Link
frank
Banned
 
Join Date: Oct 2001
Location: https://t.me/pump_upp
Posts: 811
OK.
My "reference environment" is the living room and tv, not a dark basement. I think 90% of viewers don't sit in the dark to watch a movie on tv. UHD publishers don't get it.
That's why I convert to HLG.
And 200nits look better on my notebook too.

Last edited by frank; 7th November 2022 at 14:36.
frank is offline   Reply With Quote
Old 7th November 2022, 18:50   #360  |  Link
wswartzendruber
hlg-tools Maintainer
 
wswartzendruber's Avatar
 
Join Date: Feb 2008
Posts: 413
Quote:
Originally Posted by frank View Post
I think 90% of viewers don't sit in the dark to watch a movie on tv. UHD publishers don't get it.
This is half the reason HLG was created to begin with.
wswartzendruber is offline   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 19:41.


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