Dolby Vision and 1.15.1

Please post here for issues related to UHD discs
SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision and 1.15.1

Post by SamuriHL »

omk1980 wrote: So just followed the instructions. Had a little bit of an issue with eac3to (run a cmd prompt from the eac3to directory w/mkv in the same folder to get it to work). But was able to make a ts file of 1917. i used a folder backup file I had made before 1.15.1.

I was able to open the file on my 2019 shield and it worked.... For a moment. I had dv and atmos and it was playing fine for about 90 secs and then locks up at the same spot. Restarting didn't help. I restarted my Nas as well.

One thing I noted was that the ts file was 3-4 GB smaller than the mkv file I used.

Has anyone watched a ts file to completion to make sure there isn't any issues?

Any suggestions? Should I retry?
Yeah I've played a couple of them end to end no issues. That's rather odd.

Sent from my SM-G975U using Tapatalk
Last edited by SamuriHL on Sat Apr 18, 2020 3:51 pm, edited 1 time in total.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision and 1.15.1

Post by shawnc22 »

Has anyone tried playing through saving private ryan? Maybe it’s just my eyes, but something looks a little off when playing it off the shield. I know the shield’s had its reported color issues when playing DV content and this could very well be that, but it’s just never caught my eyes like this. The best I can describe it is some kind of teal hue that flashes across part of the screen occasionally. It’s most noticeable during the famous beach scene in the first 20 mins (shots of the water/sky usually). For comparison, I made a 20 min clip (dual track/dual layer profile 7) from the decrypted folder backup using mp4muxer and played that off the internal player of my LG B9 (no audio). For my eyes at least, I did not get the same feeling as I had when watching it off the shield. Of course, everything can be just in my head :lol:, but just wondering if somebody else might’ve noticed the same
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision and 1.15.1

Post by Angryunibrow »

shawnc22 wrote:
Sat Apr 18, 2020 3:27 pm
Has anyone tried playing through saving private ryan? Maybe it’s just my eyes, but something looks a little off when playing it off the shield. I know the shield’s had its reported color issues when playing DV content and this could very well be that, but it’s just never caught my eyes like this. The best I can describe it is some kind of teal hue that flashes across part of the screen occasionally. It’s most noticeable during the famous beach scene in the first 20 mins (shots of the water/sky usually). For comparison, I made a 20 min clip (dual track/dual layer profile 7) from the decrypted folder backup using mp4muxer and played that off the internal player of my LG B9 (no audio). For my eyes at least, I did not get the same feeling as I had when watching it off the shield. Of course, everything can be just in my head :lol:, but just wondering if somebody else might’ve noticed the same
I don't think it's in your head, I've given up watching Dolby Vision on my shield for the same color issues I see in different movies.

It's a shame we've gotten this far and the only device to play them can't even reproduce the colors accurately

Right now I'm on the ATV4K making profile 5 until the shield fixes the issue (if they even will or can)
mike admin
Posts: 4075
Joined: Wed Nov 26, 2008 2:26 am
Contact:

Re: Dolby Vision and 1.15.1

Post by mike admin »

Grencola wrote:
Sat Apr 18, 2020 2:55 am
mike admin wrote:
Fri Apr 17, 2020 6:21 pm
Extract Atmos metadata from TrueHD frame, decode TrueHD frame to LPCM, encode LPCM to eac3, add Atmos metadata to eac3 frame.
This can even be done on the fly...
for realz? afaik only this: https://www.dolby.com/us/en/professiona ... suite.html
can remux thd atmos into dd+ atmos. do you mean you can hex edit your thd file at the NAL level and hot swap bits to circumvent the need for crazy expensive licensed software?
The true answer - I don't know. But, what I "feel" - it should not be too hard. I mean, think of it, atmos is just metadata, and as long we are not changing audio/video configuration (channel layout, sample rate, video fps) then it really doesn't matter what underlying codec is used. Couple points:

1. We all know where exactly atmos metadata is stored in MLP and DDP frames. It only takes someone to compare these frames from the same-content track and see if metadata is the same. My gut feeling it is.

2. Dolby engineering is sort of "straightforward". For years(!!!) we have discussed what a complex job would be to convert DV streams and how million dollar software and NDA specs are required. Outcome? Converting from double-PID to single-PID is a matter of prefixing a single byte per packet. And with Dolby patents released in December 2019 we now know entire DV RPU structure - MakeMKV currently detects MEL and FEL streams, and to do so it parses 90% of RPU unit. It is not that hard. So, with current knowledge, even the "impossible" task of converting double-layer FEL to single-layer MEL looks quite doable - not as trivial as prefixing a byte, but not an impossible task either - decode EL layer, render data, encode coefficients back with MEL parameters, profit. Code complexity - like any codec, similar to decoding an ac3 frame.

So yeah, I would bet my money that atmos metadata is just a blob that can be taken from MLP frame and inserted into DDP frame, providing frame sizes and channel configuration is the same.
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision and 1.15.1

Post by Grencola »

mike admin wrote:
Sat Apr 18, 2020 4:20 pm
I would bet my money that atmos metadata is just a blob that can be taken from MLP frame and inserted into DDP frame, providing frame sizes and channel configuration is the same.
not sure if this is true, but I read years ago from a supposed ex-dolby tech that the metadata has some encrypted bits and only Dolby's proprietary encoder software has the decryption key so that it can be reencoded into other formats. I agree though that similar things have been said about DV and the tools needed for it, so I can dig deeper when I get time. this would be amazing for me since I have a firestick 4k which plays these dv files but can only do dd+ atmos.
Last edited by Grencola on Sat Apr 18, 2020 7:10 pm, edited 3 times in total.
TufInside
Posts: 2
Joined: Sat Apr 18, 2020 1:00 am

Re: Dolby Vision and 1.15.1

Post by TufInside »

what version of TsMuxer are you guys using? Can somebody link it please?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision and 1.15.1

Post by shawnc22 »

Angryunibrow wrote:
Sat Apr 18, 2020 4:01 pm
shawnc22 wrote:
Sat Apr 18, 2020 3:27 pm
Has anyone tried playing through saving private ryan? Maybe it’s just my eyes, but something looks a little off when playing it off the shield. I know the shield’s had its reported color issues when playing DV content and this could very well be that, but it’s just never caught my eyes like this. The best I can describe it is some kind of teal hue that flashes across part of the screen occasionally. It’s most noticeable during the famous beach scene in the first 20 mins (shots of the water/sky usually). For comparison, I made a 20 min clip (dual track/dual layer profile 7) from the decrypted folder backup using mp4muxer and played that off the internal player of my LG B9 (no audio). For my eyes at least, I did not get the same feeling as I had when watching it off the shield. Of course, everything can be just in my head :lol:, but just wondering if somebody else might’ve noticed the same
I don't think it's in your head, I've given up watching Dolby Vision on my shield for the same color issues I see in different movies.

It's a shame we've gotten this far and the only device to play them can't even reproduce the colors accurately

Right now I'm on the ATV4K making profile 5 until the shield fixes the issue (if they even will or can)
Yeah something's definitely going on with the shield. It's more of a quick flicker of green hue that comes across the screen. It's actually even more noticeable in the cemetery before the beach scene starts. Pretty sure it's not an issue related to tsmuxer or the single hevc track either as I've tried made multiple combinations of mp4/ts and single track/dual track hevc files on my lg internal player and they all look identical without the flicker issue.
ATD555
Posts: 45
Joined: Fri Feb 28, 2020 4:04 pm

Re: Dolby Vision and 1.15.1

Post by ATD555 »

SamuriHL wrote:
Sat Apr 18, 2020 11:42 am
ATD555 wrote: Sorry, I used TSMuxer linked above and tried playing the video both on my TV and PC. It should display video on either one (on PC not trying for Dolby Vision just an image in general) but it is just black. Audio only
If you can export and post the media info for the ts we can try and figure out what's going on. Every single one that I made with this process has worked perfectly. Not sure what's happening here but the media info will help figure it out.

Sent from my SM-G975U using Tapatalk

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : D:\Joker_t00.ts
Format                                   : MPEG-TS
File size                                : 46.0 GiB
Duration                                 : 2 h 1 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 54.1 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.04.06, BL+EL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 2 h 1 min
Bit rate                                 : 48.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.246
Stream size                              : 41.6 GiB (91%)
Language                                 : English
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: 4000 cd/m2
Maximum Content Light Level              : 992 cd/m2
Maximum Frame-Average Light Level        : 120 cd/m2

Audio #1
ID                                       : 4352 (0x1100)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 640 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 558 MiB (1%)
Language                                 : English
Service kind                             : Complete Main

Audio #2
ID                                       : 4353 (0x1101)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 390 MiB (1%)
Language                                 : English
Service kind                             : Complete Main

Audio #3
ID                                       : 4354 (0x1102)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 390 MiB (1%)
Language                                 : English
Service kind                             : Complete Main

Audio #4
ID                                       : 4355 (0x1103)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 390 MiB (1%)
Language                                 : French
Service kind                             : Complete Main

Audio #5
ID                                       : 4356 (0x1104)
Menu ID                                  : 1 (0x1)
Format                                   : AC-3
Format/Info                              : Audio Coding 3
Commercial name                          : Dolby Digital
Codec ID                                 : 129
Duration                                 : 2 h 1 min
Bit rate mode                            : Constant
Bit rate                                 : 448 kb/s
Channel(s)                               : 6 channels
Channel layout                           : L R C LFE Ls Rs
Sampling rate                            : 48.0 kHz
Frame rate                               : 31.250 FPS (1536 SPF)
Compression mode                         : Lossy
Stream size                              : 390 MiB (1%)
Language                                 : Spanish
Service kind                             : Complete Main

Text #1
ID                                       : 4768 (0x12A0)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Delay relative to video                  : 8 s 509 ms
Language                                 : English

Text #2
ID                                       : 4769 (0x12A1)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Delay relative to video                  : 8 s 550 ms
Language                                 : French

Text #3
ID                                       : 4770 (0x12A2)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Delay relative to video                  : 8 s 509 ms
Language                                 : Spanish

Text #4
ID                                       : 4771 (0x12A3)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Language                                 : French

Text #5
ID                                       : 4772 (0x12A4)
Menu ID                                  : 1 (0x1)
Format                                   : PGS
Codec ID                                 : 144
Language                                 : Spanish
The MKV plays fine but the TS is messed.
SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision and 1.15.1

Post by SamuriHL »

The video track in there matches mine. Mine plays fine in Plex. You have a lot more audio tracks than I do. I created a THD+AC3 track for mine. I don't know why it's not playing for you.
Sgt Hartman
Posts: 35
Joined: Thu Mar 02, 2017 6:29 pm

Re: Dolby Vision and 1.15.1

Post by Sgt Hartman »

SamuriHL wrote:
Thu Apr 16, 2020 9:54 pm
For those that are looking to make this work in the easiest way possible:

1) Rip to MKV with MakeMKV
2) eac3to titlename.mkv 2: titlename.thd+ac3
Note: titlename should be replaced with the actual name of the MKV
3) Add the MKV and the thd+ac3 track to TSMuxer
4) Remux to TS

I've done this to a few of them. Currently watching Ready Player One on my SHIELD Pro 2019 in Plex as we speak. This is fantastic.
Hi, I succeed with the previous method without using MakeMKV, now I want to give it a try in this but I'm not very into eac3to. I'm using the version with GUI 1.2.9, after selecting the file, what should I do?
Capture.PNG
Capture.PNG (118.25 KiB) Viewed 21383 times
About TSmuxer, shall I use the nightly version or also the standard one is fine?
cipher
Posts: 64
Joined: Tue Sep 24, 2013 5:16 am

Re: Dolby Vision and 1.15.1

Post by cipher »

I'm going back and remuxing some UHD's to make sure the Dolby Vision layer is handled by MakeMKV and any Atmos tracks are properly output now that the latest version handles both of these items. I will often remux my UHD disc and then use MKVTOOLNIX to combine tracks from other MKV's. For example, many Disney UHD's won't contain the Commentary tracks so I get those from the related Blu-ray using MakeMKV and finally use MKVTOOLNIX to combine the tracks I want from both MKV's (ie 4K MKV and 2K MKV).

Is there any issue running these new UHD's derived MKV's through MKVTOOLNIX or will it strip out/alter some of the metadata/"secret sauce" from the MKV file that the devs have added in the latest version of MakeMKV? I want to make sure the new Dolby Vision video track and improved Atmos audio track aren't being altered after processing them in other software.
Last edited by cipher on Sun Apr 19, 2020 12:26 am, edited 1 time in total.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision and 1.15.1

Post by Angryunibrow »

cipher wrote:
Sun Apr 19, 2020 12:06 am
I'm going back and remuxing some UHD's to make sure the Dolby Vision layer is handled by MakeMKV and any Atmos tracks are properly output now that the latest version handles both of these items. I will often remux my UHD disc and then use MKVTOOLNIX to combine tracks from other MKV's. For example, many Disney UHD's won't contain the Commentary tracks so I get those from the related Blu-ray using MakeMKV and finally use MKVTOOLNIX to combine the tracks I want from both MKV's (ie 4K MKV and 2K MKV).

Is there any issue running these new UHD's derived MKV's through MKVTOOLNIX or will it strip out some of the metadata/"secret sauce" that the devs have added in the latest version of MakeMKV? I want to make sure the new Dolby Vision video track and new Atmos audio track aren't being altered after processing them in other software.
There supposedly working on supporting Dolby Vision, right now it will not work using MKVtoolnix
SamuriHL
Posts: 2325
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision and 1.15.1

Post by SamuriHL »

Sgt Hartman wrote:
Sun Apr 19, 2020 12:05 am
SamuriHL wrote:
Thu Apr 16, 2020 9:54 pm
For those that are looking to make this work in the easiest way possible:

1) Rip to MKV with MakeMKV
2) eac3to titlename.mkv 2: titlename.thd+ac3
Note: titlename should be replaced with the actual name of the MKV
3) Add the MKV and the thd+ac3 track to TSMuxer
4) Remux to TS

I've done this to a few of them. Currently watching Ready Player One on my SHIELD Pro 2019 in Plex as we speak. This is fantastic.
Hi, I succeed with the previous method without using MakeMKV, now I want to give it a try in this but I'm not very into eac3to. I'm using the version with GUI 1.2.9, after selecting the file, what should I do?
Capture.PNG
About TSmuxer, shall I use the nightly version or also the standard one is fine?
Uh, never really used the eac3to GUI. I assume you just set an output file with the settings you have listed there and output the THD+AC3 file. As for TSMuxer, I'm using a custom one but you can try the nightly. The normal version won't work as it's not been updated for DV....that's a recent addition.
cipher
Posts: 64
Joined: Tue Sep 24, 2013 5:16 am

Re: Dolby Vision and 1.15.1

Post by cipher »

Angryunibrow wrote:
Sun Apr 19, 2020 12:26 am
There supposedly working on supporting Dolby Vision, right now it will not work using MKVtoolnix
Angryunibrow, when you say they are working on supporting Dolby Vision, do you mean supporting DV in general or the specific implementation of DV that the MakeMKV team has enabled in version 1.15.1? The reason I'm asking is that MKVTOOLNIX has allowed us to select the DV layer for a while now which creates an MKV with this track.
Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision and 1.15.1

Post by Angryunibrow »

cipher wrote:
Sun Apr 19, 2020 12:40 am
Angryunibrow wrote:
Sun Apr 19, 2020 12:26 am
There supposedly working on supporting Dolby Vision, right now it will not work using MKVtoolnix
Angryunibrow, when you say they are working on supporting Dolby Vision, do you mean supporting DV in general or the specific implementation of DV that the MakeMKV team has enabled in version 1.15.1? The reason I'm asking is that MKVTOOLNIX has allowed us to select the DV layer for a while now which creates an MKV with this track.
https://gitlab.com/mbunkus/mkvtoolnix/-/issues/2784
Post Reply