Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

#5506 Post by staknhalo » Sat Sep 11, 2021 11:38 pm

Black Widow UHD + P5 = the same exact source/fames/time stamps = all match exactly

Happy P8 making :)

Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

#5507 Post by Manixx2020beyound » Sun Sep 12, 2021 4:49 pm

@ quietvoid
L2 meta keep coming out weird.
But on the xml it seem to be correct well (not 100% sure it’s correct.)
What could be the reason for this?
Just curious if u got any insight on this from others ellse were

So far I get a perfect l1DV meta match from resolve min-average-max are all correct
For spares & munsil compare to the original

quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5508 Post by quietvoid » Sun Sep 12, 2021 5:31 pm

Manixx2020beyound wrote:
Sun Sep 12, 2021 4:49 pm
@ quietvoid
L2 meta keep coming out weird.
But on the xml it seem to be correct well (not 100% sure it’s correct.)
What could be the reason for this?
Just curious if u got any insight on this from others ellse were

So far I get a perfect l1DV meta match from resolve min-average-max are all correct
For spares & munsil compare to the original
I don't know, I've mentioned that the L2 doesn't always match in the RPU.
My only test samples are Netflix's encoded streams, and the corresponding CMv2.9 XML.
Sometimes it's fine, sometimes the values are different.

Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

#5509 Post by Manixx2020beyound » Sun Sep 12, 2021 8:30 pm

quietvoid wrote:
Sun Sep 12, 2021 5:31 pm
Manixx2020beyound wrote:
Sun Sep 12, 2021 4:49 pm
@ quietvoid
L2 meta keep coming out weird.
But on the xml it seem to be correct well (not 100% sure it’s correct.)
What could be the reason for this?
Just curious if u got any insight on this from others ellse were

So far I get a perfect l1DV meta match from resolve min-average-max are all correct
For spares & munsil compare to the original
I don't know, I've mentioned that the L2 doesn't always match in the RPU.
My only test samples are Netflix's encoded streams, and the corresponding CMv2.9 XML.
Sometimes it's fine, sometimes the values are different.
I wonder if the monitor I’m using plays a part, I’ll try & find out.

cannibalist2
Posts: 9
Joined: Sun Aug 29, 2021 11:31 am

Re: Dolby Vision now possible through MP4 Mux.

#5510 Post by cannibalist2 » Mon Sep 13, 2021 3:39 pm

Could someone give me information about profile 4 vs profile 8?
As far as i know
Profile 4 supports enhancement layer but base layer is SDR compatible
Profile 8 is HDR compatible but doesnt support enhancement layer

My tv is lg g1 and internal plex app can play both profiles (p4 st dl/dt dl and p8 st sl). Why are we focusing on converting FEL movies to profile 8 instead of profile 4? I have made only one movie so far with both profiles and they looked like same to me.

quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5511 Post by quietvoid » Tue Sep 14, 2021 2:20 pm

cannibalist2 wrote:
Mon Sep 13, 2021 3:39 pm
My tv is lg g1 and internal plex app can play both profiles (p4 st dl/dt dl and p8 st sl). Why are we focusing on converting FEL movies to profile 8 instead of profile 4? I have made only one movie so far with both profiles and they looked like same to me.
Because you're not actually converting anything when using profile 4, just changing the container.
Profile 4 is not compatible with HDR10 video such as UHD discs.

staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

#5512 Post by staknhalo » Tue Sep 14, 2021 2:39 pm

quietvoid wrote:
Tue Sep 14, 2021 2:20 pm

Is profile 5 just dynamic tonemapping metadata in a proprietary color space? So nothing unique in the experience really over a profile 8.1 file (assuming bitrate equal)? Or does profile 5 have specific 12bit color info in it like a profile 7 FEL?

quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5513 Post by quietvoid » Tue Sep 14, 2021 3:00 pm

staknhalo wrote:
Tue Sep 14, 2021 2:39 pm
Is profile 5 just dynamic tonemapping metadata in a proprietary color space? So nothing unique in the experience really over a profile 8.1 file (assuming bitrate equal)? Or does profile 5 have specific 12bit color info in it like a profile 7 FEL?
Profile 5 includes reshaping metadata and some different flags/values for the color space.
Otherwise the actual dynamic metadata should be the same.

The reshaping process recreates the YCbCr image, with supposedly close to 12 bits equivalent info.

glc650
Posts: 52
Joined: Sun Aug 02, 2020 3:25 pm

Re: Dolby Vision now possible through MP4 Mux.

#5514 Post by glc650 » Tue Sep 14, 2021 3:36 pm

quietvoid wrote:
Tue Sep 14, 2021 3:00 pm
The reshaping process recreates the YCbCr image, with supposedly close to 12 bits equivalent info.
How does that work when only profile 4 and 7 are FEL capable?

quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5515 Post by quietvoid » Tue Sep 14, 2021 3:48 pm

glc650 wrote:
Tue Sep 14, 2021 3:36 pm
How does that work when only profile 4 and 7 are FEL capable?
The profile 5 proprietary colorspace is more efficient, see https://en.wikipedia.org/wiki/ICtCp#Characteristics
In reality FEL can also add detail/noise, so they're not the same.

staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

#5516 Post by staknhalo » Wed Sep 15, 2021 4:08 pm

Is anyone else here for FEL titles encoding their HDR10 BL to a smaller size and then making p8 with RPU from EL and also remuxing together with EL again for SL p7 FEL (in different files each, duh-doy - not trying to make that all in 1 file or something)? I'm getting random non-constant color/video artifacting in numerous titles after encoding and making both p8 and p7 SL and the artifacts are not there in the encoded BL (not just Handbrake btw, I've tried ffmpeg w/ x265 directly and others as well with the same artifacting results each time essentially, just the artifacts appear in different places/times depending on the encoder). I have things like chromaloc=2 set and stuff, but I know both the BL+EL in p7 work intertwined so to speak and are spit out together as two files at time of source encode w/ DV so I'm wondering if encoding at all afterwards no matter what breaks FEL or if I'm just missing/breaking a specific flag/setting somewhere. MEL only titles are fine after encoding with no artifacting, but they don't have as much going on with complexity so not as much to break. Playback is also obviously fine for FEL if I make the files without encoding the BL. But I also can't burn in forced subtitles then. :/

Code: Select all

 -max_muxing_queue_size 1024 -map 0:0   -c:v libx265 -pix_fmt yuv420p10le    -profile:v main10  -x265-params "level-idc=51:high-tier=1:uhd-bd=1:ref=5:aq-mode=2:repeat-headers=1:strong-intra-smoothing=1:bframes=4:b-adapt=2:frame-threads=0:colorprim=bt2020:transfer=smpte2084:colormatrix=bt2020nc:hdr10_opt=1:master-display=G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1):max-cll=0,0:hdr10=1:chromaloc=2:pass=1:no-slow-firstpass=1" -b:v 44808k -preset:v medium   -an -sn -dn -f mp4 NUL 

RESET_9999
Posts: 2411
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#5517 Post by RESET_9999 » Wed Sep 15, 2021 5:54 pm

staknhalo wrote:
Wed Sep 15, 2021 4:08 pm
No issue on my end with x265.exe (staxrip GUI)

Code: Select all

 x265.exe --crf 14 --preset slower --profile main10 --level-idc 5.1 --output-depth 10 --vbv-bufsize 160000 --vbv-maxrate 160000 --master-display "G(8500,39850)B(6550,2300)R(35400,14600)WP(15635,16450)L(10000000,50)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --max-luma 1023 --max-cll "1232,278" --hdr10-opt --dolby-vision-profile 8.1 --dolby-vision-rpu X:\RPU.metadata.bin --repeat-headers --hrd --aud --no-open-gop  --deblock -3:-3 --no-sao --chromaloc 2
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices

staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

#5518 Post by staknhalo » Wed Sep 15, 2021 7:37 pm

I'mma try again with x265 keeping it real simple

Code: Select all

--pass 1 --bitrate 44808 --output-depth 10 --profile main10 --level-idc 5.1 --high-tier --ref 5 --master-display "G(13250,34500)B(7500,3000)R(34000,16000)WP(15635,16450)L(10000000,1)" --hdr10 --colorprim bt2020 --colormatrix bt2020nc --transfer smpte2084 --range limited --chromaloc 2 --repeat-headers --aud --hrd --stats
I wasn't doing the DV insertion at time of encode like you are, because I was trying to make a p7 mux and p8 from the same HDR10 only base encode, though that shouldn't matter; but I'm in trial and error mode so if this next one doesn't work I'll try that.

mulucy
Posts: 145
Joined: Tue Jan 07, 2020 7:08 pm

Re: Dolby Vision now possible through MP4 Mux.

#5519 Post by mulucy » Wed Sep 15, 2021 11:34 pm

quietvoid wrote:
Tue Sep 14, 2021 3:48 pm
glc650 wrote:
Tue Sep 14, 2021 3:36 pm
How does that work when only profile 4 and 7 are FEL capable?
The profile 5 proprietary colorspace is more efficient, see https://en.wikipedia.org/wiki/ICtCp#Characteristics
In reality FEL can also add detail/noise, so they're not the same.
Sorry if it was asked before, can your tool convert from Profile 7/8 to Profile 5?

quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#5520 Post by quietvoid » Wed Sep 15, 2021 11:35 pm

mulucy wrote:
Wed Sep 15, 2021 11:34 pm
Sorry if it was asked before, can your tool convert from Profile 7/8 to Profile 5?
No, that requires processing the video.

Post Reply