Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

RESET_9999 wrote:
Mon Jul 18, 2022 2:42 pm
thanks that worked!

I see that we can keep DVH1 with profile 8 file using mp4box... maybe we dont have to use profile 5 on the ATV ???

Code: Select all

ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, HDR10 compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvh1
Duration                                 : 4 min 59 s
Bit rate                                 : 68.4 Mb/s
Maximum bit rate                         : 121 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
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
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.344
Stream size                              : 2.39 GiB (85%)
Title                                    : hevc:dv-profile=f8.hdr10:hdr=none@GPAC2.0-rev0-g418db414-master
Encoded date                             : UTC 2022-07-18 14:41:27
Tagged date                              : UTC 2022-07-18 14:41:31
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : Display P3
Mastering display luminance              : min: 0.0050 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 1000 cd/m2
Maximum Frame-Average Light Level        : 986 cd/m2
mdhd_Duration                            : 300008
Codec configuration box                  : hvcC+dvvC
Tried the 8.1 dvh1
Produced from resolve no go.
Tried that a while ago apple won’t do 8.1
Reguardless of dvh1.
But other folks should still try it just to verify.
RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

@ragico just tested and it's working in MP4 P8 DVH1 + LPCM audio.

sample: https://drive.google.com/file/d/1lsSQUU ... sp=sharing

so we dont have to use fake P5 on the ATV, this is great news.

Apple native player = DV with rpu working
PLEX = DV but rpu not working
Infuse = HDR10
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

ragico wrote:
Mon Jul 18, 2022 10:33 am
There is no indication of atmos but the sound generated is immersive and engaging.
That's expected, conversion from TrueHD/atmos to PCM lose atmos data. That's why I'm trying to find a way to get Dolby MAT PCM with object coding.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote:
Mon Jul 18, 2022 1:28 pm
ah, I know why my lpcm track didn't work on the ATV (video and lossy audio were ok).

My mp4 headers depending on my command line were:
I don't know what the mp4 headers should be, so I just let those tools to decide.
RESET_9999 wrote:
Mon Jul 18, 2022 1:28 pm
The only problem I see with this method is that the static MDL metadata seems messed up now.
What's that? Will that cause a problem in DV play? If it doesn't affect final image, I wouldn't bother to change it.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote:
Mon Jul 18, 2022 3:15 pm
@ragico just tested and it's working in MP4 P8 DVH1 + LPCM audio.
Like I posted last month
sw5163 wrote:
Sun Jun 26, 2022 6:04 pm
mp4box with following command can also get dolby vision to work:
mp4box -add BL_RPU.hevc -new p5.dvh1.mp4
mp4box -add BL_RPU.hevc:dv-profile=8.1 -new p8.hvc1.mp4(this doesn't work, it's a SMB bug)
mp4box -add BL_RPU.hevc:dv-profile=f8.1 -new p8.dvh1.mp4
But fake p5.dvh1 is the most stable way, it guarantee DV play.
Besides there are official release use fake p5.dvh1(those Apple TV screensaver).
And I've never seen p8 with dvh1 except from my experiment result.
So I think it's better for us to just stick to fake p5.dvh1 for now.
Also p8.dvh1 seems to let Apple think it's an HLG, video significantly darker than normal on my iPad.
p7.dvh1 play properly. Let's not make this even more complicated.
Last edited by sw5163 on Mon Jul 18, 2022 6:40 pm, edited 3 times in total.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

quietvoid wrote:
Mon Jul 18, 2022 2:23 pm
Do you know a way to generate "PCM joint object coding"?
You are the professional here.
Or is there indeed no public way except in Dolby Lab they can generate that?

I think this is possible because there are sound systems can receive "PCM/atmos".
And Apple tv actually decode EAC3/atmos and re-encode to PCM/atmos to pass to sound system.
So I figure if I provide PCM/atmos that is already decoded to ATV, it will "passthrough" that, and we get lossless/atmos.
sergonnn111
Posts: 12
Joined: Sun Jul 17, 2022 7:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by sergonnn111 »

Guys can i do ts file dolby vision with ts muxer nightly for native tv player LG OLED 2018 from blu ray bdmv dolby vision ?
RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Like I posted last month
mp4box with following command can also get dolby vision to work:
mp4box -add BL_RPU.hevc -new p5.dvh1.mp4
mp4box -add BL_RPU.hevc:dv-profile=8.1 -new p8.hvc1.mp4(this doesn't work, it's a SMB bug)
mp4box -add BL_RPU.hevc:dv-profile=f8.1 -new p8.dvh1.mp4
sorry, your post was about an ipad and sdr output, I didnt give much attention to it back then.
But fake p5.dvh1 is the most stable way, it guarantee DV play.
Besides there are official release use fake p5.dvh1(those Apple TV screensaver).
And I've never seen p8 with dvh1 except from my experiment result.
So I think it's better for us to not make this even more complicated and just stick to fake p5.dvh1 for now.
I disagree, I prefer using a format that follows Dolby's specifications.
Apple products are stupid and always does stuff differently, I learned to never trust them.
I don't know what the mp4 headers should be, so I just let those tools to decide.
I did not change the headers!
but when you import LPCM audio to an existing DV mp4 with mp4box, the headers are not the same and the pcm audio no longer works on AppleTV.
What's that? Will that cause a problem in DV play? If it doesn't affect final image, I wouldn't bother to change it.
That's the mastering display luminance specs. I don't know if it affects the final image but it can easily be fixed, see quietvoid's reply.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote:
Mon Jul 18, 2022 6:46 pm
But fake p5.dvh1 is the most stable way, it guarantee DV play.
Besides there are official release use fake p5.dvh1(those Apple TV screensaver).
And I've never seen p8 with dvh1 except from my experiment result.
So I think it's better for us to not make this even more complicated and just stick to fake p5.dvh1 for now.
I disagree, I prefer using a format that follows Dolby's specifications.
p8.dvh1 contrast is wrong on my iPad, if ATV can handle it, okay then.
RESET_9999 wrote:
Mon Jul 18, 2022 6:46 pm
Apple products are stupid and always does stuff differently, I learned to never trust them.
I agree.
RESET_9999 wrote:
Mon Jul 18, 2022 6:46 pm
That's the mastering display luminance specs. I don't know if it affects the final image but it can easily be fixed, see quietvoid's reply.
Thanks for the explanation!
RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

sw5163 wrote:
Mon Jul 18, 2022 7:34 pm
p8.dvh1 contrast is wrong on my iPad, if ATV can handle it, okay then.
oh indeed, that could be a problem... since your ipad output SDR, could you take screenshots that show the difference?
thanks

@ragico, could you compare the P5 and P8 version of the SM clip please?
ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

RESET_9999 wrote:
Mon Jul 18, 2022 7:49 pm
sw5163 wrote:
Mon Jul 18, 2022 7:34 pm
p8.dvh1 contrast is wrong on my iPad, if ATV can handle it, okay then.
@ragico, could you compare the P5 and P8 version of the SM clip please?
To my eyes, P5 looks brighter and has more contrast.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote:
Mon Jul 18, 2022 7:49 pm
sw5163 wrote:
Mon Jul 18, 2022 7:34 pm
p8.dvh1 contrast is wrong on my iPad, if ATV can handle it, okay then.
oh indeed, that could be a problem... since your ipad output SDR, could you take screenshots that show the difference?
thanks
Sure.
From Apple screen saver: (left p8.dvh1 right p5.dvh1)
1.PNG
1.PNG (1.45 MiB) Viewed 11142 times
From your test sample: (left p8.dvh1 right p5.dvh1)
The attachment 2.PNG is no longer available
The attachment 3.PNG is no longer available
These screenshots can stand for what I'm seeing.
Left image has very low contrast, looks definitely wrong.
But RPU are working on both.
So I guess Apple treat p8.dvh1 as HLG BL as they were shot by iPhone.
RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

p8 clearly isn't tonemapped to SDR on those pic. (looks like PQ)

but since ragico report the same on the ATV, then I stand corrected.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote:
Mon Jul 18, 2022 8:24 pm
p8 clearly isn't tonemapped to SDR on those pic. (looks like PQ)
I'm not sure but Apple recognize them as HDR, see top left corner.
sw5163 wrote:
Mon Jul 18, 2022 8:21 pm
But RPU are working on both.
So I guess Apple treat p8.dvh1 as HLG BL as they were shot by iPhone.
You may also wanna answer sergonnn111's question? He's been asking a several times.
sergonnn111 wrote:
Mon Jul 18, 2022 6:24 pm
Guys can i do ts file dolby vision with ts muxer nightly for native tv player LG OLED 2018 from blu ray bdmv dolby vision ?
RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

sw5163 wrote:
Mon Jul 18, 2022 8:32 pm
You may also wanna answer sergonnn111's question? He's been asking a several times.
yeah I don't answer those questions anymore :)
All he has to do is to check the Playback Device sheet in my signature.
Post Reply