Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote:
Mon Jun 26, 2023 6:19 pm
Of course. But visually lossless quality transcoding is possible. If it's advantageous to visually losslessly convert Blu-ray remuxes to IPTPQc2, why wouldn't you?

IPTPQc2 is better when it's encoded straight from the 12bit master. The colorspace is more efficient and retains more color information which in the end is the equivalent of 11.5bits YCbCr(exceeding our tv capabilities btw).
There's no point/benefit in going from 10bit YUV to IPTPQc2.
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:
speeddemon wrote:
Mon Jun 26, 2023 3:49 pm
Do you/we have any idea why they're doing this?
Is it better to just watch in HDR instead of DV for movies with FEL expansion if a FEL compatible player isn't an option?
Would it be possible to re-write the L1/L2 metadata so it's corrected/"unexpanded"?
4 options:
1- just watch in HDR10
2- bake the EL into the BL
3- generate a proper RPU in resolve for the BL actual brightness.
4- get a proper player

Expanding the brightness makes sense actually. It futureproofs the grade for when the TV will be brighter and it makes the content accurate on more type(brightness, HDR format) of display.

Because this way, people with brighter DV TV(G3) can enjoy brighter HDR and people with low nits DV TV can also get an accurate picture thanks to the trim pass and L1.
Then, people with HDR10-only TVs (low nits) can also get an accurate image with the 1000nits BL. If the BL was as bright as the EL, then those low-nits HDR10 TVs would look bad/clipped.
danbez wrote:
Mon Jun 26, 2023 3:08 pm
On top of that, we also have titles where the Base Layer was poorly authored resulting in a lot of compression artifacts and other issues that are only fixed with the FEL layer. Typical examples are Total Recall, Halloween 2 and a few others.
That's right. I found a couple that improve grain/details: https://docs.google.com/spreadsheets/d/ ... =917134052
How would i bake the EL into the BL?

This is for FEL titles only correct?
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 Jun 26, 2023 4:14 pm
speeddemon wrote:
Mon Jun 26, 2023 4:11 pm
RESET_9999 wrote:
Mon Jun 26, 2023 4:01 pm

3- generate a proper RPU in resolve for the BL actual brightness.
Do you have a tutorial for this or know of a tutorial for this?
https://www.youtube.com/watch?v=ZdFiqATo_j8
Aside from the time/effort involved. Is there a downside to doing this and/or anything you miss out on or that could be improved upon further from your tutorial?
Also, what would it take to analyze for multiple trims or does it already do this? Have you ever attempted this?

Also, I followed the guide and generated this for The Super Mario Bros (2023):
Image

Does this look correct?

Here's the DoVi XML and HDR10+ JSON as well.

Also, thank you RESET_9999 for putting together these tutorials and scripts!
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

spl147 wrote:
Mon Jun 26, 2023 8:37 pm
How would i bake the EL into the BL?

This is for FEL titles only correct?
https://github.com/erazortt/DoViBaker

also, the latest version of my script can encode P7 FEL to P8.. Workflow (6-9)
speeddemon wrote:
Mon Jun 26, 2023 10:02 pm
Aside from the time/effort involved. Is there a downside to doing this and/or anything you miss out on or that could be improved upon further from your tutorial?
The only thing I don't do in the video is the project image scaling. I found out that if you set your project to 1080p with cubic algo, it produces much better metadata that are almost identical to the original.
https://ibb.co/r2tMX6n
Also, what would it take to analyze for multiple trims or does it already do this? Have you ever attempted this?
Your project set to CMV4.0 will produce L2 trims. My script by default, will remove them as explained recently in this thread.
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:
spl147 wrote:
Mon Jun 26, 2023 8:37 pm
How would i bake the EL into the BL?

This is for FEL titles only correct?
https://github.com/erazortt/DoViBaker

also, the latest version of my script can encode P7 FEL to P8.. Workflow (6-9)

Would baking the FEL layer into the base layer not create a profile 5
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

spl147 wrote:
Tue Jun 27, 2023 2:17 pm
Would baking the FEL layer into the base layer not create a profile 5
It creates a new HDR10 base layer with P8 original dv metadata
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:
spl147 wrote:
Tue Jun 27, 2023 2:17 pm
Would baking the FEL layer into the base layer not create a profile 5
It creates a new HDR10 base layer with P8 original dv metadata
So does it retain hdr10 fallback?
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

spl147 wrote:
Tue Jun 27, 2023 2:23 pm
So does it retain hdr10 fallback?
of course, no different than any HDR10 + P8 encode.
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:of course, no different than any HDR10 + P8 encode.
So then what is gained/lost?
Last edited by spl147 on Tue Jun 27, 2023 2:25 pm, edited 1 time in total.
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

spl147 wrote:
Tue Jun 27, 2023 2:25 pm
So then what is gained/lost?
You gain extra quality/brightness from the FEL.
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:
spl147 wrote:
Tue Jun 27, 2023 2:25 pm
So then what is gained/lost?
You gain extra quality/brightness from the FEL.
So then would it be the same if played back as HDR10 or DV
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:of course, no different than any HDR10 + P8 encode.
What would be the command line to accomplish this?
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

spl147 wrote:
Tue Jun 27, 2023 2:28 pm
So then would it be the same if played back as DV
only if you compare it to DV on a device that support FEL.
What would be the command line to accomplish this?
I posted my cli a couple post ago.
spl147
Posts: 297
Joined: Mon Dec 10, 2012 4:59 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by spl147 »

RESET_9999 wrote:
spl147 wrote:
Tue Jun 27, 2023 2:28 pm
So then would it be the same if played back as DV
only if you compare it to DV on a device that support FEL.
What would be the command line to accomplish this?
I posted my cli a couple post ago.
Workflow 6-9 using your scripts?

I was referring to using dovibaker
RESET_9999
Posts: 1893
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

spl147 wrote:
Tue Jun 27, 2023 2:43 pm
I was referring to using dovibaker
its a ffmpeg x265 cmd and can be used wit the dovi baker. Just change the variables.
Post Reply