Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

install them one by one??
pip install scikit-image
etc...
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Tue Oct 10, 2023 4:47 pm
install them one by one??
pip install scikit-image
etc...
Haha I thought that you writing out a directory. I didn't realise they were separate items.
It's working now!
For anyone following after me, to install cv2 you don't install cv2, you install opencv-python (I don't really know what that means but there you go). like so: python -m pip install opencv-python.
Also I think you have to add Python to your PATH variables:
https://www.youtube.com/watch?v=AMAE0S_NzxE
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

@RESET_9999
Does this show that Carrie.1976 has brightness expanded via FEL (by a very small amount)?
https://slow.pics/c/093yE6ed
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Not really. FEL improves grain which probably affects the pixels reading a bit.

When fel expands brightness, you won't have any doubt:
https://slow.pics/c/dCcoN9UP
https://slow.pics/c/IQmKJTCY
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 58
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

Quick question; when generating CMv4.0 content (3-1), how does one determine what Mastering Display to use? I assuming higher isn't necessarily better?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote:
Sat Oct 14, 2023 8:41 am
Quick question; when generating CMv4.0 content (3-1), how does one determine what Mastering Display to use? I assuming higher isn't necessarily better?
2 options:

1- just use the static metadata from your source HDR10
2- check the brightness first with madvr. If 95% of the movie is under 1000nits, use 1000nits MDL else, 4000.

Option 2 is better because some movies have a static MDL of 4000nits but the actual brightness is under 1000nits.
A 4000nits RPU is a lot darker than a 1000nits one regardless of the content's actual brightness and in my opinion, 4000nits MDL + low nits content is wrong without L2 trim passes because if you look at the generated(or original) trims with a 4000nits analysis, they brighten/compensate a lot for the darkness a 4000 rpu brings.

https://slow.pics/c/uVX5iFOD
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 58
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

RESET_9999 wrote:
Sat Oct 14, 2023 1:35 pm
Trees wrote:
Sat Oct 14, 2023 8:41 am
Quick question; when generating CMv4.0 content (3-1), how does one determine what Mastering Display to use? I assuming higher isn't necessarily better?
2 options:

1- just use the static metadata from your source HDR10
2- check the brightness first with madvr. If 95% of the movie is under 1000nits, use 1000nits MDL else, 4000.

Option 2 is better because some movies have a static MDL of 4000nits but the actual brightness is under 1000nits.
A 4000nits RPU is a lot darker than a 1000nits one regardless of the content's actual brightness and in my opinion, 4000nits MDL + low nits content is wrong without L2 trim passes because if you look at the generated(or original) trims with a 4000nits analysis, they brighten/compensate a lot for the darkness a 4000 rpu brings.

https://slow.pics/c/uVX5iFOD
Thank you for your reply.

How do I check the brightness? Can I not plot the file with Dovi_Scripts to check the brightness? I've managed to install both MPC-BE and madVR, but whenever I play the file I want to add DV to, it will just play. I've also checked the madVR options, but nothing. Or is it a command line-only thing?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

6-2 is the workflow to measure HDR with madvr.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Sat Oct 14, 2023 1:35 pm
Trees wrote:
Sat Oct 14, 2023 8:41 am
Quick question; when generating CMv4.0 content (3-1), how does one determine what Mastering Display to use? I assuming higher isn't necessarily better?
2 options:

1- just use the static metadata from your source HDR10
2- check the brightness first with madvr. If 95% of the movie is under 1000nits, use 1000nits MDL else, 4000.

Option 2 is better because some movies have a static MDL of 4000nits but the actual brightness is under 1000nits.
A 4000nits RPU is a lot darker than a 1000nits one regardless of the content's actual brightness and in my opinion, 4000nits MDL + low nits content is wrong without L2 trim passes because if you look at the generated(or original) trims with a 4000nits analysis, they brighten/compensate a lot for the darkness a 4000 rpu brings.

https://slow.pics/c/uVX5iFOD
If you have a display with a max brightness under 1000 nits, is there any point to using the 4000 nits option?
LV8HD
Posts: 47
Joined: Tue Jan 11, 2022 3:48 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by LV8HD »

Hi guys, I'm working on the movie The Equalizer, and I want to inject Dolby Vision coming from the iTunes WEB-DL but I've noticed something I've never seen in a rpu:

Code: Select all

Summary:
  Frames: 189960
  Profile: 8
  DM version: 1 (CM v2.9)
  Scene/shot count: 2426
  RPU mastering display: 0.0050/4000 nits
  RPU content light level (L1): MaxCLL: 1544.77 nits, MaxFALL: 290.81 nits
  L6 metadata
    Mastering display: 0.0050/4000 nits. MaxCLL: 1774 nits, MaxFALL: 936 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1317 nits, MaxFALL: 412 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 3403 nits, MaxFALL: 412 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1694 nits, MaxFALL: 30 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2203 nits, MaxFALL: 223 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 3221 nits, MaxFALL: 223 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1936 nits, MaxFALL: 184 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2727 nits, MaxFALL: 184 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2008 nits, MaxFALL: 205 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1870 nits, MaxFALL: 596 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1463 nits, MaxFALL: 122 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1769 nits, MaxFALL: 782 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1476 nits, MaxFALL: 216 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2071 nits, MaxFALL: 703 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2819 nits, MaxFALL: 121 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2029 nits, MaxFALL: 264 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2047 nits, MaxFALL: 161 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1567 nits, MaxFALL: 108 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1331 nits, MaxFALL: 33 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1754 nits, MaxFALL: 935 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2205 nits, MaxFALL: 82 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2015 nits, MaxFALL: 20 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1766 nits, MaxFALL: 830 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 2431 nits, MaxFALL: 830 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1795 nits, MaxFALL: 135 nits
    Mastering display: 0.0050/4000 nits. MaxCLL: 1795 nits, MaxFALL: 27 nits
  L2 trims: 100 nits, 1000 nits
  L2 Trim Count (TargetID, count): (1, 2400) (48, 1)"
  L5 Left=0 Right=0 Top=280 Bottom=280
I've never seen multiple values for L6 metadata, could anyone explain why?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

your display capabilities dont matter, you should use the correct MDL according to the content brightness.
dapope wrote:
Sun Oct 15, 2023 2:39 pm

If you have a display with a max brightness under 1000 nits, is there any point to using the 4000 nits option?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

LV8HD wrote:
Sun Oct 15, 2023 3:01 pm
Hi guys, I'm working on the movie The Equalizer, and I want to inject Dolby Vision coming from the iTunes WEB-DL but I've noticed something I've never seen in a rpu:
I've never seen multiple values for L6 metadata, could anyone explain why?
yes it happens sometimes. I guess if you would play the movie in HDR10 on a device that can convert DV to HDR10, they would be used.

Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
LV8HD
Posts: 47
Joined: Tue Jan 11, 2022 3:48 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by LV8HD »

RESET_9999 wrote:
Sun Oct 15, 2023 3:04 pm
LV8HD wrote:
Sun Oct 15, 2023 3:01 pm
Hi guys, I'm working on the movie The Equalizer, and I want to inject Dolby Vision coming from the iTunes WEB-DL but I've noticed something I've never seen in a rpu:
I've never seen multiple values for L6 metadata, could anyone explain why?
yes it happens sometimes. I guess if you would play the movie in HDR10 on a device that can convert DV to HDR10, they would be used.

Image
I see, thank you.
Draco1544
Posts: 7
Joined: Sun Dec 18, 2022 12:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Draco1544 »

With the RESET_9999 script, I can bake the EL and get the same bit rate (without compression) than the original movie ?
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

RESET_9999 wrote:
Sat Oct 14, 2023 1:35 pm
Trees wrote:
Sat Oct 14, 2023 8:41 am
Quick question; when generating CMv4.0 content (3-1), how does one determine what Mastering Display to use? I assuming higher isn't necessarily better?
2 options:

1- just use the static metadata from your source HDR10
2- check the brightness first with madvr. If 95% of the movie is under 1000nits, use 1000nits MDL else, 4000.

Option 2 is better because some movies have a static MDL of 4000nits but the actual brightness is under 1000nits.
A 4000nits RPU is a lot darker than a 1000nits one regardless of the content's actual brightness and in my opinion, 4000nits MDL + low nits content is wrong without L2 trim passes because if you look at the generated(or original) trims with a 4000nits analysis, they brighten/compensate a lot for the darkness a 4000 rpu brings.

https://slow.pics/c/uVX5iFOD
Is this an example of what you're talking about here? The MaxCLL basically doesn't go above 1000 nits, so I should choose 1000 nits for 3-1 despite the MDL being reported as 4000 nits?
https://imgur.com/a/VhPte1l
Also, how does expanded brightness via FEL factor into this? Scream 3 has FEL expanded brightness. Wouldn't the FEL brightness be taking it over 1000 nits?
Post Reply