Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

#1201 Post by RESET_9999 » Wed Feb 26, 2020 9:07 pm

built_to_chill wrote:
Wed Feb 26, 2020 9:05 pm
RESET_9999 wrote:
Wed Feb 26, 2020 8:30 pm
built_to_chill wrote:
Wed Feb 26, 2020 8:08 pm
Oh yes I meant to ask - is it possible to transcode a TrueHD track to high bitrate DD+ (i.e. eAC3) and include that inside a dual layer DV MP4? Or does it have to be AC3?
https://xrecode.com/
I’ve just realised you can include a e-AC3 track when creating the dual layer MP4 using Dolby’s mp4base.

I thought it’s quite easy to convert a TrueHD track to e-AC3 using ffmpeg. Curious why you suggested xrecode? It seems pay for software so I guess it brings something to the table.
I thought it was a freeware... sorry i guess i forgot that i got it from piracy lol
Last edited by RESET_9999 on Wed Feb 26, 2020 11:11 pm, edited 1 time in total.

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

Re: Dolby Vision now possible through MP4 Mux.

#1202 Post by baker99 » Wed Feb 26, 2020 9:10 pm

@ RESET_9999 have you managed to get Atmos to work on a Shield using SL DV? I've tried numerous ways but it's just not working playing on my shield, it is also jerky until I choose a normal ac3 track. I'm either doing something really wrong or plex just doesn't like the atmos track.

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

Re: Dolby Vision now possible through MP4 Mux.

#1203 Post by RESET_9999 » Wed Feb 26, 2020 9:13 pm

baker99 wrote:
Wed Feb 26, 2020 9:10 pm
@ RESET_9999 have you managed to get Atmos to work on a Shield using SL DV? I've tried numerous ways but it's just not working playing on my shield, it is also jerky until I choose a normal ac3 track. I'm either doing something really wrong or plex just doesn't like the atmos track.
No, I saw you trying before me so I did not try because I have to install the trial version (or find a cracked version).
and since SL DV are probably not real, I didn't bother too much...

I'm mostly interested in screenshot comparison from TS DL DV vs DL DV MP4 vs UHD-BD DV. I'll try to do it tonight if I get a chance but I doubt it.. will have to wait for the weekend

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

Re: Dolby Vision now possible through MP4 Mux.

#1204 Post by baker99 » Wed Feb 26, 2020 9:22 pm

RESET_9999 wrote:
Wed Feb 26, 2020 9:13 pm
baker99 wrote:
Wed Feb 26, 2020 9:10 pm
@ RESET_9999 have you managed to get Atmos to work on a Shield using SL DV? I've tried numerous ways but it's just not working playing on my shield, it is also jerky until I choose a normal ac3 track. I'm either doing something really wrong or plex just doesn't like the atmos track.
No, I saw you trying before me so I did not try because I have to install the trial version (or find a cracked version).
and since SL DV are probably not real, I didn't bother too much...

I'm mostly interested in screenshot comparison from TS DL DV vs DL DV MP4 vs UHD-BD DV. I'll try to do it tonight if I get a chance but I doubt it.. will have to wait for the weekend
I think I'll give up on the SL for now and let somebody else try, I'll happily try any samples but I'm having no luck at all on the shield sadly.

Edit: On the X700 the SL DV plays with DV and Atmos triggered, running from a hard drive rather than over the network.

P.S. - SL looks pretty awesome on the X700 to my eyes

Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

#1205 Post by Grencola » Thu Feb 27, 2020 3:44 am

I wonder how well an mkv remux would work in a ts container. I know dv mp4s made from mkv's would have the odd hiccup, perhaps that's resolved using ts.
eac3to and gMKVExtractGUI can easily get you the 2 hevc video tracks and the thd atmos audio track which then gets added to tsmuxer nightly just like an m2ts. I bet it works great.
note: adding an mkv remux directly to tsmuxer usually brings upon errors that certain tracks are skipped, and it's usually the thd track. but it's always good practice to try it first and see, cuz if the tracks you want show up then it saves you time.

built_to_chill
Posts: 36
Joined: Thu Feb 20, 2020 4:45 pm

Re: Dolby Vision now possible through MP4 Mux.

#1206 Post by built_to_chill » Thu Feb 27, 2020 7:14 am

Grencola wrote:
Thu Feb 27, 2020 3:44 am
I wonder how well an mkv remux would work in a ts container. I know dv mp4s made from mkv's would have the odd hiccup, perhaps that's resolved using ts.
eac3to and gMKVExtractGUI can easily get you the 2 hevc video tracks and the thd atmos audio track which then gets added to tsmuxer nightly just like an m2ts. I bet it works great.
note: adding an mkv remux directly to tsmuxer usually brings upon errors that certain tracks are skipped, and it's usually the thd track. but it's always good practice to try it first and see, cuz if the tracks you want show up then it saves you time.
Hi there - is it the case now that the tsMuxeR nightly can create a dual layer DV m2ts file from an mkv?

I ask because I might have tried yesterday and it didn’t work. Or atleas there was no “Dolby Vision” written anywhere in mediainfo. Although I was jumping between different tsMuxeR builds, so I’ll definitely double check if you believe this should now work?

Would there be anything special to do - like first extracting the two DV layers before inputting then into tsMuxeR? Or just try opening the mkv in tsMuxeR directly. I don’t care about the audio for a proof of principle here. If this can create dual layer DVs it opens up lots of possibilities.

I’ll definitely try this later if you think it would work.

built_to_chill
Posts: 36
Joined: Thu Feb 20, 2020 4:45 pm

Re: Dolby Vision now possible through MP4 Mux.

#1207 Post by built_to_chill » Thu Feb 27, 2020 9:37 am

I just tried going from mkv -> m2ts directly using the 2020-02-25--01-10-33 (Mac) nightly build of tsMuxeR. Just selecting two video layers from the mkv and nothing else. And selecting "Blu-ray folder" for the output.

I don't think it worked since there is no mention of Dolby Vision from mediainfo (unlike with @RESET_9999's example above):

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : S08E01/BDMV/STREAM/00000.m2ts
Format                                   : BDAV
Format/Info                              : Blu-ray Video
File size                                : 19.8 GiB
Duration                                 : 53 min 7 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 53.3 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video #1
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 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 53 min 7 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
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2

Video #2
ID                                       : 4117 (0x1015)
Menu ID                                  : 1 (0x1)
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5.1@High
HDR format                               : SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 53 min 7 s
Width                                    : 1 920 pixels
Height                                   : 1 080 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
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2

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

Re: Dolby Vision now possible through MP4 Mux.

#1208 Post by baker99 » Thu Feb 27, 2020 10:21 am

built_to_chill wrote:
Thu Feb 27, 2020 7:14 am
Grencola wrote:
Thu Feb 27, 2020 3:44 am
I wonder how well an mkv remux would work in a ts container. I know dv mp4s made from mkv's would have the odd hiccup, perhaps that's resolved using ts.
eac3to and gMKVExtractGUI can easily get you the 2 hevc video tracks and the thd atmos audio track which then gets added to tsmuxer nightly just like an m2ts. I bet it works great.
note: adding an mkv remux directly to tsmuxer usually brings upon errors that certain tracks are skipped, and it's usually the thd track. but it's always good practice to try it first and see, cuz if the tracks you want show up then it saves you time.
Hi there - is it the case now that the tsMuxeR nightly can create a dual layer DV m2ts file from an mkv?

I ask because I might have tried yesterday and it didn’t work. Or atleas there was no “Dolby Vision” written anywhere in mediainfo. Although I was jumping between different tsMuxeR builds, so I’ll definitely double check if you believe this should now work?

Would there be anything special to do - like first extracting the two DV layers before inputting then into tsMuxeR? Or just try opening the mkv in tsMuxeR directly. I don’t care about the audio for a proof of principle here. If this can create dual layer DVs it opens up lots of possibilities.

I’ll definitely try this later if you think it would work.
It doesn't do m2ts but does do ts, the ts works fine on the X700 bluray player from a usb hard drive, it's a pretty huge breakthrough

built_to_chill
Posts: 36
Joined: Thu Feb 20, 2020 4:45 pm

Re: Dolby Vision now possible through MP4 Mux.

#1209 Post by built_to_chill » Thu Feb 27, 2020 10:58 am

baker99 wrote:
Thu Feb 27, 2020 10:21 am
It doesn't do m2ts but does do ts, the ts works fine on the X700 bluray player from a usb hard drive, it's a pretty huge breakthrough
Thank you! I just tried again selecting "ts" as the output for tsMuxeR.

And now MediaInfo says "Dolby Vision" :-). Again - this is going direct from mkv. I won't get excited just yet since will have to wait until tonight to actually try playing it and see if it's choppy etc. But trying just now in VLC on my MacBook Pro - nothing seemed obviously wrong (although there is no

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : S08E01 Winterfell.ts
Format                                   : MPEG-TS
File size                                : 19.4 GiB
Duration                                 : 53 min 7 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 52.2 Mb/s
Maximum Overall bit rate                 : 35.5 Mb/s

Video #1
ID                                       : 4113 (0x1011)
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.07.06, BL / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 53 min 7 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
Language                                 : English
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2

Video #2
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.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 53 min 7 s
Width                                    : 1 920 pixels
Height                                   : 1 080 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
Language                                 : English
Color range                              : Limited
Color primaries                          : BT.2020
Transfer characteristics                 : PQ
Matrix coefficients                      : BT.2020 non-constant
Mastering display color primaries        : BT.2020
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 cd/m2

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

Re: Dolby Vision now possible through MP4 Mux.

#1210 Post by RESET_9999 » Thu Feb 27, 2020 12:13 pm

built_to_chill wrote:
Thu Feb 27, 2020 9:37 am
I just tried going from mkv -> m2ts directly using the 2020-02-25--01-10-33 (Mac) nightly build of tsMuxeR. Just selecting two video layers from the mkv and nothing else. And selecting "Blu-ray folder" for the output.

I don't think it worked since there is no mention of Dolby Vision from mediainfo (unlike with @RESET_9999's example above):
Image

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

Re: Dolby Vision now possible through MP4 Mux.

#1211 Post by baker99 » 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.

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

Re: Dolby Vision now possible through MP4 Mux.

#1212 Post by RESET_9999 » 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.

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

Re: Dolby Vision now possible through MP4 Mux.

#1213 Post by yusesope » 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!

built_to_chill
Posts: 36
Joined: Thu Feb 20, 2020 4:45 pm

Re: Dolby Vision now possible through MP4 Mux.

#1214 Post by built_to_chill » 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.

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

Re: Dolby Vision now possible through MP4 Mux.

#1215 Post by RESET_9999 » Thu Feb 27, 2020 8:27 pm

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)

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):


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!
this is great, thank you . I'll test your files.

If everything works, I hope you can make your tool available so we don't have to depends on DVDFAB for single layer remux.



I found some single layer profile 5 samples(appleTV screensavers) that looks like the one from dvdfab but instead of dvhe.05.06 it says dvhe.05.07
i wonder if it's the reason why dvdfab SL file have wrong colors.
https://docs.google.com/spreadsheets/d/ ... 1684411812

Code: Select all

Complete name                            : D:\LA_A006_C008_4K_HDR_HEVC.mov
Format                                   : MPEG-4
Format profile                           : QuickTime
Codec ID                                 : qt   0000.00 (qt  )
File size                                : 358 MiB
Duration                                 : 6 min 0 s
Overall bit rate                         : 8 337 kb/s
Encoded date                             : UTC 2017-07-22 07:12:48
Tagged date                              : UTC 2017-07-22 14:28:02
Writing library                          : Apple QuickTime

Video
ID                                       : 1
Format                                   : HEVC
Format/Info                              : High Efficiency Video Coding
Format profile                           : Main 10@L5@High
HDR format                               : Dolby Vision, Version 1.0, dvhe.05.07, BL+RPU / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : dvh1
Duration                                 : 6 min 0 s
Bit rate                                 : 8 334 kb/s
Width                                    : 3 840 pixels
Height                                   : 2 160 pixels
Display aspect ratio                     : 16:9
Frame rate mode                          : Constant
Frame rate                               : 29.970 (30000/1001) FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 10 bits
Compression mode                         : Lossy
Bits/(Pixel*Frame)                       : 0.034
Stream size                              : 358 MiB (100%)
Title                                    : Core Media Video
Encoded date                             : UTC 2017-07-22 14:28:00
Tagged date                              : UTC 2017-07-22 14:28:02
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              : 10000 cd/m2
Maximum Frame-Average Light Level        : 103 cd/m2
Codec configuration box                  : hvcC+dvcC

Post Reply