Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
nekno
Posts: 68
Joined: Tue Jun 23, 2020 4:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by nekno »

RESET_9999 wrote:
Mon Jan 27, 2025 2:49 am
no its not a problem for DV.
Thanks. Yeah, I made a little patch for dovi_tool to verify. The patch corrects the frame indexes, and my patched version generated the same output RPU as dovi_tool 2.1.3, so there must be some normalization of the indexes in a spot of code I didn't check.

Edit: Or maybe, as it appears, there is no frame index in the RPU output. Each frame just has its data, so the index doesn't matter. The data is sequential by nature. So, not clear on why it mattered for HDR10+ -> DV generation.
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:
Sun Jan 26, 2025 4:48 pm
Actually, that clipping behavior with content brighter than the RPU MDL just got patched in cpm's coreelec build so if you use one of the CE devices, you can now do my initial suggestion of using 1000nits MDL if 10% or less is over 1000nits. Either way, 1000nits is the correct selection for that Seinfeld episode plot but I've seen other episode's plots that spiked to 10 000nits..

If your player is the x800m2/x700 or oppo, then you should respect the mediainfo MDL if there's a shot over the RPU MDL. These 3 players (probably all the bluray players) are altering the RPU that is being sent to the TV. They limit the L1 metadata to the RPU MDL causing the clipping when the content is brighter. In other words, the rpu response differences we noticed years ago between devices are finally explained.

The new CE update removed that limitation so now it sends original metadata to the display and processes the metadata identically to the TV internal player(or the shield and appleTV).

If the content is graded within the MDL, then all of this is pretty much meaningless but there's one even better thing that this update brought. It has enabled the Level 5 metadata and the positive offset lift that never worked on any HDMI device so far. Positive Lift metadata are frequently used in most movies. So this update brought an already great device to perfection levels.
I'm using the Ugoos AM6B+ with the latest nightly build 21.2-Omega. Does this update mean anything? How do I get it?
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

nekno wrote:
Mon Jan 27, 2025 4:30 am
So, not clear on why it mattered for HDR10+ -> DV generation.
HDR10+ does have scene length, start indices. See https://github.com/quietvoid/dovi_tool/ ... 87b715344f
Last edited by quietvoid on Mon Jan 27, 2025 12:15 pm, edited 1 time in total.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

deadchip12 wrote:
Mon Jan 27, 2025 10:43 am
I'm using the Ugoos AM6B+ with the latest nightly build 21.2-Omega. Does this update mean anything? How do I get it?
read few post back, I posted a link to the new build
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:
Mon Jan 27, 2025 11:59 am
deadchip12 wrote:
Mon Jan 27, 2025 10:43 am
I'm using the Ugoos AM6B+ with the latest nightly build 21.2-Omega. Does this update mean anything? How do I get it?
read few post back, I posted a link to the new build
Thanks I saw it. Is this an unofficial build? Will the CoreElec team put this in a future stable build?

And i read that we need to type in some commands in order for this to work? How do I do that?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

It's very unlikely. The CE team will hate CPM regardless of how good his builds are. You can't even mention his name on the CE forum; they will censor you.

You have all the info you need to get everything working in the links posted here.
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:
Mon Jan 27, 2025 2:14 pm
It's very unlikely. The CE team will hate CPM regardless of how good his builds are. You can't even mention his name on the CE forum; they will censor you.

You have all the info you need to get everything working in the links posted here.
So after updating to this CPM build, I shouldn't update to future CE build?
And since this update enables L5 on the Ugoos, when transfering DV to HDR10 bluray file, I need to edit L5 when necessary now?
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:
Sun Jan 26, 2025 9:43 pm
Anyway, I already did a couple of positive lift test files and real scenes here: https://drive.google.com/drive/u/1/fold ... r5CiYJ9KKj

Image
Just updated the ugoos to cpm build.

I just tested the 4 files outside the real content folder and saw no change in brightness at all. The one inside the real content folder with the screenshot you posted showed brightness change, but only the 4000 nit file, not the 1000 nit one.

I tested L5 using this file: https://drive.google.com/drive/u/1/fold ... LZEUH69zAV and could see the transparent border change. So L5 is working, no? Why offset above still doesn't work?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

deadchip12 wrote:
Tue Jan 28, 2025 3:38 am
So after updating to this CPM build, I shouldn't update to future CE build?
And since this update enables L5 on the Ugoos, when transfering DV to HDR10 bluray file, I need to edit L5 when necessary now?
doing L5 correctly is always part of all my tutorials, so if L5 is not set correctly, it will cause issues...
I just tested the 4 files outside the real content folder
the steps test files? they raise lift gradually, you should see a major change, especially over 2600.

Any file in that folder shows a difference on my C2, but of course, the effect is always more evident with a 4000nits RPU.
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 Jan 28, 2025 11:56 am
the steps test files? they raise lift gradually, you should see a major change, especially over 2600.

Any file in that folder shows a difference on my C2, but of course, the effect is always more evident with a 4000nits RPU.
Yeah the steps test files. I dont see any changes at all. Meanwhile, the L5 test file below shows that the command worked. Something is wrong.
Image
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

the steps raise positive lift gradually so it is normal if you don't notice change until it reach 2600+

if it was going from 2048(0) to 2100, you would see a slight change but in the test file, it goes from 2048 to 2055 to 2065 to 2075 to 2085 to 2095 to 2100 etc so you don't really notice the difference between 2095 and 2100. If you don't see it changing after 3079, then there is a problem

Image
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 Jan 28, 2025 1:14 pm
the steps raise positive lift gradually so it is normal if you don't notice change until it reach 2600+

if it was going from 2048(0) to 2100, you would see a slight change but in the test file, it goes from 2048 to 2055 to 2065 to 2075 to 2085 to 2095 to 2100 etc so you don't really notice the difference between 2095 and 2100. If you don't see it changing after 3079, then there is a problem

Image
Yeah no change at all. Are my dolby vision settings below correct? When I first updated to this cpm build, I noticed dolby vision was disabled by default. The settings also look different compared to CE build.
Image

Just update to cpm build then put this command in via putty right? No other steps?

nano /storage/.config/autostart.sh

(
echo Y > /sys/module/amdolby_vision/parameters/dolby_vision_keep_source_meta_level_5
)&
Last edited by deadchip12 on Tue Jan 28, 2025 1:46 pm, edited 1 time in total.
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 sure how it's possible if L5 works...
I'm using CPM's compiled build(private) while you're using the build(public) compiled by someone else so maybe he did something wrong, I don't know.
Everything works on my end. Try A13
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 Jan 28, 2025 1:44 pm
not sure how it's possible if L5 works...
I'm using CPM's compiled build(private) while you're using the build(public) compiled by someone else so maybe he did something wrong, I don't know.
Everything works on my end. Try A13
Just tried A13. Still the same. No change in brightness.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

which tv? try internal player too
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Post Reply