Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

good news, DL DV TS made by Tsmuxer are the real deal.

identical in real life and so is the screenshots comparison: https://slow.pics/c/V994dhhF

DV, Atmos, Subtitles, and even fast-forwarding now works. this is awesome.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
hepe9
Posts: 71
Joined: Mon Jun 03, 2019 11:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hepe9 »

RESET_9999 wrote:
Fri Feb 28, 2020 1:12 am
good news, DL DV TS made by Tsmuxer are the real deal.

identical in real life and so is the screenshots comparison: https://slow.pics/c/V994dhhF

DV, Atmos, Subtitles, and even fast-forwarding now works. this is awesome.
If @yusesope release the tool, I hope you can do the same comparative for people like me who only have tv and we can't test DV DL
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

yusesope wrote:
Thu Feb 27, 2020 7:25 pm
Not to be outdone, MAYBE, I found a way to combine the base layer, the enhancement layer (both MEL and FEL) and RPU metadata in a single layer from a dual layer Blu-ray disc.
Nice work! if this method plays well on the shield / firestick and other single layer only devices then I could create another one-click app, combining your tool with tsmuxer to make single layer ts files with atmos from m2ts / mkv remux (assuming you're using a win based program that can be ran from a cmd line, I'm guessing mp4 box? ). I've been trying to make one with dvdfab from command line but it's absolutely horrible. here's hoping for good news!
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

RESET_9999 wrote:
Fri Feb 28, 2020 1:12 am
good news, DL DV TS made by Tsmuxer are the real deal.

identical in real life and so is the screenshots comparison: https://slow.pics/c/V994dhhF

DV, Atmos, Subtitles, and even fast-forwarding now works. this is awesome.
x700 is becoming enticing. does the ts files also work from a dlna server like plex so you don't need a usb hdd?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

built_to_chill wrote:
Thu Feb 27, 2020 8:12 pm
Ok - I am on cloud 9. I just tried:

1) Game of thrones S8 UHD rip using MakeMKV
2) Extract .thd and convert to .thd+ac3 using eac3to
3) Using tsMuxeR nightly build, imported the two video layers from the mkv created in 1) alongside thd+ac3 created in 2).

It works beautifully on the X700! :-)
- Plays in Dolby Vision (confirmed by pressing info on X700 remote)
- Plays Dolby Atmos. My Denon AVR reports the stream as “Dolby Atmos - TrueHD” and the bitrate is normal (regardless of what mediainfo says).
- Lip sync is perfect! I had a hope this would happen because as I said before - lip sync is perfect whenever playing discs on the X700. It is only LPCM I see the issues.

This is phenomenal. No compromise compared to watching the disc, but with the benefit of it being totally silent from my SSD. Also, far less disc thrashing when creating the files due to no more need for the intermediate MP4.

Within 24 hours I’ve gone from regretting buying the X700 just to play DV files (due to lipsync with LPCM) to witnessing the dawn of (dare I say) an effectively no compromise situation with respect to DV remuxes. And the X700 becoming an invaluable piece of equipment. Wow.
Sorry if this is a noob question as I've been trying to follow all the progress being made here lately, but how do you keep both video layers when you do the initial mkv rip in step 1? All the ripped MKVs of DV movies I have only show up with one video layer when imported into tsmuxer. I even verified that the two layers exist on the original m2ts file, but it's just not there on the mkv. The resulting TS mux then only has HDR10 and no DV.
built_to_chill
Posts: 36
Joined: Thu Feb 20, 2020 4:45 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by built_to_chill »

shawnc22 wrote:
Fri Feb 28, 2020 5:08 am

Sorry if this is a noob question as I've been trying to follow all the progress being made here lately, but how do you keep both video layers when you do the initial mkv rip in step 1? All the ripped MKVs of DV movies I have only show up with one video layer when imported into tsmuxer. I even verified that the two layers exist on the original m2ts file, but it's just not there on the mkv. The resulting TS mux then only has HDR10 and no DV.
Hi - Id check your using the latest versions of both pieces of software. Although even the stable tsMuxeR shows both video layers for me. But you need the latest “nightly” version from the developers for Dolby vision (linked in the readme on the github project).

Makemkv always shows the two layers for me when I rip a Dolby Vision UHD, and I simply select them both. I’m afraid I cant think why this isn’t the case for you. It’s hard to initially get setup for makemkv and UHDs (you need a special drive) but clearly you’re past that hurdle if you can rip anything at all.
built_to_chill
Posts: 36
Joined: Thu Feb 20, 2020 4:45 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by built_to_chill »

...actually I also have a noob question.

Every time I use tsMuxeR it says something about a “B-pyramid” and shifting a few frames. In light of the lip sync issues (which I’m touching wood are gone now) - is this normal?
baker99
Posts: 84
Joined: Wed Oct 30, 2019 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by baker99 »

RESET_9999 wrote:
Thu Feb 27, 2020 5:26 pm
baker99 wrote:
Thu Feb 27, 2020 12:22 pm
A quick question for the experts, if I remux my m2ts files from a UHD disc to ts can I reverse the process? i.e. using ts muxer to convert the ts back to m2ts will it be exactly the same as the original and work in the UHD disc? I'd rather not keep two copies of the files and waste hard drive space or have to re-rip my UHD discs again when needed.
yes, you can revert back to m2ts, ISO or bluray structure.
Excellent, thank you :)
baker99
Posts: 84
Joined: Wed Oct 30, 2019 7:05 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by baker99 »

yusesope wrote:
Thu Feb 27, 2020 7:25 pm
Hello everyone!
I am happy to see that there have been developments.
I haven't tried the new method (tsMuxeR) yet but it looks promising.

Not to be outdone, MAYBE, I found a way to combine the base layer, the enhancement layer (both MEL and FEL) and RPU metadata in a single layer from a dual layer Blu-ray disc.

I did some tests with the latest Terminator (BL on one layer and FEL + RPU on the other)

Code: Select all

MPEG-H HEVC Video
48713 kbps          2160p / 23.976 fps / 16:9 / Main 10 @ Level 5.1 @ High / 4:2:0 / 10 bits / 1000nits / HDR10 / BT.2020

* MPEG-H HEVC Video     
5128 kbps (9.53%)   1080p / 23.976 fps / 16:9 / Main 10 @ Level 5.1 @ High / 4:2:0 / 10 bits / 1000nits / Dolby Vision FEL / BT.2020
and HERE you can find some test files.


I have created a custom tool (for now, a bunch of disorganized lines of code) and , without using DVDFab, these are the results (files without audio tracks):

Code: Select all

Formato                                 : MPEG-4
Nome commereciale                       : HDR10
Profilo formato                         : Base Media / Version 2
ID codec                                : mp42 (mp42/dby1/isom)
Dimensione                              : 78,1MiB
Durata                                  : 11s 470 ms
Bitrate totale                          : 57,1 Mb/s
Data codifica                           : UTC 2020-02-27 17:24:54
Data                                    : UTC 2020-02-27 17:24:54

Video
ID                                      : 1
Formato                                 : HEVC
Formato/Informazioni                    : High Efficiency Video Coding
Nome commereciale                       : HDR10
Profilo formato                         : Main 10@L5.1@High
Dolby Vision                            : 1.0, dvhe.04.06, BL+EL+RPU
ID codec                                : hev1
ID codec/Informazioni                   : High Efficiency Video Coding
Durata                                  : 11s 470 ms
Bitrate                                 : 57,1 Mb/s
Larghezza                               : 3.840 pixel
Altezza                                 : 2.160 pixel
Rapporto aspetto visualizzazione        : 16:9
Modalità frame rate                     : Costante
Frame rate                              : 23,976 (24000/1001) FPS
Spazio colore                           : YUV
Croma subsampling                       : 4:2:0 (Type 2)
Profondità bit                          : 10 bit
Bit/(pixel*frame)                       : 0.287
Dimensione della traccia                : 78,1MiB (100%)
Default                                 : Si
AlternateGroup/String                   : 1
Data codifica                           : UTC 2020-02-27 17:24:54
Data                                    : UTC 2020-02-27 17:24:54
colour_range                            : Limited
Colori primari                          : BT.2020
Caratteristiche trasferimento           : PQ
Coefficienti matrici                    : BT.2020 non-constant
MasteringDisplay_ColorPrimaries         : Display P3
MasteringDisplay_Luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL                                  : 1000 cd/m2
MaxFALL                                 : 446 cd/m2
Codec configuration box                 : hvcC+dvcC+hvcE



Each file is made with a different profile (dvhe.04.06, dvhe.05.06, dvhe.07.06) and all of them are organized in a single Dolby Vision layer (BL + EL + RPU).

The Terminator intro isn't the best way to test this kind of thing, but you can't have it all from life.

As always, let me know!
Brilliant work, I'd wondered where you had vanished too.

To echo what has already been said

Using Plex Media server -
All clips play on Shield pro 2019 under plex media player (they sometimes need you to force stop plex before they play)
X700 none play, black screen no DV triggered

On LG C6 none play with the message "unable to play"
mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

This is an interesting development if this tool can really combine all layers in to a single layer file.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

built_to_chill wrote:
Fri Feb 28, 2020 8:47 am
shawnc22 wrote:
Fri Feb 28, 2020 5:08 am

Sorry if this is a noob question as I've been trying to follow all the progress being made here lately, but how do you keep both video layers when you do the initial mkv rip in step 1? All the ripped MKVs of DV movies I have only show up with one video layer when imported into tsmuxer. I even verified that the two layers exist on the original m2ts file, but it's just not there on the mkv. The resulting TS mux then only has HDR10 and no DV.
Hi - Id check your using the latest versions of both pieces of software. Although even the stable tsMuxeR shows both video layers for me. But you need the latest “nightly” version from the developers for Dolby vision (linked in the readme on the github project).

Makemkv always shows the two layers for me when I rip a Dolby Vision UHD, and I simply select them both. I’m afraid I cant think why this isn’t the case for you. It’s hard to initially get setup for makemkv and UHDs (you need a special drive) but clearly you’re past that hurdle if you can rip anything at all.
I'm pretty sure I'm using the latest version of makemkv (1.14.7 Beta?). Are you saying that when you open a UHD disc with DV in makemkv, you see two video tracks under the main title? I've attached a screenshot of what I'm seeing when I tried Black Panther. Looks like just the main HDR10 layer is detected.
makemkv.JPG
makemkv.JPG (102.12 KiB) Viewed 31975 times
Anyways getting past that, I did update my tsmuxer to the 02-23-20 nightly build that was verified to be working here earlier and tried going from the 2 video layers in the original decrypted m2ts file + extracted thd+ac3 atmos (extracted from mkv through eac3to) to a muxed TS. The resulting file showed up with the 2 DV layers and AC3+Atmos in mediainfo, but was not activating DV or Atmos at all on my 2019 Shield w/Plex or Kodi. Unfortunately I don't have a x700 to try it on, so not sure if the issue is with the file I generated or the Shield. My current set up is Shield -> denon x3600 -> LG B8
mattmarsden
Posts: 88
Joined: Mon Sep 03, 2018 10:36 am

Re: Dolby Vision now possible through MP4 Mux.

Post by mattmarsden »

So as others have said the 05.06 profile works fine in Plex on the 2019 Shield - it would be great to be able to have a play around with the tool, especially as the start of Terminator is difficult to judge colours etc on.
ATD555
Posts: 45
Joined: Fri Feb 28, 2020 4:04 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by ATD555 »

Is it normal for MediaInfo not to display the Dolby Vision metadata? Or am I missing something? No matter what video file I check it doesn't show the Dolby Vision info
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

shawnc22 wrote:
Fri Feb 28, 2020 3:09 pm
The resulting file showed up with the 2 DV layers and AC3+Atmos in mediainfo, but was not activating DV or Atmos at all on my 2019 Shield w/Plex or Kodi. Unfortunately I don't have a x700 to try it on, so not sure if the issue is with the file I generated or the Shield. My current set up is Shield -> denon x3600 -> LG B8
It's the shield. it doesn't support double layer dv. you need to use dvdfab to make a single layer mp4 and then convert that to TS. but apparently it doesn't play right on the shield. however, as I'm sure you've just read above, yusesope's new method for making single layer mp4s play in DV on the shield. so you could then use that mp4 to make a ts with atmos (which is all what my script would do) and hopefully be good to go.
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

mattmarsden wrote:
Fri Feb 28, 2020 4:28 pm
So as others have said the 05.06 profile works fine in Plex on the 2019 Shield - it would be great to be able to have a play around with the tool, especially as the start of Terminator is difficult to judge colours etc on.
are you able to use tsmuxer nightly to turn that mp4 file into a ts and add any old atmos track to see if it all works?
Post Reply