Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#8881 Post by speeddemon » Mon Sep 18, 2023 5:46 pm

So what are the ideal settings to use now in the latest version of Resolve Studio (18.6 at the time of this post?)?
Are those results now identical to the latest version of CM_Analyze (5.4.0 at the time of this post?)?

RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8882 Post by RESET_9999 » Mon Sep 18, 2023 7:05 pm

same settings as before
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#8883 Post by speeddemon » Mon Sep 18, 2023 7:32 pm

RESET_9999 wrote: Mon Sep 18, 2023 7:05 pm same settings as before
Including 1080p Cubic scaling?
Did Black Magic adopt the latest CM_Analyze algo/tools into Resolve?

skull88
Posts: 69
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

#8884 Post by skull88 » Mon Sep 18, 2023 7:40 pm

speeddemon wrote: Mon Sep 18, 2023 7:32 pm
RESET_9999 wrote: Mon Sep 18, 2023 7:05 pm same settings as before
Including 1080p Cubic scaling?
Did Black Magic adopt the latest CM_Analyze algo/tools into Resolve?
Not to be harsh, but you really should put a little effort into figuring out answers to your questions, like looking up v18.6 release notes or reading the last 1-2 pages of this thread. It's been covered.

RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8885 Post by RESET_9999 » Mon Sep 18, 2023 8:14 pm

speeddemon wrote: Mon Sep 18, 2023 7:32 pm Including 1080p Cubic scaling?
Did Black Magic adopt the latest CM_Analyze algo/tools into Resolve?
yes, yes.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

Iam2smart
Posts: 20
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

#8886 Post by Iam2smart » Wed Sep 20, 2023 5:07 am

What’s the best way to convert BL + FEL expanded movies now. Is it using Resolve/CM Analyze or Baking FEL into the base layer. What I used to do was Bake FEL into base layer is that wrong now? Or is it better to just use the script and use CM Analyze to generate whole new DV

RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8887 Post by RESET_9999 » Wed Sep 20, 2023 2:12 pm

Iam2smart wrote: Wed Sep 20, 2023 5:07 am What’s the best way to convert BL + FEL expanded movies now. Is it using Resolve/CM Analyze or Baking FEL into the base layer. What I used to do was Bake FEL into base layer is that wrong now? Or is it better to just use the script and use CM Analyze to generate whole new DV
If you have a decent CPU and know your way around x265.exe, baking FEL into BL is probably better.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

Iam2smart
Posts: 20
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

#8888 Post by Iam2smart » Wed Sep 20, 2023 5:21 pm

RESET_9999 wrote: Wed Sep 20, 2023 2:12 pm
Iam2smart wrote: Wed Sep 20, 2023 5:07 am What’s the best way to convert BL + FEL expanded movies now. Is it using Resolve/CM Analyze or Baking FEL into the base layer. What I used to do was Bake FEL into base layer is that wrong now? Or is it better to just use the script and use CM Analyze to generate whole new DV
If you have a decent CPU and know your way around x265.exe, baking FEL into BL is probably better.
Ok thanks I’ll do that I have a i7-13700k so it takes about a day but it works.

Iam2smart
Posts: 20
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

#8889 Post by Iam2smart » Wed Sep 20, 2023 6:02 pm

RESET_9999 wrote: Wed Sep 20, 2023 2:12 pm
Iam2smart wrote: Wed Sep 20, 2023 5:07 am What’s the best way to convert BL + FEL expanded movies now. Is it using Resolve/CM Analyze or Baking FEL into the base layer. What I used to do was Bake FEL into base layer is that wrong now? Or is it better to just use the script and use CM Analyze to generate whole new DV
If you have a decent CPU and know your way around x265.exe, baking FEL into BL is probably better.
I forgot to ask does the DV script work best for baking FEL in BL

Trees
Posts: 59
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

#8890 Post by Trees » Wed Sep 20, 2023 6:20 pm

I'm trying to inject HDR10+ metadata into an HR10 remux. However, the HDR10+ metadata is delayed by 24 frames.

How do I sync them? I'm familiar with syncing with dovi_tool, but I'm afraid it won't work with HDR10+.

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#8891 Post by speeddemon » Wed Sep 20, 2023 11:09 pm

Iam2smart wrote: Wed Sep 20, 2023 5:21 pm
RESET_9999 wrote: Wed Sep 20, 2023 2:12 pm
Iam2smart wrote: Wed Sep 20, 2023 5:07 am What’s the best way to convert BL + FEL expanded movies now. Is it using Resolve/CM Analyze or Baking FEL into the base layer. What I used to do was Bake FEL into base layer is that wrong now? Or is it better to just use the script and use CM Analyze to generate whole new DV
If you have a decent CPU and know your way around x265.exe, baking FEL into BL is probably better.
Ok thanks I’ll do that I have a i7-13700k so it takes about a day but it works.
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

Iam2smart
Posts: 20
Joined: Sun Feb 13, 2022 6:56 am

Re: Dolby Vision now possible through MP4 Mux.

#8892 Post by Iam2smart » Wed Sep 20, 2023 11:53 pm

speeddemon wrote: Wed Sep 20, 2023 11:09 pm
Iam2smart wrote: Wed Sep 20, 2023 5:21 pm
RESET_9999 wrote: Wed Sep 20, 2023 2:12 pm

If you have a decent CPU and know your way around x265.exe, baking FEL into BL is probably better.
Ok thanks I’ll do that I have a i7-13700k so it takes about a day but it works.
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

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#8893 Post by speeddemon » 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
Iam2smart wrote: Wed Sep 20, 2023 5:21 pm

Ok thanks I’ll do that I have a i7-13700k so it takes about a day but it works.
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.
Last edited by speeddemon on Thu Sep 21, 2023 2:44 am, edited 2 times in total.

RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8894 Post by RESET_9999 » Thu Sep 21, 2023 12:09 am

Iam2smart wrote: Wed Sep 20, 2023 11:53 pm I’ve just used the script before can I still use the DV Script or is it better now to use h265.exe
The script uses ffmpeg/x265 but the parameters are hardcoded. If you use at least the slow preset + CRF17 or lower, it should give decent quality but you should do as @speeddemon said.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

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

Re: Dolby Vision now possible through MP4 Mux.

#8895 Post by quietvoid » Thu Sep 21, 2023 12:21 am

speeddemon wrote: Thu Sep 21, 2023 12:05 amThen don't forget to inject the original FEL RPU back into the HEVC file output from Staxrip/x265.exe after that compression process is complete.
Huh? No, you're supposed to be using a profile 8.1 RPU in the final video.