Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Grencola
Posts: 343
Joined: Sun Jan 27, 2019 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola »

built_to_chill wrote:
Sat Feb 22, 2020 4:39 pm
Just to say it’s easy enough to string the three commands together into a basic shell script. Which takes the file as an argument. That’s what I’m doing now.
Yea, it's definitely not too complicated. I'm trying to make a one-click tool that converts an m2ts file all the way to a single-layer mp4 with lpcm 7.1 audio. issue I'm having is running dvdfab from a command line gets tricky while it's part of an integrated shell. dual layer is no problem since it's not needed. I was giving an option at startup of whether you want single layer or dual layer and then it goes to work. I wasn't going to bother with single at all since I thought dvdfab was faking dv, but the comparisons are so close to the real thing that it's worth it for people with shields / firesticks etc who don't have an x700 or a compatible tv usb player.
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 »

Grencola wrote:
Sat Feb 22, 2020 6:55 pm
built_to_chill wrote:
Sat Feb 22, 2020 4:39 pm
Just to say it’s easy enough to string the three commands together into a basic shell script. Which takes the file as an argument. That’s what I’m doing now.
Yea, it's definitely not too complicated. I'm trying to make a one-click tool that converts an m2ts file all the way to a single-layer mp4 with lpcm 7.1 audio. issue I'm having is running dvdfab from a command line gets tricky while it's part of an integrated shell. dual layer is no problem since it's not needed. I was giving an option at startup of whether you want single layer or dual layer and then it goes to work. I wasn't going to bother with single at all since I thought dvdfab was faking dv, but the comparisons are so close to the real thing that it's worth it for people with shields / firesticks etc who don't have an x700 or a compatible tv usb player.
I see. Interesting if there’s some uncertainty over whether single layer DV from dvdfab is fake or not.

If it turns out to be a lossless DV conversion, it sure would be nice to be able to play these one day via Infuse on my Apple TV.

As long as there’s uncertainty though I feel much better about putting my money into an X700 and playing the original DV data effectively untouched (albeit repackaged).
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 »

RESET_9999 wrote:
Wed Jan 29, 2020 5:39 pm

here's what is supported with the x700:

MP4 DV (SL & DL) + lpcm 7.1 = play perfectly fine. (subtitles dont work)
M2TS / TS + atmos = HDR10 only but atmos is supported.
MKV + atmos - HDR10 but atmos not supported (because the core is separated)
MKV + DTS-X / DTSHD = HDR10 and all the DTS family is supported.
Burned ISO = Dolby vision + atmos supported. (latest Tsmuxer can now create compliant DV bluray structure)https://forum.doom9.org/showthread.php?t=176668&page=16
no cinavia... But i only use it for DV mp4 remux, I wish there was a device that can do it all......
I use my HTPC for HDR10 and the new Shield for everything that is streaming....Netflix in DV + Atmos.. amazon, movies anywhere, vudu. etc...
Sorry for my english...

Image
Hi there - I took a look at TSMuxer and it seems it can take various things (including mkv and i believe MP4) as input, and output an ISO. Just curious if you’re suggesting above this could be a route to getting Dolby vision and Dolby Atmos playback on the X700 when starting with an mkv?

Or whether this would require re-ripping everything to ISO using makemkv?
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

built_to_chill wrote:
Mon Feb 24, 2020 2:48 pm

Hi there - I took a look at TSMuxer and it seems it can take various things (including mkv and i believe MP4) as input, and output an ISO. Just curious if you’re suggesting above this could be a route to getting Dolby vision and Dolby Atmos playback on the X700 when starting with an mkv?

Or whether this would require re-ripping everything to ISO using makemkv?
yes you can create a DV ISO from MKV using the latest tsmuxer but you'll have to process Atmos with eac3to first because tsmuxer wont accept ATmos without an AC3 core.

When a movie compress very well(CRF 14 or better) that's what i do. I re-encode the HDR10 layer to fit a BD-50 and then use tsmuxer to build a new iso with DV and Atmos and then i burn it.
I did that with a couple (about10) of movies and the x700 play my custom iso properly.


Grencola wrote:
Fri Feb 21, 2020 5:08 am
unfortunately I highly doubt this will work. the secondary dolby vision track on uhd discs is an hevc layer, just like the main layer. when mp4muxer (or dvdfab) makes an mp4 it uses the dvhe (dolby vision high efficiency) codec. the dolby vision metadata is now hardcoded with the mp4 container, and not the actual file inside. the same goes with if dolby makes a ts file - the dvhe exists only within that container. as soon as you demux the contents, or remux into a different container, you completely lose all dolby vision information and are left with an hdr10 base file only. in order to remux a dv mp4 to ts (for atmos I assume) and retain dv, you would need to extract the el+rpu data using one of Dolby's officially licensed PSU workstations. you would then have to re-author a ts file using proprietary licensed dolby tools, like it does for their sample videos. none of this is currently possible with 3rd-party hardware and software.
well it looks like they made it work. https://forum.doom9.org/showthread.php? ... ost1902124
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:
Mon Feb 24, 2020 5:28 pm
well it looks like they made it work. https://forum.doom9.org/showthread.php? ... ost1902124
ya been following closely! there's a good chance I stand corrected :P unless they paid for a license? also I can't wait to see if this works with truehd+atmos properly, and which devices are compatible..
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

definitely going to test my x700 and my shield tonight.

Image
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 »

RESET_9999 wrote:
Mon Feb 24, 2020 5:28 pm
built_to_chill wrote:
Mon Feb 24, 2020 2:48 pm

Hi there - I took a look at TSMuxer and it seems it can take various things (including mkv and i believe MP4) as input, and output an ISO. Just curious if you’re suggesting above this could be a route to getting Dolby vision and Dolby Atmos playback on the X700 when starting with an mkv?

Or whether this would require re-ripping everything to ISO using makemkv?
yes you can create a DV ISO from MKV using the latest tsmuxer but you'll have to process Atmos with eac3to first because tsmuxer wont accept ATmos without an AC3 core.

When a movie compress very well(CRF 14 or better) that's what i do. I re-encode the HDR10 layer to fit a BD-50 and then use tsmuxer to build a new iso with DV and Atmos and then i burn it.
I did that with a couple (about10) of movies and the x700 play my custom iso properly.
Many thanks for clarifying. Ah - if I follow - you have to literally burn to disc to get the X700 to play these.

I had been playing with eac3 to try and make m2ts files of my Atmos mkvs. So far it hasn’t run successfully but I am running it via wine on Ubuntu.

On the plus side I think the X700 effectively does DV auto switching for video files. With DV set to
on and playing an HDR10 mkv just now it did not play in forced Dolby vision. That’s great if don’t have to keep turning it on and off like you do for the actual discs.
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

built_to_chill wrote:
Mon Feb 24, 2020 8:21 pm

on the plus side I think the X700 effectively does DV auto switching for video files. With DV set to
on and playing an HDR10 mkv just now it did not play in forced Dolby vision. That’s great if don’t have to keep turning it on and off like you do for the actual discs.
Yes but the x700 does not support atmos in an mkv container because the AC3 core is missing. So you need the m2ts file for Atmos and if you let DV turned on, you get fake DV.
built_to_chill wrote:
Mon Feb 24, 2020 8:21 pm

Many thanks for clarifying. Ah - if I follow - you have to literally burn to disc to get the X700 to play these.
yes
built_to_chill wrote:
Mon Feb 24, 2020 8:21 pm

I had been playing with eac3 to try and make m2ts files of my Atmos mkvs. So far it hasn’t run successfully but I am running it via wine on Ubuntu.
I dont know the exact cmd-line or anything about ubuntu but its very easy with the EAC3to GUI

Image

https://forum.doom9.org/showthread.php?t=125966
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

I tried with a profile 5 demos, Atmos and DV work on the x700 but playback is jumpy. (maybe because i used some random external atmos track)


then BIG SURPRISE, I tried to remux an original dual layer m2ts to TS without using the mp4muxer at all ... the file play properly in DV with atmos on the x700 WOW





Image



this is a direct remux from the disc to TS using tsmuxer (no mp4muxer):

Code: Select all

omplete name                            : D:\other\DEMOS\DL-DV-ATMOS-REMUX.ts
Format                                   : MPEG-TS
File size                                : 51.8 GiB
Duration                                 : 2 h 14 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 55.1 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                                 : 2 h 14 min
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        : Display P3
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                                 : 2 h 14 min
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        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 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 14 min
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 7 134 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                              : 616 MiB (1%)
Service kind                             : Complete Main
Number of dynamic objects                : 13
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
Last edited by RESET_9999 on Sun Mar 08, 2020 4:56 pm, edited 1 time in total.
henkeli
Posts: 22
Joined: Mon Feb 24, 2020 11:11 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by henkeli »

RESET_9999 wrote:
Mon Feb 24, 2020 10:32 pm

then BIG SURPRISE, I tried to remux an original dual layer m2ts to TS without using the mp4muxer at all ... the file play properly in DV with atmos on the x700 WOW
That's awesome. Thanks also for listing the capabilities and limitations of the X700. Do you know if the X700 can play 3D Blu-ray backups as well in either M2TS, TS, and/or MKV format?

From your prior posts, it sounds like the X700 drops the MKV Atmos track due to the way in which the MKV is assembled?
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:
Mon Feb 24, 2020 10:32 pm
I tried with a profile 5 demos, Atmos and DV work on the x700 but playback is jumpy. (maybe because i used some random external atmos track)


then BIG SURPRISE, I tried to remux an original dual layer m2ts to TS without using the mp4muxer at all ... the file play properly in DV with atmos on the x700 WOW
ah, the moment we've all been waiting for :) I wonder if the shield will do atmos + dv from a single layer ts file
Last edited by Grencola on Tue Feb 25, 2020 3:50 am, edited 2 times in total.
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

ah, the moment we've all been waiting for :) I wonder if the shield will do atmos + dv from a single layer ts file
on the Shield/PLEX:

I'm getting a black screen without audio for the dual layer TS.

I'm getting a black screen with atmos audio with the profile 5 demos with random external atmos.

on the oled:
unrecognized

on the vizio DV tv:
HDR10 only
henkeli wrote:
Tue Feb 25, 2020 12:21 am
Do you know if the X700 can play 3D Blu-ray backups as well in either M2TS, TS, and/or MKV format?
I don't know.
henkeli wrote:
Tue Feb 25, 2020 12:21 am
From your prior posts, it sounds like the X700 drops the MKV Atmos track due to the way in which the MKV is assembled?
yes
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:
Tue Feb 25, 2020 2:14 am
on the Shield/PLEX:

I'm getting a black screen without audio for the dual layer TS.

I'm getting a black screen with atmos audio with the profile 5 demos with random external atmos.
the shield only supports dv profile 5. are you using the plex beta? I'm sure you are, but just in case, it's the only version that supports single layer dv.
RESET_9999 wrote:
Tue Feb 25, 2020 2:14 am
on the oled:
unrecognized

on the vizio DV tv:
HDR10 only
I have a Vizio PX 75, I thought for sure it would work since the dolby ts test samples play just fine. it's not earc anyway though so it doesn't matter, as nothing would be gained.
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:
Mon Feb 24, 2020 10:32 pm
this is a direct remux from the disc to TS using tsmuxer (no mp4muxer):

Code: Select all

omplete name                            : D:\other\DEMOS\DL-DV-ATMOS-REMUX.ts
Format                                   : MPEG-TS
File size                                : 51.8 GiB
Duration                                 : 2 h 14 min
Overall bit rate mode                    : Variable
Overall bit rate                         : 55.1 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                                 : 2 h 14 min
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        : Display P3
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                                 : 2 h 14 min
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        : Display P3
Mastering display luminance              : min: 0.0001 cd/m2, max: 1000 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 14 min
Bit rate mode                            : Variable
Bit rate                                 : 640 kb/s
Maximum bit rate                         : 7 134 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                              : 616 MiB (1%)
Service kind                             : Complete Main
Number of dynamic objects                : 13
Bed channel count                        : 1 channel
Bed channel configuration                : LFE
one thing is concerning, and it could be the disc you tried, but how come the atmos track says lossy under compression mode, with a bitrate of only 640kbps / max 7134kbps and an ac3 mlp? every disc I've been checking says lossless compression with a bitrate around 5000+kbps/ max 8000+kbps and full thd mlp. it's like it's some weird atmos, that's not even eac3 dd+ atmos, but based on just ac3 instead or something. doesn't seem right to me.

what's also interesting is the main video layer says dolby vision now as well as the secondary layer. it's like it's doing a mixture of what dvdfab does to single layer mp4s but also keeping the 2nd video track. this should be fine though, since it has the el+rpu and the full second layer, just weird why it applies it like that.
Last edited by Grencola on Tue Feb 25, 2020 4:33 am, edited 1 time in total.
RESET_9999
Posts: 2093
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

the shield only supports dv profile 5. are you using the plex beta? I'm sure you are, but just in case, it's the only version that supports single layer dv.
yes, latest beta. I thought it would at least play the HDR10 layer but nop, black screen. the single layer mp4 works.
if I have more time tomorrow night, I'll try to remux the dvdfab single layer file to TS and play it with the shield.
I have a Vizio PX 75, I thought for sure it would work since the dolby ts test samples play just fine. it's not earc anyway though so it doesn't matter, as nothing would be gained.
it's a very cheap tv(M50-E1) that I use with my main PC. I'm not surprised that it doesn't work because most of the DV mp4 also plays in HDR10 only. it looks like it can't play the one with FEL DV.
surprising that it didn't play on the C8 though.
Post Reply