Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
crazydave
Posts: 2
Joined: Thu Mar 12, 2020 5:18 am

Re: Dolby Vision now possible through MP4 Mux.

#1606 Post by crazydave » Thu Mar 12, 2020 5:35 am

SamuriHL wrote:
Thu Mar 12, 2020 3:01 am
hepe9 wrote:
Thu Mar 12, 2020 2:31 am
I can't understand how is possible we don't have any windows player than can play DV

Only in Android
Easy to understand. Licensing $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
There is, it's just restricted to certain (licensed) systems.

This will enable DV in Windows 10 when a video is played through the native app: https://www.microsoft.com/en-us/p/dolby ... ltg1lwphlf - it seems like it supports only single layer profiles like the Shield.

According to this post, this feature is gated by a string in the BIOS that the custom ICC display profile looks for (apparently they had to release a modified version after the BIOS string changed after a firmware update :roll:)

https://forums.lenovo.com/t5/ThinkPad-P ... =1#4559914

Not sure if there's some signature that makes sure that string isn't modified or if someone smart with a hex editor can work some magic...

mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

#1607 Post by mattmarsden » Thu Mar 12, 2020 10:09 am

Does anyone know what the specs of the Apple TV 4K are? I presume its the same as I presume thats what the Dolby single layer license gets you.

hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

#1608 Post by hepe9 » Thu Mar 12, 2020 11:11 am

SamuriHL wrote:
Thu Mar 12, 2020 3:01 am
hepe9 wrote:
Thu Mar 12, 2020 2:31 am
I can't understand how is possible we don't have any windows player than can play DV

Only in Android
Easy to understand. Licensing $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
Yeah, it's easy, paid media player. But this doesn't happen

SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#1609 Post by SamuriHL » Thu Mar 12, 2020 12:36 pm

hepe9 wrote:
SamuriHL wrote:
Thu Mar 12, 2020 3:01 am
hepe9 wrote:
Thu Mar 12, 2020 2:31 am
I can't understand how is possible we don't have any windows player than can play DV

Only in Android
Easy to understand. Licensing $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
Yeah, it's easy, paid media player. But this doesn't happen
Powerdvd is a paid media player and they don't have a license for it. Given that, I doubt we'll see it any time soon. I suspect we'll see TVs that negate the need for it before we see it on the pc.

Sent from my SM-G975U using Tapatalk



baker99
Posts: 84
Joined: Wed Oct 30, 2019 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

#1610 Post by baker99 » Thu Mar 12, 2020 12:41 pm

Angryunibrow wrote:
Thu Mar 12, 2020 4:36 am
PM'd one of the guys at Nvidia forums asking about what profiles the 2019 Shield supports and here was the answer.
We support profile 4 MEL (minimum enhancement layer). Also single layer profiles 5,8.9.
So anything we mux in single layer can't be FEL (if we want it to work properly on the Shield)? I'm guessing there's no easy way to convert FEL to MEL?

yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

#1611 Post by yusesope » Thu Mar 12, 2020 2:00 pm

mike admin wrote:
Wed Mar 11, 2020 6:11 pm
Of course, EL is always 12 bit on blu-ray. The question is what exactly is in these 2 extra bits. My hypothesis - in MEL stream all pictures in EL are filled with the same value (zeroes). This is easy to verify though - one just has to decode entire EL from any MEL disc (Joker) and confirm that ALL frames in EL are indeed dark zero pictures. From the sizes of slice NALU it looks that way.
I believe you are right.
I have rendered every single frame of a FEL (Terminator) and an MEL (Joker) stream.
It was clear that there were differences between the FEL frames.
The MEL frames are instead all the same (I also tested another MEL layer and after rendering it I get the same MD5 hash).
Image
However, I believe it is appropriate to keep it.
If you notice, several users have reported that the Shield was able to play my files with profile dvhe.07.
There seems to be a fallback mechanism that allows you to take advantage of the profile best suited to the situation (in this case dvhe.04 given the presence of BL, EL and RPU): are we sure that, by removing the information relating to the EL layer, the hardware decoder is not initialized with the specifications of the profile dvhe.05 (BL + RPU)?
In this case, the decoder would expect a 12bit stream with IPTPQc2/IPT proprietary color space (instead of 10bit YCbCr).



shawnc22 wrote:
Thu Mar 12, 2020 1:18 am
... I originally tried to combine the two original HEVC (BL+EL) files using v2 of yusecope's tool, but it kept hanging on me after dropping in the files, so I just used the one he had already created in the post above...
I can assure you that the tool works: the batch file (the one with the .bat extension) starts the program expecting to work with huge files (and not with 90MB files). To combine the two example HEVC raw streams you have to launch my tool using the command line:

Code: Select all

python-3.7.6.amd64\python src\bl_el_rpu_builder.py -mode 1 -lbf 1000 -bl \path\to\Joker_BL.hevc -el \path\to\Joker_EL.hevc -of \path\to\output_file.hevc



mattmarsden wrote:
Wed Mar 11, 2020 4:59 pm
Arbigator wrote:
Wed Mar 11, 2020 12:07 am
shawnc22 wrote:
Tue Mar 10, 2020 11:40 pm


I was going to give that a try, too, when I got home, but I can try First Man also. I'm wondering if it might be because the Doctor Sleep disc is also in HDR10+. The EL might be a little different in that case?
That's interesting, I didn't realize it's in HDR10+, though that explains the descriptor in mediainfo. The file did not give any errors in the tool, and it did finish to 100%.
Same with Power Rangers
Image
Whoever had the "EL ANALYSIS: 0.0%" problem could kindly upload a piece of the two original layers

Code: Select all

ffmpeg -i \path\to\bluray\folder\or\m2ts_file -map 0:0 -ss 0 -t 20 -c copy \path\to\BL.hevc
ffmpeg -i \path\to\bluray\folder\or\m2ts_file -map 0:1 -ss 0 -t 20 -c copy \path\to\EL.hevc

hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

#1612 Post by hepe9 » Thu Mar 12, 2020 2:06 pm

SamuriHL wrote:
Thu Mar 12, 2020 12:36 pm
hepe9 wrote:
SamuriHL wrote:
Thu Mar 12, 2020 3:01 am


Easy to understand. Licensing $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$.
Yeah, it's easy, paid media player. But this doesn't happen
Powerdvd is a paid media player and they don't have a license for it. Given that, I doubt we'll see it any time soon. I suspect we'll see TVs that negate the need for it before we see it on the pc.

Sent from my SM-G975U using Tapatalk
We need to wait until next month, for powerdvd20

If not come with DV, possibly we "never" have DV in Pc

rosavanwinkle
Posts: 70
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

#1613 Post by rosavanwinkle » Thu Mar 12, 2020 2:15 pm

hepe9 wrote:
Thu Mar 12, 2020 2:06 pm
SamuriHL wrote:
Thu Mar 12, 2020 12:36 pm
hepe9 wrote:
Yeah, it's easy, paid media player. But this doesn't happen
Powerdvd is a paid media player and they don't have a license for it. Given that, I doubt we'll see it any time soon. I suspect we'll see TVs that negate the need for it before we see it on the pc.

Sent from my SM-G975U using Tapatalk
We need to wait until next month, for powerdvd20

If not come with DV, possibly we "never" have DV in Pc
From what i read. People doubt that it will come too powerdvd20 a lotpeople have given up on that program years ago :/
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111

shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

#1614 Post by shawnc22 » Thu Mar 12, 2020 2:31 pm

yusesope wrote:
Thu Mar 12, 2020 2:00 pm

I can assure you that the tool works: the batch file (the one with the .bat extension) starts the program expecting to work with huge files (and not with 90MB files). To combine the two example HEVC raw streams you have to launch my tool using the command line:
ah got it, it was definitely the file size issue then. I've tried multiples full files and they've all worked beautifully.

i can get you a snippet of the doctor sleep tracks later today if nobody else has gotten to it yet by then
Last edited by shawnc22 on Thu Mar 12, 2020 4:18 pm, edited 1 time in total.

mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Dolby Vision now possible through MP4 Mux.

#1615 Post by mike admin » Thu Mar 12, 2020 2:51 pm

yusesope wrote:
Thu Mar 12, 2020 2:00 pm
I have rendered every single frame of a FEL (Terminator) and an MEL (Joker) stream.
Thanks for doing this! This is amazing discovery that sums it up nicely.

yusesope wrote:
Thu Mar 12, 2020 2:00 pm
However, I believe it is appropriate to keep it.
100% Agree, MakeMKV will never do "dvd fab method" - the cost of keeping EL is negligible and benefits are many.

From what I see, the DV decoding process must be triggered externally. In m2ts such trigger is DV PSI descriptor, in mp4 - the presence of DV dsi box.
My current MKV samples store no DV metadata in codec private area - once I add the support I'll update the samples and hopefully this would give the start to DV support in MKV container.

Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

#1616 Post by Angryunibrow » Thu Mar 12, 2020 7:13 pm

RESET_9999 wrote:
Tue Mar 10, 2020 11:14 pm
Arbigator wrote:
Tue Mar 10, 2020 8:55 pm
shawnc22 wrote:
Tue Mar 10, 2020 8:14 pm
what movies have you tried? I can maybe give it a try later tonight if I have it in my library
I tried Joker, Doctor Sleep, First Man, and Spectre.
yep, I think Doctor Sleep EL is not processed. It gives me an error with V1 tool and with V2 tool , EL analyzing stays at 0%.
Image
Ok got Doctor Strange to process just fine, I always use EAC3TO to extract my BL.hevc and EL.hevc layers.
V2 of the tool processed the file to 100% just fine.

But when I mux it in TSMuxer this is what I get, and take a look at the Mediainfo output. There is no Dolby Vision (only HDR10+)

Image

Code: Select all

Video
ID                                       : 4113 (0x1011)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec ID                                 : 36
Duration                                 : 2 h 32 min
Bit rate                                 : 66.9 Mb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
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.337
Stream size                              : 71.1 GiB (94%)
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.0001 cd/m2, max: 1000 cd/m2
Maximum Content Light Level              : 745 cd/m2
Maximum Frame-Average Light Level        : 47 cd/m2

Audio
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3 MLP FBA 16-ch
Format/Info                              : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Commercial name                          : Dolby TrueHD with Dolby Atmos
Muxing mode                              : Stream extension
Codec ID                                 : 131
Duration                                 : 2 h 32 min
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 7 347 kb/s
Channel(s)                               : 8 channels
Channel layout                           : L R C LFE Ls Rs Lb Rb
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 696 MiB (1%)
Language                                 : English
Service kind                             : Complete Main
Number of dynamic objects                : 15
Bed channel count                        : 1 channel
Bed channel configuration                : LFE

SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#1617 Post by SamuriHL » Thu Mar 12, 2020 8:46 pm

mike admin wrote:
Thu Mar 12, 2020 2:51 pm
yusesope wrote:
Thu Mar 12, 2020 2:00 pm
I have rendered every single frame of a FEL (Terminator) and an MEL (Joker) stream.
Thanks for doing this! This is amazing discovery that sums it up nicely.

yusesope wrote:
Thu Mar 12, 2020 2:00 pm
However, I believe it is appropriate to keep it.
100% Agree, MakeMKV will never do "dvd fab method" - the cost of keeping EL is negligible and benefits are many.

From what I see, the DV decoding process must be triggered externally. In m2ts such trigger is DV PSI descriptor, in mp4 - the presence of DV dsi box.
My current MKV samples store no DV metadata in codec private area - once I add the support I'll update the samples and hopefully this would give the start to DV support in MKV container.
:shock: :shock: :shock: That would be FANTASTIC! Now I'm getting excited about DV backups. I have a ton of DV UHD's and usually I just use madvr tonemapping with HDR, but, if I can make an MKV that has both....WOA!

jayper
Posts: 318
Joined: Sat Sep 29, 2012 5:57 pm

Re: Dolby Vision now possible through MP4 Mux.

#1618 Post by jayper » Thu Mar 12, 2020 9:46 pm

:shock: :shock: :shock:

DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

#1619 Post by DaMacFunkin » Thu Mar 12, 2020 10:29 pm

The conversations I have had with Nvidia staff seem to sugest that Dolby Vision will never support MKV container ???

SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#1620 Post by SamuriHL » Thu Mar 12, 2020 10:43 pm

Not super relevant. If we can take an MKV output with DV and convert it to TS then we have a viable backup solution. Maybe some day they'll decide MKV is good or maybe they won't. But for now, this would still be a usable solution.

Post Reply