Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
Psnjerry
Posts: 6
Joined: Tue Sep 24, 2019 6:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Psnjerry »

I converted a dts hd to eac3. Is there away I can add it to a already completed mp4 file?
ThatOneGuyGreggers
Posts: 1
Joined: Fri Sep 06, 2019 1:39 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ThatOneGuyGreggers »

So likeadoc does this mean we should be able to do HD audio with Dolby Vision? Also does it keep Atmos Metadata?

Has anyone managed to put it all together yet? I would love to help but looking at the ffmeg stuff a lot of it is way over my head.
likeadoc wrote: Sun Aug 25, 2019 4:07 pm Hey yusesope
my ffmpeg bug (https://trac.ffmpeg.org/ticket/8051) regarding implementation of a truehd substream just got closed with this commit http://git.videolan.org/?p=ffmpeg.git;a ... 7f4973d619 - TRUE HD ist now a supported format in the mp4 container!
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

Psnjerry wrote: Tue Sep 24, 2019 9:51 pm I converted a dts hd to eac3. Is there away I can add it to a already completed mp4 file?
I think that something like this should work

Code: Select all

mp4box.exe -tmp C:\MP4\ -add C:\MP4\inputfile.mp4:rate=0 -add C:\MP4\audio.ac3#audio:lang=fr-FR -no-iod C:\MP4\outputfile.mp4
hydrad
Posts: 8
Joined: Wed Oct 02, 2019 8:41 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by hydrad »

I just tried to create a Venom mux and it won't even play on my LG TV even before adding audio, after mp4muxer.

I demuxed it with:

Code: Select all

ffmpeg.exe -i bluray:. -map 0:0 -c copy ./BL.hevc -map 0:1 -c copy ./EL.hevc
then:

Code: Select all

mp4muxer_release --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file output.mp4
The same process worked fine with another movie.

Any ideas what could be wrong?
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

mp4muxer_release --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file output.mp4

The command looks correct, if you have mp4muxer executable file in the same directory than BL.hevc en El.hevc files.
What is this "release" version of mp4muxer, personnaly compiled ?
Can you try with the executable file from here: https://github.com/DolbyLaboratories/dl ... master/bin
I m using mp4muxer_64bits.exe on windows 10 64 bits and it works perfectly. (i did almost 100 dv mp4 files with it :mrgreen: )
superfans124
Posts: 33
Joined: Fri Oct 04, 2019 3:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by superfans124 »

RESET_9999 wrote: Tue Aug 06, 2019 11:11 am
According to the instructions in the manual, it should not even recognize an mp4 with LPCM audio.
Well, the x700 supports the following audio format/combination(the one I tried):

works
MKV: AC3, AAC,DTS, DTS-HD, DTS-x
M2TS/TS: AC3, AAC, DTS, DTS-HD, DTS-X, TrueHD Atmos, e-ac3
MP4: AAC, AC3, LPCM

player says unsupported format:
MKV: EAC3, TrueHD Atmos(because mkv split the core from the truehd)

player says nothing(like if there is no audio at all):
MP4: DTS family

all cinavia free via USB.
Hi, have you been experiencing hard crash on x700 playing dual-layer DV mp4? That seems like the last hurdle I'm still struggling.

I'm going from usb>X700>denon.x4300h>LG.c6, most (if not all) DV mp4 will cause my x700 to crash hard at some point during playback: screen freeze completely, no remote buttons response, only solution is to unplug the power cable to hard reboot.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

daddy wrote: Fri Oct 04, 2019 3:04 pm (i did almost 100 dv mp4 files with it :mrgreen: )
Hi did you try ''Secret life of pets 2'' and ''Angel Hearts''? those 2 titles won't play no matter what I try. :(



superfans124 wrote: Fri Oct 04, 2019 3:33 pm
RESET_9999 wrote: Tue Aug 06, 2019 11:11 am
According to the instructions in the manual, it should not even recognize an mp4 with LPCM audio.
Well, the x700 supports the following audio format/combination(the one I tried):

works
MKV: AC3, AAC,DTS, DTS-HD, DTS-x
M2TS/TS: AC3, AAC, DTS, DTS-HD, DTS-X, TrueHD Atmos, e-ac3
MP4: AAC, AC3, LPCM

player says unsupported format:
MKV: EAC3, TrueHD Atmos(because mkv split the core from the truehd)

player says nothing(like if there is no audio at all):
MP4: DTS family

all cinavia free via USB.
Hi, have you been experiencing hard crash on x700 playing dual-layer DV mp4? That seems like the last hurdle I'm still struggling.

I'm going from usb>X700>denon.x4300h>LG.c6, most (if not all) DV mp4 will cause my x700 to crash hard at some point during playback: screen freeze completely, no remote buttons response, only solution is to unplug the power cable to hard reboot.
Hi,
from my experience, when I create DV mp4 remux from an MKV container. it also seems to freeze my player but not all the time.
Also, I noticed that sometimes when I pause a movie, it won't resume and I have to hard reboot the player.

When I demux directly from the untouched m2ts (UHD-BD ISO), I never had any issues (except for the 2 titles I noted earlier).
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
superfans124
Posts: 33
Joined: Fri Oct 04, 2019 3:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by superfans124 »

RESET_9999 wrote: Fri Oct 04, 2019 7:17 pm
daddy wrote: Fri Oct 04, 2019 3:04 pm (i did almost 100 dv mp4 files with it :mrgreen: )
Hi did you try ''Secret life of pets 2'' and ''Angel Hearts''? those 2 titles won't play no matter what I try. :(



superfans124 wrote: Fri Oct 04, 2019 3:33 pm
RESET_9999 wrote: Tue Aug 06, 2019 11:11 am

Well, the x700 supports the following audio format/combination(the one I tried):

works
MKV: AC3, AAC,DTS, DTS-HD, DTS-x
M2TS/TS: AC3, AAC, DTS, DTS-HD, DTS-X, TrueHD Atmos, e-ac3
MP4: AAC, AC3, LPCM

player says unsupported format:
MKV: EAC3, TrueHD Atmos(because mkv split the core from the truehd)

player says nothing(like if there is no audio at all):
MP4: DTS family

all cinavia free via USB.
Hi, have you been experiencing hard crash on x700 playing dual-layer DV mp4? That seems like the last hurdle I'm still struggling.

I'm going from usb>X700>denon.x4300h>LG.c6, most (if not all) DV mp4 will cause my x700 to crash hard at some point during playback: screen freeze completely, no remote buttons response, only solution is to unplug the power cable to hard reboot.
Hi,
from my experience, when I create DV mp4 remux from an MKV container. it also seems to freeze my player but not all the time.
Also, I noticed that sometimes when I pause a movie, it won't resume and I have to hard reboot the player.

When I demux directly from the untouched m2ts (UHD-BD ISO), I never had any issues (except for the 2 titles I noted earlier).
idk, I only demux from m2ts. started out using tsMuxer then moved on to ffmpeg. I did Angel Heart, demuxed from M2TS, created dual-layer DV with DTS-HDMA5.1 re-encoded as PCM5.1, result...

crashes within first 5 seconds, couldn't even get a peak at Studio Canal logo...
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

superfans124 wrote: Fri Oct 04, 2019 9:40 pm idk, I only demux from m2ts. started out using tsMuxer then moved on to ffmpeg. I did Angel Heart, demuxed from M2TS, created dual-layer DV with DTS-HDMA5.1 re-encoded as PCM5.1, result...

crashes within first 5 seconds, couldn't even get a peak at Studio Canal logo...
yeah, angel heart(crash) and life of pets 2(stutter) is a no go, I had to watch them in HDR10.
but I watched more than 40 DV LPCM movies with the X700 without issue. I have almost the same setup you have, I'm surprised that most of your DV remux freeze your player.
x700 ----> Denon AVR ----> C8

this is the cmd-line I used for all my remux:

Code: Select all

ffmpeg.exe -i D:\1.m2ts -map 0:0 -c copy D:\1.hevc -map 0:1 -c copy D:\2.hevc -map 0:2 -c:a pcm_s24be -ar 48000 -rf64 auto D:\lpcm.mov -map 0:6 -c copy -strict -2 D:\fr.mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file D:\1.hevc --input-file D:\2.hevc --output-file DVremux.mp4

Code: Select all

mp4box.exe -add D:\DVremux.mp4:rate=0 -add D:\lpcm.mov#audio:lang=en-EN -add D:\fr.mp4#audio:lang=fr-FR -add D:\fr.srt#subtitle:lang=fr-FR -tmp D:\ -brand mp42isom -ab dby1 -no-iod D:\DVremux-7.1.mp4
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy »

@RESET_9999
life of pets 2 : not done yet
angel heart : play normally, i did it from m2ts

i note that you are doing: x700 ----> Denon AVR ----> C8 (and the x700 force you to encode in pcm inside mp4)

Why don't you just do C8 ---ARC---> Denon AVR ?
powdeau
Posts: 57
Joined: Sat Jan 12, 2019 1:01 am

Re: Dolby Vision now possible through MP4 Mux.

Post by powdeau »

Hi, could you please help me how can I get truehd audio file from m2ts, then convert it to lpcm and attach it to mp4 file (created with DVDFab) with mp4box?
Thank you!
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

daddy wrote: Sat Oct 05, 2019 7:52 am @RESET_9999
life of pets 2 : not done yet
angel heart : play normally, i did it from m2ts

i note that you are doing: x700 ----> Denon AVR ----> C8 (and the x700 force you to encode in pcm inside mp4)

Why don't you just do C8 ---ARC---> Denon AVR?
Thanks for confirming that Angel Heart works on your end. I was scared to try it directly on my 3k$ TV since it freezes my player.

I don't use ARC because it can only do DD 5.1 640kbps while my x700 ---> AVR can do lossless 9.2mb/s lpcm 7.1.
the audio is as important as the video to me; I can sacrifice atmos/dts-x metadata but not the bitrate :)
I wish my TV could do eARC but I would also need a new AVR lol.
Last edited by RESET_9999 on Sat Oct 05, 2019 1:36 pm, edited 1 time in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

powdeau wrote: Sat Oct 05, 2019 1:13 pm Hi, could you please help me how can I get truehd audio file from m2ts, then convert it to lpcm and attach it to mp4 file (created with DVDFab) with mp4box?
Thank you!
audio:

Code: Select all

ffmpeg.exe -i X:\bluray.m2ts -map 0:2 -c:a pcm_s24be -ar 48000 -rf64 auto X:\lpcm.mov
adding audio to a DVDFAB mp4:

dual layer mp4

Code: Select all

mp4box.exe -add X:\dvdfab-dual-layer.mp4#1 -add X:\dvdfab-dual-layer.mp4#2 -add X:\lpcm.mov#audio:lang=en-EN -tmp X:\ -brand mp42isom -ab dby1 -no-iod X:\dolbyvision-remux.mp4
single layer mp4:

Code: Select all

mp4box.exe -add X:\dvdfab-single-layer.mp4#1 -add X:\lpcm.mov#audio:lang=en-EN -tmp X:\ -brand mp42isom -ab dby1 -no-iod X:\dolbyvision-remux.mp4
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
superfans124
Posts: 33
Joined: Fri Oct 04, 2019 3:26 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by superfans124 »

RESET_9999 wrote: Sat Oct 05, 2019 1:11 am
superfans124 wrote: Fri Oct 04, 2019 9:40 pm idk, I only demux from m2ts. started out using tsMuxer then moved on to ffmpeg. I did Angel Heart, demuxed from M2TS, created dual-layer DV with DTS-HDMA5.1 re-encoded as PCM5.1, result...

crashes within first 5 seconds, couldn't even get a peak at Studio Canal logo...
yeah, angel heart(crash) and life of pets 2(stutter) is a no go, I had to watch them in HDR10.
but I watched more than 40 DV LPCM movies with the X700 without issue. I have almost the same setup you have, I'm surprised that most of your DV remux freeze your player.
x700 ----> Denon AVR ----> C8

this is the cmd-line I used for all my remux:

Code: Select all

ffmpeg.exe -i D:\1.m2ts -map 0:0 -c copy D:\1.hevc -map 0:1 -c copy D:\2.hevc -map 0:2 -c:a pcm_s24be -ar 48000 -rf64 auto D:\lpcm.mov -map 0:6 -c copy -strict -2 D:\fr.mp4

Code: Select all

mp4muxer_64bits.exe --dv-profile 7 --input-file D:\1.hevc --input-file D:\2.hevc --output-file DVremux.mp4

Code: Select all

mp4box.exe -add D:\DVremux.mp4:rate=0 -add D:\lpcm.mov#audio:lang=en-EN -add D:\fr.mp4#audio:lang=fr-FR -add D:\fr.srt#subtitle:lang=fr-FR -tmp D:\ -brand mp42isom -ab dby1 -no-iod D:\DVremux-7.1.mp4
thanks, those are basically the same cmd lines I've been using, by following yusesope's instructions.

my "test results" are limited, since I'm only doing DV movies with DTS audio. I first learned the DV mp4 method few months ago, but once I discovered the method only allowed for ac3 audio, and I wasn't willing to sacrifice lossless audio (and atmos), I stopped paying attention. I'm back in the struggle this time learning a new method has been discovered to preserve DTS-HDMA as pcm, so I've only been testing on these type of DV movies.

p.s. the Angel Heart mp4 that crashes my x700 plays fine via USB directly on my C6, though not the lossless pcm since C6 is not equipped with e-arc, so I don't bother with USB>C6 (and also because the occasional green-screen) and only focusing on working around x700 by my personal preference stated above.

Out of the few DV+DTS movies I've tested with x700: angel heart - crashes within seconds; don't look now - crashes within a few seconds, at the studio canal logo; hannibal - very unstable, sometimes crashes around 1/3 mark, sometimes quit playing at half mark...; 2001 a space odyssey: success; shutter island: success. Like you said, all of them, if tried to skip forward, will trigger x700 hard crash regardless. I wonder if X700 will play nicer with other DV-profiles (other than this method's default 7) when tracks are first demuxed?
hydrad
Posts: 8
Joined: Wed Oct 02, 2019 8:41 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by hydrad »

daddy wrote: Fri Oct 04, 2019 3:04 pm mp4muxer_release --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file output.mp4

The command looks correct, if you have mp4muxer executable file in the same directory than BL.hevc en El.hevc files.
What is this "release" version of mp4muxer, personnaly compiled ?
Can you try with the executable file from here: https://github.com/DolbyLaboratories/dl ... master/bin
I m using mp4muxer_64bits.exe on windows 10 64 bits and it works perfectly. (i did almost 100 dv mp4 files with it :mrgreen: )
Sorry for the delay, I didn't get reply notifications :(

My mp4muxer is not on the same folder. However, I'm not using the complete path, so in reality my command is like

/home/mp4muxer/mp4muxer_release --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file output.mp4

I compiled it personally from the repository, but I'm going to try with the release you pasted.
Post Reply