Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

eblackadder wrote:
Wed Mar 18, 2020 10:20 pm
Mortenjorstad wrote:
Wed Mar 18, 2020 1:39 pm
I have know made M2ts files with hd audio on all my 56 DV movies. Every movie play perfect on shield 2019 with DV and Atmos/dts x sound.

1 demux with eac3to Eac3to path to moviefolder 2:bl.hevc 3:el.hevc

2 tak the 2 files and import them into yuseope tool v02

3 use tsmuxer modified Version, mux file made by yuseope tool with audio from Blu-ray.

https://drive.google.com/uc?id=10zOr0IU ... t=download
How do you play them if i may ask? With Plex? Or maybe MX Player?
With plex on shield 2019
Mortenjorstad
Posts: 19
Joined: Wed Mar 18, 2020 9:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Mortenjorstad »

eblackadder wrote:
Wed Mar 18, 2020 9:57 pm
Mortenjorstad wrote:
Wed Mar 18, 2020 9:46 am
RESET_9999 wrote:
Wed Mar 18, 2020 12:09 am
Anyone tried 1917 ?

I'm testing @yusesope newest version of the tool but playback stops at exactly 1min16 on the shield (tried 3 times). BL+EL+RPU+Atmos
Fast forward also stop playback with the same error.

Image



as usual , Dual layer TS + Atmos works like a charm on the x700. that movie looks amazing in DV btw.
Had same error on some movies, you must turn off pgs subtitles.
Where do you have to turn it off?
With plex you can see before you start the movie if subtitles is on
eblackadder
Posts: 15
Joined: Mon Mar 16, 2020 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by eblackadder »

Hi all,

I'm a little confused. I heard/read that it was not possible to use Dolby Vision/Atmos with M2TS files but Mortenjorstad wrote that he made 56 dv movies.
So i tried it too with the movie 1917 and played it on the shield tv pro. My tv is the Lg Oled C7 and it triggers dv. My receiver is the Denon 4300h and shows Atmos.

When i look to the info file it looks good.

Algemeen
ID : 1 (0x1)
Volledige naam : D:\4k Movies\1917.m2ts
Formaat : BDAV
Formaat/Info : Blu-ray Video
Bestandsgrootte : 71,8 GiB
Duur : 1 h 58 min
Totale bitratemodus : Variabel
Totale bitrate : 86,4 Mb/s
Maximale Totale bitrate : 35,5 Mb/s

Video
ID : 4117 (0x1015)
Menu-ID : 1 (0x1)
Formaat : HEVC
Formaat/Info : High Efficiency Video Coding
Formaatprofiel : Main 10@L5.1@High
HDR_Format/String : Dolby Vision, Version 1.0, dvhe.08.06, BL+EL+RPU / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec-ID : 36
Duur : 1 h 58 min
Bitrate : 82,5 Mb/s
Breedte : 3 840 pixels
Hoogte : 2 160 pixels
Beeldverhouding : 16:9
Framerate : 23,976 (24000/1001) FPS
ColorSpace : YUV
ChromaSubsampling/String : 4:2:0 (Type 2)
BitDepth/String : 10 bits
Bits/(Pixel*Frame) : 0.415
Stroomgrootte : 68,6 GiB (96%)
colour_range : Limited
colour_primaries : BT.2020
transfer_characteristics : PQ
matrix_coefficients : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : Display P3
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL : 1000 cd/m2
MaxFALL : 168 cd/m2

Audio
ID : 4352 (0x1100)
Menu-ID : 1 (0x1)
Formaat : AC-3 MLP FBA 16-ch
Formaat/Info : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Format_Commercial_IfAny : Dolby TrueHD with Dolby Atmos
Muxingmodus : Stream extension
Codec-ID : 131
Duur : 1 h 58 min
Bitrate-modus : Variabel
Bitrate : 448 kb/s
Maximale bitrate : 7 158 kb/s
Kanaal(en) : 8 kanalen
ChannelLayout : L R C LFE Ls Rs Lb Rb
Samplerate : 48,0 kHz
Framerate : 31,250 FPS (1536 SPF)
Video vertraging : 17 ms
Stroomgrootte : 381 MiB (1%)
Taal : Engels
ServiceKind/String : Complete Main
NumberOfDynamicObjects : 11
BedChannelCount/String : 1 kanaal
BedChannelConfiguration : LFE

Is this good or not good?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

eblackadder wrote:
Thu Mar 19, 2020 12:18 pm
Hi all,

I'm a little confused. I heard/read that it was not possible to use Dolby Vision/Atmos with M2TS files but Mortenjorstad wrote that he made 56 dv movies.
So i tried it too with the movie 1917 and played it on the shield tv pro. My tv is the Lg Oled C7 and it triggers dv. My receiver is the Denon 4300h and shows Atmos.

When i look to the info file it looks good.

Algemeen
ID : 1 (0x1)
Volledige naam : D:\4k Movies\1917.m2ts
Formaat : BDAV
Formaat/Info : Blu-ray Video
Bestandsgrootte : 71,8 GiB
Duur : 1 h 58 min
Totale bitratemodus : Variabel
Totale bitrate : 86,4 Mb/s
Maximale Totale bitrate : 35,5 Mb/s

Video
ID : 4117 (0x1015)
Menu-ID : 1 (0x1)
Formaat : HEVC
Formaat/Info : High Efficiency Video Coding
Formaatprofiel : Main 10@L5.1@High
HDR_Format/String : Dolby Vision, Version 1.0, dvhe.08.06, BL+EL+RPU / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
Codec-ID : 36
Duur : 1 h 58 min
Bitrate : 82,5 Mb/s
Breedte : 3 840 pixels
Hoogte : 2 160 pixels
Beeldverhouding : 16:9
Framerate : 23,976 (24000/1001) FPS
ColorSpace : YUV
ChromaSubsampling/String : 4:2:0 (Type 2)
BitDepth/String : 10 bits
Bits/(Pixel*Frame) : 0.415
Stroomgrootte : 68,6 GiB (96%)
colour_range : Limited
colour_primaries : BT.2020
transfer_characteristics : PQ
matrix_coefficients : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : Display P3
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL : 1000 cd/m2
MaxFALL : 168 cd/m2

Audio
ID : 4352 (0x1100)
Menu-ID : 1 (0x1)
Formaat : AC-3 MLP FBA 16-ch
Formaat/Info : Audio Coding 3 + Meridian Lossless Packing FBA with 16-channel presentation
Format_Commercial_IfAny : Dolby TrueHD with Dolby Atmos
Muxingmodus : Stream extension
Codec-ID : 131
Duur : 1 h 58 min
Bitrate-modus : Variabel
Bitrate : 448 kb/s
Maximale bitrate : 7 158 kb/s
Kanaal(en) : 8 kanalen
ChannelLayout : L R C LFE Ls Rs Lb Rb
Samplerate : 48,0 kHz
Framerate : 31,250 FPS (1536 SPF)
Video vertraging : 17 ms
Stroomgrootte : 381 MiB (1%)
Taal : Engels
ServiceKind/String : Complete Main
NumberOfDynamicObjects : 11
BedChannelCount/String : 1 kanaal
BedChannelConfiguration : LFE

Is this good or not good?
Ah my fault, that does look good. It was earlier on in the process that people weren’t able to get m2ts working and only ts, maybe that’s changed in the more recent versions of tsmuxer and just that nobody has tried. Did you experience the same playback issues that RESET_999 was having?
eblackadder
Posts: 15
Joined: Mon Mar 16, 2020 8:32 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by eblackadder »

@Shawnc22

I still have to try with subs but without subs it kept playing although i let it only play for a few minutes. I am going to try it with subs as well.
On MX Player it runs fine when you start, also with subs.(HW decoder) When you set it on pause and continue then there's no problem but when you stop the movie and want to continue then it gets to HW+ and it shows hdr10 plus stereo. When i want togo back to HW i get the message that HW isn't supported. That's of course strange because when you start the movie it plays perfect.

I just tried PGS subs with plex and then i get the message that it can't process the subs well and it continues without subs.
yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope »

shawnc22 wrote:
Wed Mar 18, 2020 4:10 pm
yusesope wrote:
Wed Mar 18, 2020 10:58 am
This time it's not my fault :lol: !
There seems to be a little bit missing in the BL Layer: my program is in eternal expectation of a data that will never arrive! What is the title of the movie?
Ah odd that the temp version of the v2 tool worked and v3 did not.
v0.0.2 was bugged: for this reason has been replaced by version 0.0.3 (which has instead identified the problem)
The "The source file seems to be damaged" is quite explanatory.


############################################################
I also took a look at the tsMuxeR code and I think I have identified the reason why your .ts files are marked with the profile dvhe.08 (the profile dvhe.04 should be the right one since dvhe.08 does not have the Enhancement Layer).

I believe the problem occurs HERE: all Single Track Double Layer files are treated as Single Track Single Layer files.

Examples:
  • THIS LG demo (dvhe.04) is remuxed in a dvhe.05 file
  • Joker's BL + EL + RPU raw stream that I uploaded some time ago (HERE) is flagged as dvhe.08 (like your remuxes).
The choice of the profile is due to the value of "DVCompatibility"

The presence of EL should be used to distinguish a Double Layer file from a Single Layer file.

If any of you attend the tsMuxeR developer forum, could you please report it?
So they can check if I said a nonsense or not :mrgreen:
bgalakazam
Posts: 34
Joined: Wed May 01, 2019 6:15 pm
Location: Italy

Re: Dolby Vision now possible through MP4 Mux.

Post by bgalakazam »

Wow, so much activity recently. Great job on the progress.

As far as X700 goes, is there anything this new tool from yusesope adds over a tsMuxer remux?
Sony X700 -> Onkyo TX-RZ830 -> LG C8
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 Mar 19, 2020 7:03 pm
shawnc22 wrote:
Wed Mar 18, 2020 4:10 pm
yusesope wrote:
Wed Mar 18, 2020 10:58 am
This time it's not my fault :lol: !
There seems to be a little bit missing in the BL Layer: my program is in eternal expectation of a data that will never arrive! What is the title of the movie?
Ah odd that the temp version of the v2 tool worked and v3 did not.
v0.0.2 was bugged: for this reason has been replaced by version 0.0.3 (which has instead identified the problem)
The "The source file seems to be damaged" is quite explanatory.


############################################################
I also took a look at the tsMuxeR code and I think I have identified the reason why your .ts files are marked with the profile dvhe.08 (the profile dvhe.04 should be the right one since dvhe.08 does not have the Enhancement Layer).

I believe the problem occurs HERE: all Single Track Double Layer files are treated as Single Track Single Layer files.

Examples:
  • THIS LG demo (dvhe.04) is remuxed in a dvhe.05 file
  • Joker's BL + EL + RPU raw stream that I uploaded some time ago (HERE) is flagged as dvhe.08 (like your remuxes).
The choice of the profile is due to the value of "DVCompatibility"

The presence of EL should be used to distinguish a Double Layer file from a Single Layer file.

If any of you attend the tsMuxeR developer forum, could you please report it?
So they can check if I said a nonsense or not :mrgreen:
I have posted it on the forum for you
Alldu
Posts: 40
Joined: Mon Jun 24, 2019 4:27 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Alldu »

Hy guys, anybody know what's the best way to embed sub/idx or ass subtitles into the DV mp4? I play my DV files via X700 and for some reason it can't read ass subs properly and sub/idx at all, if I put them in the same folder as DV mp4. Thanks!
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Alldu wrote:
Thu Mar 19, 2020 9:44 pm
Hy guys, anybody know what's the best way to embed sub/idx or ass subtitles into the DV mp4? I play my DV files via X700 and for some reason it can't read ass subs properly and sub/idx at all, if I put them in the same folder as DV mp4. Thanks!
You don't have to use the MP4 container anymore with the x700. You can remux your UHD bluray disc directly to .TS or .M2TS using this tsMuxer:

https://drive.google.com/file/d/1IWYPO4 ... sp=sharing

DV, Atmos and subs will work.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

yusesope wrote:
Thu Mar 19, 2020 7:03 pm
shawnc22 wrote:
Wed Mar 18, 2020 4:10 pm
yusesope wrote:
Wed Mar 18, 2020 10:58 am
This time it's not my fault :lol: !
There seems to be a little bit missing in the BL Layer: my program is in eternal expectation of a data that will never arrive! What is the title of the movie?
Ah odd that the temp version of the v2 tool worked and v3 did not.
v0.0.2 was bugged: for this reason has been replaced by version 0.0.3 (which has instead identified the problem)
The "The source file seems to be damaged" is quite explanatory.


############################################################
I also took a look at the tsMuxeR code and I think I have identified the reason why your .ts files are marked with the profile dvhe.08 (the profile dvhe.04 should be the right one since dvhe.08 does not have the Enhancement Layer).

I believe the problem occurs HERE: all Single Track Double Layer files are treated as Single Track Single Layer files.

Examples:
  • THIS LG demo (dvhe.04) is remuxed in a dvhe.05 file
  • Joker's BL + EL + RPU raw stream that I uploaded some time ago (HERE) is flagged as dvhe.08 (like your remuxes).
The choice of the profile is due to the value of "DVCompatibility"

The presence of EL should be used to distinguish a Double Layer file from a Single Layer file.

If any of you attend the tsMuxeR developer forum, could you please report it?
So they can check if I said a nonsense or not :mrgreen:
So one last thing with that problematic movie. I stripped out the BL layer from the mkv that I made out of the original disk, and it surprisingly mixed successfully (equal AUDs) with the EL layer I had extracted prior from the decrypted M2TS. But once muxed back into the TS container with the Atmos audio, there was definitely a hiccup in the video at the 0:43:35 mark and the audio became desynced thereafter. Odd that there was no hiccup in playback of the mkv file though at the same point, so the EL is seemingly the problematic source even though the original BL was the one with the missing AUD.

Anyways moving on, I wanted to test out your theory with the tsmuxer code but didn't really want to dig through the whole logic with DVCompatibility (nor do I really understand it), so I just commented out that entire conditional block with the "Duallayers" variable and simply forced the DV profile to 4 (bitWriter.putBits(7,4)). After compiling this small change in a5180007's latest build, i retested the Joker BL+EL+RPU file and out came with this:

Code: Select all

General
ID                                       : 1 (0x1)
Complete name                            : Z:\TS\Joker_BL_EL_RPU_PROF4.ts
Format                                   : MPEG-TS
File size                                : 93.8 MiB
Duration                                 : 23 s 607 ms
Overall bit rate mode                    : Variable
Overall bit rate                         : 33.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 / SMPTE ST 2086, HDR10 compatible
Codec ID                                 : 36
Duration                                 : 23 s 648 ms
Bit rate                                 : 31.5 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.158
Stream size                              : 88.8 MiB (95%)
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
Triggers DV on the shield and looks pretty much the same as the profile 8 video. Again, I know what I did was very hacky as I was just curious if changing the DV profile would do anything :lol: . Perhaps after the devs take a look at it and implement a real change, there will be some noticeable differences.
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

RESET_9999 wrote:
Thu Mar 19, 2020 10:24 pm
Alldu wrote:
Thu Mar 19, 2020 9:44 pm
Hy guys, anybody know what's the best way to embed sub/idx or ass subtitles into the DV mp4? I play my DV files via X700 and for some reason it can't read ass subs properly and sub/idx at all, if I put them in the same folder as DV mp4. Thanks!
You don't have to use the MP4 container anymore with the x700. You can remux your UHD bluray disc directly to .TS or .M2TS using this tsMuxer:

https://drive.google.com/file/d/1IWYPO4 ... sp=sharing

DV, Atmos and subs will work.

so wait you got all 3 to work together but on that X700 player not on the shield/build in LG player? or am i mistaken something?
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
planet_hoarder
Posts: 33
Joined: Tue Mar 17, 2020 10:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by planet_hoarder »

rosavanwinkle wrote:
Thu Mar 19, 2020 10:56 pm
RESET_9999 wrote:
Thu Mar 19, 2020 10:24 pm
Alldu wrote:
Thu Mar 19, 2020 9:44 pm
Hy guys, anybody know what's the best way to embed sub/idx or ass subtitles into the DV mp4? I play my DV files via X700 and for some reason it can't read ass subs properly and sub/idx at all, if I put them in the same folder as DV mp4. Thanks!
You don't have to use the MP4 container anymore with the x700. You can remux your UHD bluray disc directly to .TS or .M2TS using this tsMuxer:

https://drive.google.com/file/d/1IWYPO4 ... sp=sharing

DV, Atmos and subs will work.

so wait you got all 3 to work together but on that X700 player not on the shield/build in LG player? or am i mistaken something?
Built-in LG player doesn't support Atmos, even on C9 with eARC (unless they updated)
but bitstreams Atmos with no problems if you can play it (e.g. HTPC)
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

rosavanwinkle wrote:
Thu Mar 19, 2020 10:56 pm
so wait you got all 3 to work together but on that X700 player not on the shield/build in LG player? or am i mistaken something?
yep but so far, Dual layer DV + Atmos TS(or m2ts) only works on the x700 and the oppo.

A friend of mine tried the Philips and LG DV Bluray player which both support dual layer DV MP4 but no success.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
rosavanwinkle
Posts: 71
Joined: Fri Aug 09, 2019 11:10 am

Re: Dolby Vision now possible through MP4 Mux.

Post by rosavanwinkle »

i rather have a nice dolby vision that works perfect then a atmos sound,since i dont have a full atmos sound system atm xD
Mediaplayer: Nvidia Shield TV Pro
TV: LG 55SK7900PLA
Soundbar: LG SK8 (not LG SK8Y)
plex pass user
Discord:Rosa#1111
Post Reply