Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
djbuddha
Posts: 38
Joined: Sun Jun 07, 2020 10:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by djbuddha »

jlpsvk wrote:
Mon Jun 01, 2020 10:33 am
so... I achieved this... with the help of mp4box :) i think, would be good enough. :)

1) demux with tsMuxer...
2) encode BL
3) mux BL_encode.hevc with EL.hevc with yousesope's tools with mode 2 to BL+RPU
4) mux only video to mp4 with mp4muxer 1.0.1
5) add audio, subs, chapters to MP4 with mp4box
So I followed these steps, and changed it a little, here are the results.

Demuxed the file
muxed the BL & EL using yousesope w/ mode 2
muxed the BL+RPU with all the other assets (subs and all the other audio) to .TS (using the tsMuxer nightly that you linked... thank you btw)

Here's what I found:

- My Apple TV 4K plays the file as Dolby Vision via Infuse. The Atmos track plays as 7.1 which is fine (as the Apple TV can't play Atmos from Infuse from the disc's audio file anyway).
- My nVidia Shield 2017 plays the file as HDR10 (plays fine) and Atmos plays back perfectly.
- All subs work.

So .... it looks like I got it right. Getting my hands on a new 2019 Shield Pro at some point. In THEORY this resulting .TS file should play both the Dolby Vision & Atmos ...

Am I getting this right?

I don't care if the container is MP4, MKV or TS .. for Dolby Vision titles they will get their own folder anyway given the way I organize... but this SHOULD be ok no?
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

djbuddha wrote:
Tue Jun 09, 2020 6:27 pm
jlpsvk wrote:
Mon Jun 01, 2020 10:33 am
so... I achieved this... with the help of mp4box :) i think, would be good enough. :)

1) demux with tsMuxer...
2) encode BL
3) mux BL_encode.hevc with EL.hevc with yousesope's tools with mode 2 to BL+RPU
4) mux only video to mp4 with mp4muxer 1.0.1
5) add audio, subs, chapters to MP4 with mp4box
So I followed these steps, and changed it a little, here are the results.

Demuxed the file
muxed the BL & EL using yousesope w/ mode 2
muxed the BL+RPU with all the other assets (subs and all the other audio) to .TS (using the tsMuxer nightly that you linked... thank you btw)

Here's what I found:

- My Apple TV 4K plays the file as Dolby Vision via Infuse. The Atmos track plays as 7.1 which is fine (as the Apple TV can't play Atmos from Infuse from the disc's audio file anyway).
- My nVidia Shield 2017 plays the file as HDR10 (plays fine) and Atmos plays back perfectly.
- All subs work.

So .... it looks like I got it right. Getting my hands on a new 2019 Shield Pro at some point. In THEORY this resulting .TS file should play both the Dolby Vision & Atmos ...

Am I getting this right?

I don't care if the container is MP4, MKV or TS .. for Dolby Vision titles they will get their own folder anyway given the way I organize... but this SHOULD be ok no?
When you get a 2019 Shield pro, hopefully the DV standard for MKV is set in place by then, and you can just go directly from disk to mkv with makemkv and be done. If not, the files you have already created will play fine, but they are missing the EL, so titles that have a full enhancement layer might not be shown in the way they were intended to.
djbuddha
Posts: 38
Joined: Sun Jun 07, 2020 10:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by djbuddha »

shawnc22 wrote:
Tue Jun 09, 2020 11:15 pm
djbuddha wrote:
Tue Jun 09, 2020 6:27 pm
jlpsvk wrote:
Mon Jun 01, 2020 10:33 am
so... I achieved this... with the help of mp4box :) i think, would be good enough. :)

1) demux with tsMuxer...
2) encode BL
3) mux BL_encode.hevc with EL.hevc with yousesope's tools with mode 2 to BL+RPU
4) mux only video to mp4 with mp4muxer 1.0.1
5) add audio, subs, chapters to MP4 with mp4box
So I followed these steps, and changed it a little, here are the results.

Demuxed the file
muxed the BL & EL using yousesope w/ mode 2
muxed the BL+RPU with all the other assets (subs and all the other audio) to .TS (using the tsMuxer nightly that you linked... thank you btw)

Here's what I found:

- My Apple TV 4K plays the file as Dolby Vision via Infuse. The Atmos track plays as 7.1 which is fine (as the Apple TV can't play Atmos from Infuse from the disc's audio file anyway).
- My nVidia Shield 2017 plays the file as HDR10 (plays fine) and Atmos plays back perfectly.
- All subs work.

So .... it looks like I got it right. Getting my hands on a new 2019 Shield Pro at some point. In THEORY this resulting .TS file should play both the Dolby Vision & Atmos ...

Am I getting this right?

I don't care if the container is MP4, MKV or TS .. for Dolby Vision titles they will get their own folder anyway given the way I organize... but this SHOULD be ok no?
When you get a 2019 Shield pro, hopefully the DV standard for MKV is set in place by then, and you can just go directly from disk to mkv with makemkv and be done. If not, the files you have already created will play fine, but they are missing the EL, so titles that have a full enhancement layer might not be shown in the way they were intended to.
Wait, doesn't yousesope's script put the layer in the newly exported hevc file before remuxing it to TS?
djbuddha
Posts: 38
Joined: Sun Jun 07, 2020 10:55 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by djbuddha »

djbuddha wrote:
Tue Jun 09, 2020 6:27 pm
jlpsvk wrote:
Mon Jun 01, 2020 10:33 am
so... I achieved this... with the help of mp4box :) i think, would be good enough. :)

1) demux with tsMuxer...
2) encode BL
3) mux BL_encode.hevc with EL.hevc with yousesope's tools with mode 2 to BL+RPU
4) mux only video to mp4 with mp4muxer 1.0.1
5) add audio, subs, chapters to MP4 with mp4box
So I followed these steps, and changed it a little, here are the results.

Demuxed the file
muxed the BL & EL using yousesope w/ mode 2
muxed the BL+RPU with all the other assets (subs and all the other audio) to .TS (using the tsMuxer nightly that you linked... thank you btw)

Here's what I found:

- My Apple TV 4K plays the file as Dolby Vision via Infuse. The Atmos track plays as 7.1 which is fine (as the Apple TV can't play Atmos from Infuse from the disc's audio file anyway).
- My nVidia Shield 2017 plays the file as HDR10 (plays fine) and Atmos plays back perfectly.
- All subs work.

So .... it looks like I got it right. Getting my hands on a new 2019 Shield Pro at some point. In THEORY this resulting .TS file should play both the Dolby Vision & Atmos ...

Am I getting this right?

I don't care if the container is MP4, MKV or TS .. for Dolby Vision titles they will get their own folder anyway given the way I organize... but this SHOULD be ok no?
Update, I tried this process using a Dolby Vision / Atmos demo disc & earlier with The Matrix Reloaded and ran into an issue of sorts.

Dolby Disc: If I try to mux the TrueHD 4974 kbps track (AC3 core + TrueHD 640 kbps) @ 48 kHz track from the Dolby disc, that track is completely unplayable

The Matrix Reloaded: If I mux the TrueHD 7794 kbps track (AC3 core + TrueHD 448 kbps) @ 48 kHz track from the Matrix Reloaded disc, that track plays perfectly.

Is the core track being that high of a bitrate really causing the issue? (the 448 works, the 640 doesn't)

If I try to play a 2 minute clip at 640 it stutters like crazy.
If I play the entire Matrix Reloaded movie at 448 kbps it plays perfectly.

Same results with both the Apple TV 4K & the 2017 nVidia Shield

Anybody got any ideas? The Dolby Vision comes through but is useless as the audio is going crazy on the Dolby disc with the 640 kbps ACE core + True HD track.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

djbuddha wrote:
Wed Jun 10, 2020 12:04 am
Wait, doesn't yousesope's script put the layer in the newly exported hevc file before remuxing it to TS?
When you use yusecope's tool in mode 2, it discards the enhancement layer (EL)-resulting in a BL+RPU file. You have to do this for playback on the AppleTV because there is no dual layer support. The Shield does support dual-layer (BL+EL+RPU), so you're free to use yusecope's tool in its default mode.
PapitaHD
Posts: 26
Joined: Sun Mar 01, 2020 10:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by PapitaHD »

Hi all, I've been doing some quite thorough testing with Gemini Man 60fps-DV, so I thought some of you would might be interested in the result, here they are:

I encoded the BL with x265, using mostly slow preset and crf17 and I used the encoded file as BL for all my tests.

The attempts that didn't work at all: yusesope's tool v0.0.4 default mode, muxed with DV profile 4 and 6 both with tsMuxer and mp4muxer. All of these files seemed to be good in mediainfo but non of them was playable neither on my LG C8 nor M9702.

I made a profile 7 (dvhe.07.09) dual layer version with mp4muxer and it played perfectly on M9702 but on LG C8 it always froze after about 10 minutes. When it froze I was always able to cancel and then it started from the point where it stopped, I was also able to seek, and it played smoothly without any lags but after 10 minutes it always froze no matter what point I was watching it from.

Then I used mode 2 of yusesope's tool to make a BL+RPU hevc file and muxed it with tsMuxeR to get profile 5 (dvhe.05.09) DV in .TS container. Guess what, it plays perfectly on my C8. I watched the whole movie and there weren't any kind of lags or artifacts. I used TrueHD Atmos and also 2 other DD tracks.
If any of you would like to play it on an LG TV, this is the way to do it.
shawnc22
Posts: 637
Joined: Tue Jan 21, 2020 7:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by shawnc22 »

PapitaHD wrote:
Fri Jun 12, 2020 5:22 pm
Hi all, I've been doing some quite thorough testing with Gemini Man 60fps-DV, so I thought some of you would might be interested in the result, here they are:

I encoded the BL with x265, using mostly slow preset and crf17 and I used the encoded file as BL for all my tests.

The attempts that didn't work at all: yusesope's tool v0.0.4 default mode, muxed with DV profile 4 and 6 both with tsMuxer and mp4muxer. All of these files seemed to be good in mediainfo but non of them was playable neither on my LG C8 nor M9702.

I made a profile 7 (dvhe.07.09) dual layer version with mp4muxer and it played perfectly on M9702 but on LG C8 it always froze after about 10 minutes. When it froze I was always able to cancel and then it started from the point where it stopped, I was also able to seek, and it played smoothly without any lags but after 10 minutes it always froze no matter what point I was watching it from.

Then I used mode 2 of yusesope's tool to make a BL+RPU hevc file and muxed it with tsMuxeR to get profile 5 (dvhe.05.09) DV in .TS container. Guess what, it plays perfectly on my C8. I watched the whole movie and there weren't any kind of lags or artifacts. I used TrueHD Atmos and also 2 other DD tracks.
If any of you would like to play it on an LG TV, this is the way to do it.
It makes sense if the original issue is that the LG is unable to process the EL due to maybe processing power. Using mode 2 strips away the EL entirely, so it's probably less demanding to play. The tradeoff is that since Gemini Man has an FEL, the resulting picture may not be entirely accurate when the EL is stripped away.
box4m
Posts: 68
Joined: Tue Sep 10, 2019 7:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by box4m »

Did anyone get profile 4/6 to play in MXPlayer on 2019 Shield?
hehoheho
Posts: 1
Joined: Mon Jun 15, 2020 1:24 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by hehoheho »

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

Are you saying that x700 plays dual layer dolby vision mp4s? From network share or usb?
Where can i find more info?

Thx
Yes the x700 plays Dual & Single layer DV MP4 with LPCM 7.1 via USB. Some titles just wont play ( about 2 or 3) but I watched more than 100 DV dual layer with lossless audio without any problems.
I read somewhere(in this thread i think) that it also works from a network but the slow 100mbps ethernet port caused playback issues.

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,

Would you please advise how to play ISO on X700 as per you mentioned?
It is dual layer Dolby Vision with Dolby Atmos plays at the same time? Could play with custom subtitle file as well?
And how about if the ISO is placed on NAS?

Thx!
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

hehoheho wrote:
Mon Jun 15, 2020 2:00 pm
Hi,

Would you please advise how to play ISO on X700 as per you mentioned?
It is dual layer Dolby Vision with Dolby Atmos plays at the same time? Could play with custom subtitle file as well?
And how about if the ISO is placed on NAS?

Thx!

sorry I meant a ISO burned on a bluray disc. You can't play ISO via USB or the network on the x700.

But there is a way better solution (as long as you dont care about menu and extra).
You can use the latest tsMuxer and remux the original m2ts straight to TS (or m2ts) and the file will play in dual layer Dolby Vision + Atmos + subs on the x700.
you can add custom subtitles file as well.

https://bintray.com/justdan96/tsMuxer/t ... htly#files
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
jlpsvk
Posts: 50
Joined: Thu Sep 06, 2018 11:33 am

Re: Dolby Vision now possible through MP4 Mux.

Post by jlpsvk »

any special settings to encode BL??? yousesope's tools offen hangs when muxing encoded BL with EL. :(
box4m
Posts: 68
Joined: Tue Sep 10, 2019 7:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by box4m »

Btw, how do u know if a movie is in FEL or MEL? I know theres lists bluray forum, but if u didnt have that?
planet_hoarder
Posts: 33
Joined: Tue Mar 17, 2020 10:32 am

Re: Dolby Vision now possible through MP4 Mux.

Post by planet_hoarder »

box4m wrote:
Thu Jun 18, 2020 4:24 am
Btw, how do u know if a movie is in FEL or MEL? I know theres lists bluray forum, but if u didnt have that?
you check bitrate of the EL, below 2.2Mbps is MEL, everything above is FEL.
box4m
Posts: 68
Joined: Tue Sep 10, 2019 7:23 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by box4m »

planet_hoarder wrote:
Thu Jun 18, 2020 11:40 am
box4m wrote:
Thu Jun 18, 2020 4:24 am
Btw, how do u know if a movie is in FEL or MEL? I know theres lists bluray forum, but if u didnt have that?
you check bitrate of the EL, below 2.2Mbps is MEL, everything above is FEL.
and how do u check bitrate? mediainfo doesnt tell me
Gauvin 139
Posts: 1
Joined: Thu Jun 18, 2020 4:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gauvin 139 »

Hello. First of all thank you for your work. Sorry for my bad english but i am french.
For yusesope, how did you get the file
Joker BL_RPU raw HEVC (my program - second version - identical to that of DVDFab)
Joker_dvhe.05.06_BL_RPU_Single_Track_Single_Layer
because it works well on my ATV4k combo, Infuse; Sony TV.
I have a little trouble understanding everything because I work with a google translator and there are many versions of different programs. I tried several times to make a version of Gemini Man with DV, but it still plays with HDR10 on my combo
Thank you
Post Reply