Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

I tried to use the tool but the final plot I get from converting HDR10+ to DV is cut at 10 nits:


Image

My workflow was:
DoVi_Scripts_1.7.7_MKV.bat -> Mode.H -> Mode.1 -> Source MKV is Avatar.The.Way.of.Water.2022.2160p.WEB-DL.x265.10bit.HDR10Plus.DDP5.1.Atmos-CM

Code: Select all

Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@High
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 3 h 12 min
Bit rate : 24.3 Mb/s
Width : 3 840 pixels
Height : 2 072 pixels
Display aspect ratio : 1.85:1
Frame rate mode : Constant
Frame rate : 23.976 (24000/1001) FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.127
Stream size : 32.6 GiB (97%)
Language : English
Default : Yes
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.2020
Mastering display luminance : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level : 412 cd/m2
Maximum Frame-Average Light Level : 201 cd/m2
The source file already include DV but I was thinking that script will ditch the original DV and replace it with metadata generated from HDR10+ (and it was converting HDR10+ looking at the console window).
Last edited by comorla45 on Tue Mar 28, 2023 11:23 am, edited 1 time in total.
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Yes, DV has an average_pq floor of 10nits for CM v4.0 and 2.5nits for CM v2.9. Min max_pq will always be 100nits as well.
Dolby average algo seem to have some rules while HDR10plus is more dynamic in that regard.
comorla45
Posts: 13
Joined: Wed Dec 01, 2021 11:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by comorla45 »

So, can we say that conversion HDR10+ into DV is worse for scenes with low-brightness mastering? If we had like HDR10+ House of the Dragon with the famous 1 nit beach scene, then conversion would brighten it up to 10 nits?
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I don't know, I never really tested how average_pq reacts on my TV. I planned to do a pattern one day.

high values of average pq also works very differently in DV. Dolby algo seems to have some rules that target 92nits max(roughly something like if 50% of the pixels of below 100nits, max avg will be 92nits) while HDR10plus (and madvr generated) are more a real representation of the actual brightness.
Mrmorrison
Posts: 26
Joined: Thu Oct 20, 2022 2:13 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Mrmorrison »

Good day everyone.

I just wanted to inform you that my Sony Bravia A8H TV, combined with Kodi or Plex or any other application that can use exoplayer, can play any type of Dolby Vision, except for FEL (FEL TS= plays HDR - FEL MKV = plays in SDR) .

P7 MEL (MKV and TS/MTS)
P8 (MKV and TS/MTS)
P5 (MKV and TS/MTS)

Everything reproduced correctly in WIFI.

I imagine this is the case for other recent Bravia models as well.

I also own x800m2 and GCwGtv and I can say that Chromecast (with same settings) reproduces a brighter dolby vision than x800m2 and Sony Bravia.
On Bravia my most used setting is Dolby Vision Dark (90%) but on x800m2 this setting is too dark so I have to use Dolby Vision Bright.

Bravia DV Bright= x800m2 DV Dark

Maybe you can add this information to your spreadsheet
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Mrmorrison wrote:
Tue Mar 28, 2023 3:48 pm

I also own x800m2 and GCwGtv and I can say that Chromecast (with same settings) reproduces a brighter dolby vision than x800m2 and Sony Bravia.
Hi, thank you for the info, I wish the C2 supported DV MKV as well :)

IMO the Chromecast is not accurate and over track. I've compared it to the shield, x800m2 and C2 plex a while ago.
see: https://slow.pics/c/pEEQBJJD
aboulfad
Posts: 111
Joined: Sat Feb 09, 2019 12:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by aboulfad »

Hello,

Is test pattern RPU.p8.1.L1.L2_cmv29.mp4 meant to include cmv4, what is the reason ? It would not display in DoVi nor respond to any RPU changes (fallback to HDR10). Only by removing the cmv4 frames that it worked on ATV21/22 -> Infuse 7.5/Auto -> LG E7. Thanks.
dovi_tool info -s -i RPU.p8.1.L1.L2_cmv29.bin
Parsing RPU file...

Summary:
Frames: 1680
Profile: 8
DM version: 1 + 2 (CM 2.9 and 4.0)
v2.9 count: 1680
v4.0 count: 72
[Oppo UDP-203, ATV 4K] —> Anthem MRX-720 —> LG OLED65E7P
sw5163
Posts: 140
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

aboulfad wrote:
Wed Mar 29, 2023 6:41 pm
ATV21/22 -> Infuse 7.5/Auto -> LG E7.
Infuse will not play DV file with cmv4 in it since cmv4 seems to have over saturation problem on Mac.
https://community.firecore.com/t/dolby- ... /19713/351
But looks fine on iOS devices and Atv, no idea what's going on here.
aboulfad
Posts: 111
Joined: Sat Feb 09, 2019 12:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by aboulfad »

Thanks @sw5163 , my main question is about the reason to include some cmv4 metadata in that test pattern labelled with cmv29. Is it to check a device DoVi’s implementation’s for handling of both metadata versions ?

The test pattern does not play as DoVi nor respond to the changes in RPU metadata. Infuse plays it as HDR and it is possible and likely the presence of cmv4 causes problems for the P8 to P5 « processing ».
[Oppo UDP-203, ATV 4K] —> Anthem MRX-720 —> LG OLED65E7P
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

aboulfad wrote:
Thu Mar 30, 2023 9:49 am
Thanks @sw5163 , my main question is about the reason to include some cmv4 metadata in that test pattern labelled with cmv29.
It most likely was a mistake.
aboulfad
Posts: 111
Joined: Sat Feb 09, 2019 12:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by aboulfad »

quietvoid wrote:
Thu Mar 30, 2023 2:29 pm
It most likely was a mistake.
Thanks - if @RESET_9999 wants to update his test pattern repo, here's the corresponding one without cmv4 using dovi_tool/MP4Box: RPU.p8.1.L1.L2_cmv29-ONLY.mp4
[Oppo UDP-203, ATV 4K] —> Anthem MRX-720 —> LG OLED65E7P
quietvoid
Posts: 371
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

I also had posted about it but I guess it was missed: viewtopic.php?p=124890#p124890
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

aboulfad wrote:
Thu Mar 30, 2023 4:06 pm

Thanks - if @RESET_9999 wants to update his test pattern repo, here's the corresponding one without cmv4 using dovi_tool/MP4Box: RPU.p8.1.L1.L2_cmv29-ONLY.mp4
good catch. I'll update the files.
axeyou
Posts: 8
Joined: Fri Mar 31, 2023 5:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by axeyou »

In case you aren't aware yet, @RESET_9999, DGDemux since build 65 (Feb 15) has renamed its outputs from *.265 to *.hevc. Current version of DoVi_Scripts (1.7.7) would fail with "The system cannot find the file specified" when looking for the demuxed BL and EL, because of lines like:

Code: Select all

FOR /R "%TEMP%" %%B IN (*1011*.265) do set "BL=%%~nB
FOR /R "%TEMP%" %%E IN (*1015*.265) do set "EL=%%~nE
I only tried mode 4-1-2, but this should affect other modes as well.
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

axeyou wrote:
Fri Mar 31, 2023 5:13 am
In case you aren't aware yet, @RESET_9999, DGDemux since build 65 (Feb 15) has renamed its outputs from *.265 to *.hevc.
I didn't update my dgdemux in a while. I'll make the changes, thanks.
Post Reply