Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

staknhalo wrote:
Mon Mar 03, 2025 8:50 pm
deadchip12 wrote:
Mon Mar 03, 2025 4:16 am
@RESET_9999

For the movie Longlegs (2024), bluray version only has hdr10. I can only find the streaming version with profile 8 DV. Is there a way to get profile 5 DV to add to the bluray version?
I checked out doing this movie myself the other week - the web and UHD are different aspects ratios on the in movie elements I found (like when it changes to 4:3 framing in the movie - it's slightly different sized/aspect squares each in the UHD and WEB unless I was just being retarded) so the web won't work for the UHD for DV 'technically' seeing as DV has info related to total brightness in the frame (and diff size elements create diff brightness levels) along with dimension data - the HDR10+ metadata would work with the UHD as it isn't reliant on all that specific type of data for it's brightness adjustments IIRC - otherwise you would need to recalculate the DV data for the UHD specifically
Huh, interesting. Thanks for the findings.

Btw, a question to all: after the latest update, the sony a95l oled tv no longer displays true black in dolby vision (confirmed by several members of avsforum). This was evident when watching the movie Longlegs on my own a95l last night, e.g. the frames with red texts against a full black background - it was black in hdr10 but very dark grey in DV. I watch movies in pitch dark room so this is very noticeable. Is there a setting on the Ugoos (or maybe a dovi scripts workflow?) that can fix this without crushing blacks too much?
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I'm still on the private build and not A14, but could you confirm if this file's black level is raised?

https://drive.google.com/file/d/1miJWZO ... drive_link
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

RESET_9999 wrote:
Tue Mar 04, 2025 2:10 am
I'm still on the private build and not A14, but could you confirm if this file's black level is raised?

https://drive.google.com/file/d/1miJWZO ... drive_link
Will test later tonight and let you know.

Btw, just want to clarify: by update I mean the a95l's update, not the cpm build's one. So it's most likely the tv's fault, not cpm's.
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

oh, I see. I thought you were talking about the cpm update.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
settlefair
Posts: 2
Joined: Tue Mar 04, 2025 3:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by settlefair »

Hi, could anyone please help me answering some questions regarding Dolby Vision.
I would like to keep/encode my UHD discs in p7 with the EL.

However I would like to reduce the file size of the BL stream to around 20GB (instead of 60/80GB).
Does the EL still work if I re-encode the BL with x265? Can the 12bit image only be reconstructed with an original pixel perfect BL?

When I am not watching on my TV/Ugoos, I watch on my Computer with a 21:9 display. Until now, I always cropped the black bars away on all of my encodes. Can I re-encode the BL and/or EL with x265 and crop the black bars or will this also result in a failed reconstruction of the DV image?

After reading through most of the docs and posts about DV, I am still uncertain about those two questions and I appreciate any input.
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

No you can't keep the EL if you re-encode the BL, but you can bake the EL(and crop) into the BL with dovi_baker(workflow 8-2-1 in my scripts)
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
deadchip12
Posts: 379
Joined: Thu May 02, 2019 2:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by deadchip12 »

RESET_9999 wrote:
Tue Mar 04, 2025 2:40 am
oh, I see. I thought you were talking about the cpm update.
Tested the DV full black video file. It was not black on my sony a95l. I had to go to 2-pt white balance setting of the tv and dial RGB-bias to minus 4 in order for it to become true black. If you know a better way using the Ugoos or dovi_script, kindly let me know.

Btw, with the latest A14 cpm build, what should I set L5, L6 and Restrict overlays to? They are currently set to Source, Source and Off respectively. I have watched a few films with subtitles and haven't seen any issues.
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

deadchip12 wrote:
Tue Mar 04, 2025 4:43 pm
RESET_9999 wrote:
Tue Mar 04, 2025 2:40 am
oh, I see. I thought you were talking about the cpm update.
Tested the DV full black video file. It was not black on my sony a95l. I had to go to 2-pt white balance setting of the tv and dial RGB-bias to minus 4 in order for it to become true black. If you know a better way using the Ugoos or dovi_script, kindly let me know.

Btw, with the latest A14 cpm build, what should I set L5, L6 and Restrict overlays to? They are currently set to Source, Source and Off respectively. I have watched a few films with subtitles and haven't seen any issues.
All normal then. LG TVs too, have raised black without the RGB trick. My C2 need -2 to get perfect black. My old C8, not even -6 worked, had to use contrast 49 IIRC.
if your TV has a semi-transparent mask for L5, you can leave it to ''source''. Thtas what I do on mine.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
settlefair
Posts: 2
Joined: Tue Mar 04, 2025 3:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by settlefair »

Thanks for the quick reply.
I looked at the dovi_baker GitHub, what kind of file do I get out of the process?
It mentions "baked into a PQ12 output stream"/"HDR PQ stream", what kind of stream is that and can Kodi play it back? What kind of picture mode will be signalled to the TV? DV or HDR?

Am I baking dynamic brightness and color data into the stream, that usually my TV would dynamically adjust on runtime like max brightness of the TV and will I therefore reduce the HDR quality on a future, possibly better TV?

There will be no SDR stream anymore, is this correct?
So I will have to be really certain that all of my devices support HDR or have HDR to SDR conversion.

Would you use this approach?
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

the dovi_baker output is 16bit RGB and contain 100% the 12bits essence. The dynamic metadata(tone mapping) is not applied by default.

Then you have to encode the 16bit RGB stream into a regular HDR10 10bit YUV stream with a P7 to P8 original RPU metadata.

my script does all of this automatically.

settlefair wrote:
Tue Mar 04, 2025 5:10 pm
Thanks for the quick reply.
I looked at the dovi_baker GitHub, what kind of file do I get out of the process?
It mentions "baked into a PQ12 output stream"/"HDR PQ stream", what kind of stream is that and can Kodi play it back? What kind of picture mode will be signalled to the TV? DV or HDR?

Am I baking dynamic brightness and color data into the stream, that usually my TV would dynamically adjust on runtime like max brightness of the TV and will I therefore reduce the HDR quality on a future, possibly better TV?

There will be no SDR stream anymore, is this correct?
So I will have to be really certain that all of my devices support HDR or have HDR to SDR conversion.

Would you use this approach?
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
daffie
Posts: 75
Joined: Sun Apr 16, 2023 6:10 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by daffie »

RESET_9999 wrote:
Tue Mar 04, 2025 4:50 pm
deadchip12 wrote:
Tue Mar 04, 2025 4:43 pm
RESET_9999 wrote:
Tue Mar 04, 2025 2:40 am
oh, I see. I thought you were talking about the cpm update.
Tested the DV full black video file. It was not black on my sony a95l. I had to go to 2-pt white balance setting of the tv and dial RGB-bias to minus 4 in order for it to become true black. If you know a better way using the Ugoos or dovi_script, kindly let me know.

Btw, with the latest A14 cpm build, what should I set L5, L6 and Restrict overlays to? They are currently set to Source, Source and Off respectively. I have watched a few films with subtitles and haven't seen any issues.
All normal then. LG TVs too, have raised black without the RGB trick. My C2 need -2 to get perfect black. My old C8, not even -6 worked, had to use contrast 49 IIRC.
if your TV has a semi-transparent mask for L5, you can leave it to ''source''. Thtas what I do on mine.
My LG G1 has no raised black with your test file when using brightness level 49. If going higher than 49 the blacks get raised.
LG OLED65G1RLA / Samsung HW-Q990D / Sony UBP-X800M2 / Ugoos AM6B+ (CE with CPM Build)
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

daffie wrote:
Tue Mar 04, 2025 9:36 pm
My LG G1 has no raised black with your test file when using brightness level 49. If going higher than 49 the blacks get raised.
Dont change the contrast/brightness; it affects the colors/hue. Instead, go in the white balance settings, set it to low 2pts, and decrease RGB until the glow is gone. My C2 needed -2 -2 -2
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
daffie
Posts: 75
Joined: Sun Apr 16, 2023 6:10 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by daffie »

RESET_9999 wrote:
Tue Mar 04, 2025 9:41 pm
daffie wrote:
Tue Mar 04, 2025 9:36 pm
My LG G1 has no raised black with your test file when using brightness level 49. If going higher than 49 the blacks get raised.
Dont change the contrast/brightness; it affects the colors/hue. Instead, go in the white balance settings, set it to low 2pts, and decrease RGB until the glow is gone. My C2 needed -2 -2 -2
Thanks.
Will changing brightness just slightly from 50 to 49 have a big impact on the colors/hue?

Edit: had to set RGB to - 6 - 6 - 6 to get perfect blacks with brightness at level 50 instead of 49.

So this - 6 on all RGB channels is actually "better" than changing brightness from level 50 to level 49?
Can you explain this?
LG OLED65G1RLA / Samsung HW-Q990D / Sony UBP-X800M2 / Ugoos AM6B+ (CE with CPM Build)
RESET_9999
Posts: 2413
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I'm no expert about this but yes, it is better to change the white balance. Maybe @chros will chime in, he's the expert.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
coopzr
Posts: 23
Joined: Wed Jan 29, 2025 8:13 am

Re: Dolby Vision now possible through MP4 Mux.

Post by coopzr »

daffie wrote:
Tue Mar 04, 2025 9:52 pm
Thanks.
Will changing brightness just slightly from 50 to 49 have a big impact on the colors/hue?
RESET_9999 wrote:
Tue Mar 04, 2025 10:37 pm
I'm no expert about this but yes, it is better to change the white balance. Maybe @chros will chime in, he's the expert.
@daffie may be referring to these 'optimized settings' maintained by P40L0. I use these settings too. I haven't tested the validity of whether these settings are better, however, I have seen much community praise and endorsement for their settings, and it is frequently updated, so I trust it.

EDIT 16/05/2025
These settings suck! Completely and utterly destroy the accuracy of colors and brightness. Avoid.
Last edited by coopzr on Thu May 15, 2025 2:40 pm, edited 1 time in total.
Post Reply