Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Iam2smart
Posts: 17
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Iam2smart »

speeddemon wrote:
Thu Sep 21, 2023 12:05 am
Iam2smart wrote:
Wed Sep 20, 2023 11:53 pm
speeddemon wrote:
Wed Sep 20, 2023 11:09 pm

The part RESET mentioned about knowing your way around x265.exe is critical. I've found the following would be a good starting place:

Non-grainy live action sources:

Code: Select all

--crf 12 --preset slower --output-depth 10 --rskip 2 --rskip-edge-threshold 3 --ctu 32 --aq-mode 2 --hdr10-opt --repeat-headers --deblock -1:-1 --selective-sao 2
Grainy live action sources:

Code: Select all

--crf 12 --preset slower --output-depth 10 --rd 4 --psy-rd 4 --psy-rdoq 8 --rskip 2 --rskip-edge-threshold 2 --ctu 32 --aq-mode 4 --aq-strength 0.8 --ipratio 1.1 --pbratio 1 --hdr10-opt --repeat-headers --deblock -1:-1 --selective-sao 2
Don't forget to add-in/tweak the following for Anime:

Code: Select all

--bframes 16 --tskip --tskip-fast
I’ve just used the script before can I still use the DV Script or is it better now to use h265.exe
It's best to use 7-1 worflow, edit the AVS FEL file to remove the text overlay so it looks something like this once edited:

Code: Select all

LoadPlugin("C:\DoVi_Scripts\tools\DoViBaker_x64.dll") 
LoadPlugin("C:\DoVi_Scripts\tools\dgdecnv_242\DGDecodeNV.dll") 
bl = DGSource("D:\DoVi_Scripts\Movie\Movie_BL.dgi") 
el = DGSource("D:\DoVi_Scripts\Movie\Movie_EL.dgi") 
DoViBaker(bl, el, rpu= "D:\DoVi_Scripts\Movie\Movie_RPU_FEL.bin") 
ConvertToYUV420(matrix="2020")
Then import the AVS file into Staxrip and use the settings I shared above (tweaking as you see fit based on your level of expertise). I'd always recommend checking VUI details and its critical to set the MaxCLL, MaxFALL, and Mastering Display values in Staxrip to match the FEL's RPU's values. Then don't forget to inject the original FEL RPU (coverted to Profile 8.1) back into the HEVC file output from Staxrip/x265.exe after that compression process is complete.
I was able to get everything setup I just have one question its about the MaxCLL, MaxFall & Mastering Display Values I didn’t know where to get the stats from so I just used the rpu info file generated from the script, for example the movie I’m tinkering with is Mission Impossible Rogue Nation and it lists the L1 MaxCLL as 10000.00 nits and the MaxFALL as 205.90 would those be the correct values I’m looking for because I know I need the FEL Values and the info file lists it’s for the Profile 7 FEL so I’m assuming that’s correct. Then the mastering display kind of has me stumped the info file lists 0.0050/4000 but that didn’t work in staxrip so I used this I found on the internet

G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)

But I Have no idea if that’s correct, so if I could learn how to obtain that info that would be helpful everything else was pretty cut & dry Thanks
speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by speeddemon »

Gatorman wrote:
Thu Sep 21, 2023 4:51 am
How would I import the AVS file into StaxRip? Can I add it to an existing preset?
You can use an existing preset and just drag/drop the AVS file onto Staxrip after selecting your preset.
Iam2smart wrote:
Wed Sep 20, 2023 11:53 pm
I was able to get everything setup I just have one question its about the MaxCLL, MaxFall & Mastering Display Values I didn’t know where to get the stats from so I just used the rpu info file generated from the script, for example the movie I’m tinkering with is Mission Impossible Rogue Nation and it lists the L1 MaxCLL as 10000.00 nits and the MaxFALL as 205.90 would those be the correct values I’m looking for because I know I need the FEL Values and the info file lists it’s for the Profile 7 FEL so I’m assuming that’s correct.
I'm guessing that's just a situation where the credits maxed out at 10,000-nits since the colorist ignored that part of the Base Layer. I'm not 100% sure what I would do in that case... I'd be tempted to just set the MaxCLL at 4,000-nits, but I'd be curious what @RESET_9999 or @quietvoid thinks about this?
Iam2smart wrote:
Wed Sep 20, 2023 11:53 pm
Then the mastering display kind of has me stumped the info file lists 0.0050/4000 but that didn’t work in staxrip so I used this I found on the internet

G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)

But I Have no idea if that’s correct, so if I could learn how to obtain that info that would be helpful everything else was pretty cut & dry Thanks
In that case you would replace L(10000000,1) with L(40000000,50).
Iam2smart
Posts: 17
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Iam2smart »

speeddemon wrote:
Thu Sep 21, 2023 7:51 am
Gatorman wrote:
Thu Sep 21, 2023 4:51 am
How would I import the AVS file into StaxRip? Can I add it to an existing preset?
You can use an existing preset and just drag/drop the AVS file onto Staxrip after selecting your preset.
Iam2smart wrote:
Wed Sep 20, 2023 11:53 pm
I was able to get everything setup I just have one question its about the MaxCLL, MaxFall & Mastering Display Values I didn’t know where to get the stats from so I just used the rpu info file generated from the script, for example the movie I’m tinkering with is Mission Impossible Rogue Nation and it lists the L1 MaxCLL as 10000.00 nits and the MaxFALL as 205.90 would those be the correct values I’m looking for because I know I need the FEL Values and the info file lists it’s for the Profile 7 FEL so I’m assuming that’s correct.
I'm guessing that's just a situation where the credits maxed out at 10,000-nits since the colorist ignored that part of the Base Layer. I'm not 100% sure what I would do in that case... I'd be tempted to just set the MaxCLL at 4,000-nits, but I'd be curious what @RESET_9999 or @quietvoid thinks about this?
Iam2smart wrote:
Wed Sep 20, 2023 11:53 pm
Then the mastering display kind of has me stumped the info file lists 0.0050/4000 but that didn’t work in staxrip so I used this I found on the internet

G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)

But I Have no idea if that’s correct, so if I could learn how to obtain that info that would be helpful everything else was pretty cut & dry Thanks
In that case you would replace L(10000000,1) with L(40000000,50).
Great thanks I’ll wait to see what @RESET_9999 says
RESET_9999
Posts: 1909
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

you should use the rpu maxcll/fall and MDL but it doesn't really matter since you're going to watch it in DV.
If you're going to watch on a low nits HDR10 TV/PJ, don't waste your time baking FEL because you will just increase the amount of tonemapping your display has to do.

EG from workflow 2-2:
RPU mastering display: 0.0050/4000 nits
RPU content light level (L1): MaxCLL: 4531.59 nits, MaxFALL: 90.35 nits


@all
Speaking of dovi baker, anyone experienced weird green frame? I've checked hundreds of movies and only the two Transformers movies have this issue.
It's not a dgdecode issue because the same is happening if I use FFMS2.

@quietvoid since you're using your own method and not the DV baker, have you ever had this issue?

this is Transformers.Dark.of.the.Moon.2011
Image
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Thu Sep 21, 2023 2:24 pm
@quietvoid since you're using your own method and not the DV baker, have you ever had this issue?

this is Transformers.Dark.of.the.Moon.2011
No, sample?
FWIW DoviBaker is missing implementation details which make it unusable for profile 5 files, so it's possible some profile 7 also have issues.
RESET_9999
Posts: 1909
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Thu Sep 21, 2023 3:50 pm
No, sample?
FWIW DoviBaker is missing implementation details which make it unusable for profile 5 files, so it's possible some profile 7 also have issues.
strange that it's happening only with the two Transformers movies. I also tried directly from the untouched m2ts. It looks like the rpu mapping flashes with the homemade FEL test files.

sample: https://drive.google.com/file/d/1BzPm7z ... sp=sharing
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Thu Sep 21, 2023 4:45 pm
strange that it's happening only with the two Transformers movies. I also tried directly from the untouched m2ts. It looks like the rpu mapping flashes with the homemade FEL test files.

sample: https://drive.google.com/file/d/1BzPm7z ... sp=sharing
I can't reproduce the issue even with DoviBaker, it looks normal but different from my method.
Haven't tested if my method is still accurate though.
RESET_9999
Posts: 1909
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

quietvoid wrote:
Thu Sep 21, 2023 5:12 pm
I can't reproduce the issue even with DoviBaker, it looks normal but different from my method.
Haven't tested if my method is still accurate though.
Did you check the whole clip ?? its just some random frame that flashes. The first flash happens at frame 68.
if yes then I don't see how its possible and why its happening ONLY with the transformers movies. As I said I checked hundred of movies with the same avs script.


Image
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

RESET_9999 wrote:
Thu Sep 21, 2023 5:37 pm
Did you check the whole clip ?? its just some random frame that flashes. The first flash happens at frame 68.
if yes then I don't see how its possible and why its happening ONLY with the transformers movies. As I said I checked hundred of movies with the same avs script.
Yes I see them with DoviBaker only, my method looks fine.
It's probably a bug in DoviBaker.
skull88
Posts: 44
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by skull88 »

RESET_9999 wrote:
Thu Sep 21, 2023 5:37 pm
quietvoid wrote:
Thu Sep 21, 2023 5:12 pm
I can't reproduce the issue even with DoviBaker, it looks normal but different from my method.
Haven't tested if my method is still accurate though.
Did you check the whole clip ?? its just some random frame that flashes. The first flash happens at frame 68.
if yes then I don't see how its possible and why its happening ONLY with the transformers movies. As I said I checked hundred of movies with the same avs script.


Image
Just curious, how did you catch this originally, if it's only certain frames? Is it not possible other movies from that period and studio might have similar issue if passed through, but the exact frames just never showed up for a movie you haven't watched yet or are they obvious on DV plot or some other way without scrubbing/watching entire file?
Last edited by skull88 on Thu Sep 21, 2023 6:30 pm, edited 2 times in total.
RESET_9999
Posts: 1909
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

skull88 wrote:
Thu Sep 21, 2023 6:26 pm
Just curious, how did you catch this, if it's only certain frames? Is it not possible other movies have it but the exact frames just never showed up or are they obvious on DV plot or some other way without scrubbing/watching entire file?
with workflow 7-1 , I export 50 screenshots and got at least 10 faulty frames with both Transformers movies.
none of the other FEL movies I checked had this issue.
skull88
Posts: 44
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by skull88 »

RESET_9999 wrote:
Thu Sep 21, 2023 6:28 pm
skull88 wrote:
Thu Sep 21, 2023 6:26 pm
Just curious, how did you catch this, if it's only certain frames? Is it not possible other movies have it but the exact frames just never showed up or are they obvious on DV plot or some other way without scrubbing/watching entire file?
with workflow 7-1 , I export 50 screenshots and got at least 10 faulty frames with both Transformers movies.
none of the other FEL movies I checked had this issue.
Ah, okay. I wonder if these specific frames have any unique/unusual data if you look at the .json from the FEL RPU? Otherwise, it may just be something in the HEVC encoding and DoViBaker combination bug I guess. Strange find though.
Iam2smart
Posts: 17
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Iam2smart »

I'm having an issue where I'm trying to inject Web DV into Blu-ray HDR10 I'm using National Lampoons Christmas Vacation and I followed the video tut but I keep getting this error to reset displays to all level9 to the mastering display and it also states the L2 Metadata Validation test fails and L9 Metadata Validation test fails any ideas? Thanks
RESET_9999
Posts: 1909
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Iam2smart wrote:
Thu Sep 21, 2023 6:38 pm
I'm having an issue where I'm trying to inject Web DV into Blu-ray HDR10 I'm using National Lampoons Christmas Vacation and I followed the video tut but I keep getting this error to reset displays to all level9 to the mastering display and it also states the L2 Metadata Validation test fails and L9 Metadata Validation test fails any ideas? Thanks
AFAIK, there's only an iTunes webdl available and it's cmv2.9 (no L9).
So I guess you have a MA webdl ? can you post the result of the metafier validation please? (workflow 2-8)
Iam2smart
Posts: 17
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Iam2smart »

RESET_9999 wrote:
Thu Sep 21, 2023 7:20 pm
Iam2smart wrote:
Thu Sep 21, 2023 6:38 pm
I'm having an issue where I'm trying to inject Web DV into Blu-ray HDR10 I'm using National Lampoons Christmas Vacation and I followed the video tut but I keep getting this error to reset displays to all level9 to the mastering display and it also states the L2 Metadata Validation test fails and L9 Metadata Validation test fails any ideas? Thanks
AFAIK, there's only an iTunes webdl available and it's cmv2.9 (no L9).
So I guess you have a MA webdl ? can you post the result of the metafier validation please? (workflow 2-8)
Here is the attached file I tried to find the iTunes Version but this is the only one I found from the places I use

Edit. I realized it didnt even attach the file here is a google drive link https://drive.google.com/file/d/1P_JtiJ ... drive_link
Post Reply