Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by speeddemon »

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.

Post by RESET_9999 »

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.

Post by speeddemon »

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.

Post by skull88 »

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.

Post by RESET_9999 »

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.

Post by Iam2smart »

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.

Post by RESET_9999 »

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.

Post by Iam2smart »

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.

Post by Iam2smart »

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.

Post by Trees »

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.

Post by speeddemon »

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.

Post by Iam2smart »

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.

Post by speeddemon »

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.

Post by RESET_9999 »

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.

Post by quietvoid »

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.
Post Reply