Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

#751 Post by DaMacFunkin » Thu Nov 07, 2019 6:59 am

Angryunibrow wrote:
Wed Nov 06, 2019 11:28 pm
DaMacFunkin wrote:
Wed Nov 06, 2019 10:58 pm
Hi Yusesope,

Followed your guide and now have a Dolby Vision back up of Casino Royale playing on shield 2019, looks stunning, but the DTS/HD is slightly out of synch, we need a way of determining the correct delay before mixing and the command to correct it - can you add this information please?

Thank you.
I'm having the same issue, seems to be about 200ms.
I just posted in the DVDFab forums as well, as even when I create the single layer file from DVDFab using the disc audio its out of sync also.

I think this is a DVDFab issue from what I've seen, maybe someone else can chime in.

To test, create a DVDFab single layer file and play it without musing in any other audio, just leave the AC3/DTS DVDFab muxes in and see if it still out of sync.
I have played this file with DTS-HD via Plex on my LG C7 oled and it is in synch (as good as damn it anyway) it is noticeably out of synch via Plex beta on new shield, so that seems to be where the problem lies.
FYI during the fab remux process I converted the DTS-HD track to AC3, the AC3 track is in synch on both Shield and LG C7.

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

Re: Dolby Vision now possible through MP4 Mux.

#752 Post by Grencola » Thu Nov 07, 2019 2:40 pm

FusionNeo wrote:
Thu Nov 07, 2019 6:13 am
I do not have any delay when using DVDFab to rip to a single layer DV file. My first DV rip is Spider-Man: Far from Home, and it’s perfectly synced up. May want to check your settings, good on you to follow up with them in their support forum too.

As an update, I managed to fix my issue. I was using MP4Box 0.8.0 due to the new version not being available for download, and I had compiled the wrong branch by mistake (like I said, I’m still a noob to all of this.) So I am happy to report that with the latest version of MP4Box, I am getting Dolby Vision with LPCM 7.1 audio to playback on my NVIDIA Shield 2019. I have multiple audio tracks embedded as well, including the Atmos MP4 (for if/when a player is ever released for the Shield that can handle Atmos and playback Dolby Vision) and the AC3 track for maximum compatibility. For some reason, the AC3 audio track causes the entire stream to transcode though, but I would chalk this up to user error (I’m betting I’m ripping the audio incorrectly in FFMpeg) Either way, all that’s left for the purest rip possible is to get Atmos to playback in MP4 when paired with a Dolby Vision audio track, which is already proven to be possible since a HTPC can playback Atmos in MP4 without an issue. Fingers crossed this happens sooner rather than later.

Have you tried using the custom codec for MX Player, that Yusesope made, with your shield?

FusionNeo
Posts: 21
Joined: Sat Nov 02, 2019 1:15 pm

Re: Dolby Vision now possible through MP4 Mux.

#753 Post by FusionNeo » Thu Nov 07, 2019 3:49 pm

Grencola wrote:
Thu Nov 07, 2019 2:40 pm
FusionNeo wrote:
Thu Nov 07, 2019 6:13 am
I do not have any delay when using DVDFab to rip to a single layer DV file. My first DV rip is Spider-Man: Far from Home, and it’s perfectly synced up. May want to check your settings, good on you to follow up with them in their support forum too.

As an update, I managed to fix my issue. I was using MP4Box 0.8.0 due to the new version not being available for download, and I had compiled the wrong branch by mistake (like I said, I’m still a noob to all of this.) So I am happy to report that with the latest version of MP4Box, I am getting Dolby Vision with LPCM 7.1 audio to playback on my NVIDIA Shield 2019. I have multiple audio tracks embedded as well, including the Atmos MP4 (for if/when a player is ever released for the Shield that can handle Atmos and playback Dolby Vision) and the AC3 track for maximum compatibility. For some reason, the AC3 audio track causes the entire stream to transcode though, but I would chalk this up to user error (I’m betting I’m ripping the audio incorrectly in FFMpeg) Either way, all that’s left for the purest rip possible is to get Atmos to playback in MP4 when paired with a Dolby Vision audio track, which is already proven to be possible since a HTPC can playback Atmos in MP4 without an issue. Fingers crossed this happens sooner rather than later.

Have you tried using the custom codec for MX Player, that Yusesope made, with your shield?
Not yet, MX player can’t playback Dolby Vision and I was super invested in getting Dolby Vision playback to work properly on my Shield. Tonight I’ll give that a whirl.

kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

#754 Post by kws53 » Thu Nov 07, 2019 9:23 pm

I've ripped my ISO and extracted all the components via eac3to. I then created the "single layer" mp4 file using the Dolby MP4muxer command line tool.

Why could I not simply MUX this file with the Atmos TrueHD+AC3 audio component (and my Chapter and forced SRT file) into an MKV using MKVToolnix (for example). What is magical about the MP4 container EXCEPT when creating the single layer Dolby mux, for which there is no other alternative?

Or does the MKV container "UNDO" the work that the Dolby MP4Muxer did?

SamuriHL
Posts: 2324
Joined: Mon Jun 14, 2010 5:32 pm

Re: Dolby Vision now possible through MP4 Mux.

#755 Post by SamuriHL » Thu Nov 07, 2019 11:42 pm

kws53 wrote:
Thu Nov 07, 2019 9:23 pm
I've ripped my ISO and extracted all the components via eac3to. I then created the "single layer" mp4 file using the Dolby MP4muxer command line tool.

Why could I not simply MUX this file with the Atmos TrueHD+AC3 audio component (and my Chapter and forced SRT file) into an MKV using MKVToolnix (for example). What is magical about the MP4 container EXCEPT when creating the single layer Dolby mux, for which there is no other alternative?

Or does the MKV container "UNDO" the work that the Dolby MP4Muxer did?
https://www.makemkv.com/forum/viewtopic ... 749#p79749

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

Re: Dolby Vision now possible through MP4 Mux.

#756 Post by RESET_9999 » Fri Nov 08, 2019 1:59 am

So I've been playing with my new Shield for the last hours and I like it. DTS-X /DTS-HD / LPCM 7.1 with single layer DV seems to work well. (got a complete freeze with Angel Heart at 2min though).
Unlike the x700, fast-forwarding worked with the titles I tried. Subtitles in SRT format also worked. No audio delay at all on my end. Shield ---> Denon AVR ----> C8

I also compared the picture with the original disc played in my x700 and I noticed a huge difference.
Colors are a lot more saturated with the Shield/Single layer. not sure of which one is right. see: https://slow.pics/comparison/4c528172-8 ... 63794b4ad3

dual-layer mp4 x700 vs original disc x700 I cant see any difference in real life.. see : https://slow.pics/comparison/8aee24ef-5 ... 4d3db147f7

more tests needed.

Angryunibrow
Posts: 104
Joined: Wed Nov 06, 2019 11:26 pm

Re: Dolby Vision now possible through MP4 Mux.

#757 Post by Angryunibrow » Fri Nov 08, 2019 4:46 am

RESET_9999 wrote:
Fri Nov 08, 2019 1:59 am
So I've been playing with my new Shield for the last hours and I like it. DTS-X /DTS-HD / LPCM 7.1 with single layer DV seems to work well. (got a complete freeze with Angel Heart at 2min though).
Unlike the x700, fast-forwarding worked with the titles I tried. Subtitles in SRT format also worked. No audio delay at all on my end. Shield ---> Denon AVR ----> C8

I also compared the picture with the original disc played in my x700 and I noticed a huge difference.
Colors are a lot more saturated with the Shield/Single layer. not sure of which one is right. see: https://slow.pics/comparison/4c528172-8 ... 63794b4ad3

dual-layer mp4 x700 vs original disc x700 I cant see any difference in real life.. see : https://slow.pics/comparison/8aee24ef-5 ... 4d3db147f7

more tests needed.
Did you get the latest hotfix for the colorspace switching issue?
I'm not sure if this is why the colors look different, I just know they had an issue with the colorspace switching and they released a hotfix for it.

DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

#758 Post by DaMacFunkin » Fri Nov 08, 2019 6:54 am

Hi. I’ve created a couple of these and they play well (except dts-hd track is out of synch when playing on new shield via Plex, synch is fine via Plex on my LG C7) when I mux them I’ve been muxing in the idx vob sub track, as soon as I select subs either during playback or before playback these files freeze...

Is this just that Plex is terrible at handling subs?

Or is it because I mixed the subs into the file?

Should I just have subs as an external srt?

And what about chapters, is is safe to add these to the mp4 with an header editor?

Thanks for any help with these questions.

likeadoc
Posts: 3
Joined: Mon Aug 05, 2019 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

#759 Post by likeadoc » Fri Nov 08, 2019 1:37 pm

@ yusesope thanks you for mentioning me :D


Here is a little bit of background information on the various dv profiles etc.
https://www.dolby.com/us/en/technologie ... x-v1.2.pdf
and
https://www.dolby.com/us/en/technologie ... -paper.pdf
and
https://www.dolby.com/us/en/technologie ... rkflow.pdf
and
https://developer.dolby.com/globalasset ... sguide.pdf
and
tango306 post
https://www.makemkv.com/forum/viewtopic ... &start=435
and
https://www.avsforum.com/forum/465-high ... layer.html
and
https://www.avsforum.com/forum/150-blu- ... st52706065
and
https://www.mysterybox.us/blog/2016/10/ ... -explained

@RESET_9999
Since DVDFab is essentially reverse engineering DV and there is very sparse info about DVs secret sauce, chances are very high that something is not done the proper way in their implementation :/
IMHO the only way to get the "as intended" viewing experience atm is to use a dual layer mp4:/

Gibbe21
Posts: 2
Joined: Tue Nov 05, 2019 1:03 pm

Re: Dolby Vision now possible through MP4 Mux.

#760 Post by Gibbe21 » Fri Nov 08, 2019 2:07 pm

superfans124 wrote:
Tue Nov 05, 2019 7:47 pm
Gibbe21 wrote:
Tue Nov 05, 2019 2:23 pm

Hi y'all I've was up all night and did not get this to work properly perhaps am I doing something wrong

The step I'm having issues with is the command step I always get error massage the command does not exist internal external.

And I've tried granolas app which is super nice but get error massage the movie file does not have a Dolby vision video track

The movie I'm trying with is full uhd disc Avengers infinity war

Best regards

P.s does granola have a newer version available for download I'm having version 2.0
this isn't alchemy, you can't make Dolby Vision out of something that doesn't have Dolby Vision to begin with...
Thanks for the reply understood

But what if the movie I'm trying to download from private tracker have Dolby vision support according to Blu-ray.com but when I download the complete disc (untouched) it appears having only hdr10

And my next question

it may be wrong forum

But is there a great private tracker/ public tracker that have the most movies in DV

Best regards

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

Re: Dolby Vision now possible through MP4 Mux.

#761 Post by RESET_9999 » Fri Nov 08, 2019 3:08 pm

Angryunibrow wrote:
Fri Nov 08, 2019 4:46 am

Did you get the latest hotfix for the colorspace switching issue?
I'm not sure if this is why the colors look different, I just know they had an issue with the colorspace switching and they released a hotfix for it.
No, I never used the colorspace match option, too many issues and since I don't watch any SDR content with the Shield, I prefer leaving the display to DV & HDR10 ready BT2020 12bits 422 23.976
My Vertex hdfury reports bt2020 with those settings.

Image

DaMacFunkin
Posts: 311
Joined: Tue Oct 30, 2018 4:17 pm

Re: Dolby Vision now possible through MP4 Mux.

#762 Post by DaMacFunkin » Fri Nov 08, 2019 4:07 pm

Hi, does that show that the Shield can’t output 23.976 reliably? Also does that show 8 bit output,

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

Re: Dolby Vision now possible through MP4 Mux.

#763 Post by RESET_9999 » Fri Nov 08, 2019 5:21 pm

DaMacFunkin wrote:
Fri Nov 08, 2019 4:07 pm
Hi, does that show that the Shield can’t output 23.976 reliably? Also does that show 8-bit output,
DV is always sent in an RGB 8bit container with all my devices: x700 bluray player and the AppleTV .....so yes 8bit is normal.
https://www.avsforum.com/forum/39-netwo ... st57821152


The shield can do 23.976 properly, I don't know why hdfury reports 23.972 ... it reports 23.973 with my x700 and the appleTV (sometimes 23.974), they can both do 23.976 properly.

My HTPC with an Nvidia card cant do 23.976 properly without the custom resolution and hdfury reports 23.977 ... with custom resolution, hdfury reports 23.973.

so yes the shield is fine.

kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

#764 Post by kws53 » Fri Nov 08, 2019 8:33 pm

Perhaps off-topic, but why are we worried about MP4 transport, when the Transport Stream is readily available. And according to Dolby:

"A Dolby Vision stream consists of BL, EL, and RPU substreams or BL and RPU substreams. These substreams must be multiplexed into Dolby Vision VES before being fed into an MPEG-2 Transport Stream multiplexer."

Since the VES has already been multiplexed correctly for the purposes of authoring the UHD, why do we need to demux and remux into MP4? Or can we not remux the transport stream (using TSMuxer for example) into another transport stream (not touching the VES) with only the files we require (allowing for SRT addition to mitigate the need for PLEX to recode).

kws53
Posts: 49
Joined: Sun May 04, 2014 9:09 pm

Re: Dolby Vision now possible through MP4 Mux.

#765 Post by kws53 » Fri Nov 08, 2019 8:55 pm

I did some software experimentation...
Using MI Fallout (DV + Atmos), I looked at the following:
1) Demuxing with EAC3TO - although it listed the EL as track 3, when all was demuxed, the EL layer was left behind. I could manually demux this layer later.
2) Demuxing with TSMuxer:
a) Using the Stream to demux, both the BL and EL were checked off to be demuxed.
b) Using the Playlist to demux (same length), only the BL was checked off to be demuxed.
3) Demuxing with FFMpeg - using the method in this thread, the EL and BL HEVC files were identical to the h265 files created by EAC3TO.
4) The Dolby VES muxing operation described in this thread worked flawlessly on both the BL/EL HEVC and the EAC3TO h265 files.
5) The final MP4 muxing operation (GPAC 0.80) was unsuccessful Image despite having 1TB of space available on the U: drive.
Attachments
GPAC-Issue.png
GPAC-Issue.png (9.29 KiB) Viewed 25020 times

Post Reply