Dolby Vision now possible through MP4 Mux.
-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
I already checked the empty space on the drive.
DV.mp4 is 70 Go
lpcm.mov is 10 Go
This should produce a file of 80 Go and i have 160 Go free on the SSD drive.
DV.mp4 is 70 Go
lpcm.mov is 10 Go
This should produce a file of 80 Go and i have 160 Go free on the SSD drive.
-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
Ok
I found the culprit
It s my temporary file drive that is too small
from: https://gpac.wp.imt.fr/mp4box/mp4box-documentation/
I found the culprit
It s my temporary file drive that is too small
from: https://gpac.wp.imt.fr/mp4box/mp4box-documentation/
I resolved the problem by moving the temporary files to the same folder i use to make the DV movies.MP4Box usually generates a temporary file when creating a new IsoMedia file. The location of this temporary file is OS-dependent, and it may happen that the drive/partition the temporary file is created on has not enough space or no write access. In such a case, you can specify a temporary file location with the -tmp path_to_dir option.
-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
I made 2 "dual layer + trueHD pcm" movies (Ready Player One and Fantastic beast 2) and the method works perfectly.
There is still a problem.
The audio level is very very low when you play the movie on the tv.
if you look at the iso tracks with BDinfo, you see that there is a DN -27 dB info on the Dolby atmos tracks

I think we lose the dialogue normalisation info in the trueHD --> pcm transformation.
There is still a problem.
The audio level is very very low when you play the movie on the tv.
if you look at the iso tracks with BDinfo, you see that there is a DN -27 dB info on the Dolby atmos tracks

I think we lose the dialogue normalisation info in the trueHD --> pcm transformation.
-
yusesope
- Posts: 221
- Joined: Sun Jul 28, 2019 3:34 am
Re: Dolby Vision now possible through MP4 Mux.
Correct but I don't think it has much to do with your problem:daddy wrote: Sat Aug 03, 2019 9:39 am I think we lose the dialogue normalisation info in the trueHD --> pcm transformation.
DN acts like an automatic volume control but only through attenuation (lowering)
A -27db value is telling the decoder that the average dialog is 4db higher than the -31db reference value (the reference level at which no volume adjustment is applied by the decoder) and as a result the dialnorm will reduce the levels across the board by 4 db.
As example, DTS does not use dialnorm at all.
Most Dolby tracks use a dialnorm value of -27db, so DTS tracks will usually be 4db louder.
Give us more information about your setup (Tv model, player model, pre-amp, amp, avr...)
-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
My setup for DV:
screen: LG 55C7
player: internal, reading files from a DS416 nas by upnp
amp: Yamaha Rx-V681
speakers: 5.1 Focal Dome Flax
screen: LG 55C7
player: internal, reading files from a DS416 nas by upnp
amp: Yamaha Rx-V681
speakers: 5.1 Focal Dome Flax
-
yusesope
- Posts: 221
- Joined: Sun Jul 28, 2019 3:34 am
Re: Dolby Vision now possible through MP4 Mux.
The "problem" is your TV: it is a device equipped with HDMI-ARC and for this reason it can only generate a compressed 5.1-channel stream with a bitrate of 1Mbps.daddy wrote: Sun Aug 04, 2019 6:02 am My setup for DV:
screen: LG 55C7
player: internal, reading files from a DS416 nas by upnp
amp: Yamaha Rx-V681
speakers: 5.1 Focal Dome Flax

The input track is noticeably different: 7.1-channel uncompressed flow with a wider biterate even up to 10 times compared to that generated by your television.
How many active channels are shown on the display of your Yamaha?

According to the instruction manual, you should also be able to view the bitrate of the audio track.

-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
ok, i understood
ARC is limiting me to only non HD sounds
i will focus only to make DV with dts-hd (dts core in my case) or e-ac3/ac3 audio.
Your method works very well.
i already remade 2 dts-hd movies in 3 hours.
ARC is limiting me to only non HD sounds
i will focus only to make DV with dts-hd (dts core in my case) or e-ac3/ac3 audio.
Your method works very well.
i already remade 2 dts-hd movies in 3 hours.
-
ragico
- Posts: 266
- Joined: Fri Feb 15, 2019 1:09 am
Re: Dolby Vision now possible through MP4 Mux.
I did try but it is too far complicated fo me. Hope someone will do a program for it.daddy wrote: Sun Aug 04, 2019 2:41 pm ok, i understood
ARC is limiting me to only non HD sounds
i will focus only to make DV with dts-hd (dts core in my case) or e-ac3/ac3 audio.
Your method works very well.
i already remade 2 dts-hd movies in 3 hours.
Anyway congrats to you and to the author @yusesope
-
Grencola
- Posts: 343
- Joined: Sun Jan 27, 2019 5:19 pm
Re: Dolby Vision now possible through MP4 Mux.
if you get yourself an apple tv 4k running the latest mrmc beta, it will play those 2 movies in DV with full 7.1 lossless audio. still need to test Amazon's fire tv stick 4k (much cheaper) as the emby beta app supposedly does the same thing. I'm just swapping TV's right now as I purchased a 75" Vizio Quantum X yesterday, so I'll test soon. if anyone owns that stick though here's a link to the emby beta: https://emby.media/community/index.php? ... a-testing/daddy wrote: ok, i understood
ARC is limiting me to only non HD sounds
i will focus only to make DV with dts-hd (dts core in my case) or e-ac3/ac3 audio.
Your method works very well.
i already remade 2 dts-hd movies in 3 hours.
I'm still working on a one-step program but I have little to no time right nowragico wrote: Sun Aug 04, 2019 4:22 pm I did try but it is too far complicated fo me. Hope someone will do a program for it.
Anyway congrats to you and to the author @yusesope
-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
apple tv 4k can read dvhe.07 ?Grencola wrote: Sun Aug 04, 2019 4:26 pm if you get yourself an apple tv 4k running the latest mrmc beta, it will play those 2 movies in DV with full 7.1 lossless audio
-
Grencola
- Posts: 343
- Joined: Sun Jan 27, 2019 5:19 pm
-
likeadoc
- Posts: 3
- Joined: Mon Aug 05, 2019 1:39 pm
Re: Dolby Vision now possible through MP4 Mux.
Hey guys,
I found an interesting paper on including TrueHD (MLP) bitstreams into ISO base media file format(mp4) - https://developer.dolby.com/globalasset ... format.pdf - I already contacted Dolby regarding a sample implementation
I found an interesting paper on including TrueHD (MLP) bitstreams into ISO base media file format(mp4) - https://developer.dolby.com/globalasset ... format.pdf - I already contacted Dolby regarding a sample implementation
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Hi, Thank you for the new method to add lossless audio.
I'm using a Sony x700 with an OLED TV and so far, only the file with 7.1 lpcm works. When I make a DV mp4 with DTS-X, DTS-HD or even DTS, it plays in DV without sound. It doesn't even say '' audio not supported'', just like there isn't any audio in the file.
btw, I watched two complete movies in Dual layer with lossless 7.1 lpcm without any issue. this is really awesome.

I'm using a Sony x700 with an OLED TV and so far, only the file with 7.1 lpcm works. When I make a DV mp4 with DTS-X, DTS-HD or even DTS, it plays in DV without sound. It doesn't even say '' audio not supported'', just like there isn't any audio in the file.
btw, I watched two complete movies in Dual layer with lossless 7.1 lpcm without any issue. this is really awesome.

-
yusesope
- Posts: 221
- Joined: Sun Jul 28, 2019 3:34 am
Re: Dolby Vision now possible through MP4 Mux.
Interesting. I had already tried it but I can't find a valid Meridian audio encoder.likeadoc wrote: Mon Aug 05, 2019 1:43 pm Hey guys,
I found an interesting paper on including TrueHD (MLP) bitstreams into ISO base media file format(mp4) - https://developer.dolby.com/globalasset ... format.pdf - I already contacted Dolby regarding a sample implementation![]()
You're welcome.
According to the instructions in the manual, it should not even recognize an mp4 with LPCM audio.RESET_9999 wrote: Mon Aug 05, 2019 7:17 pm I'm using a Sony x700 with an OLED TV and so far, only the file with 7.1 lpcm works. When I make a DV mp4 with DTS-X, DTS-HD or even DTS, it plays in DV without sound. It doesn't even say '' audio not supported'', just like there isn't any audio in the file.

-
daddy
- Posts: 77
- Joined: Sat Jul 06, 2019 8:17 am
Re: Dolby Vision now possible through MP4 Mux.
Hi guys
Here's an example of how to remux a dv movie composed with multiple m2ts file with the yusesope method.
Usefull programs to install in windows:
- BDInfo => https://www.videohelp.com/software/BDInfo
- MPCBE => https://www.videohelp.com/software/MPC-BE
The programs you need to make mp4 DV:
- ffmpeg => https://ffmpeg.zeranoe.com/builds/
- mp4muxer => (use the first version) https://mega.nz/file/Jawn3ADa#vN1ai3llv ... ktTQ4uFYkk
- mp4box => https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/
The make those CLI tools easy to use, it s better to install ffmpeg, mp4muxer and mp4box in the same folder.
exemple: How to create the DV mp4 file with audio in French for Alita Battle Angel.
1/ launch BDinfo to see what files compose the movie

2/ with MPCBE watch the differents M2TS of the differents playlist (800,801,802,803)
If you look 800,801,802,803.MPLS ... you can see that the playlist is composed of 4 files, with differents first file and last file.
On 803.mpls, the first 00006.M2TS have the introducing text in french. So, 803.MPLS is the playlist for the movie in french.
Now if you look at the "AUDio" list, you can note that the french DTS track is numbered 1104.

3/ now we need to find the corresponding "map" number for the audio track we want to demux

French = 1104 => in ffprobe this give a map number 0:7
4/ To assemble the full movie we need to create a "m2ts_list.txt" file, and list inside the differents .m2ts files
5/ now here's the magical command to demux the list of the m2ts as BL and EL hevc files and audio.mp4 (containing the french dts track)
6/ assemble the DV .mp4 file
7/ add the audio to the DV .mp4 file
8/ Et voila !
Here's an example of how to remux a dv movie composed with multiple m2ts file with the yusesope method.
Usefull programs to install in windows:
- BDInfo => https://www.videohelp.com/software/BDInfo
- MPCBE => https://www.videohelp.com/software/MPC-BE
The programs you need to make mp4 DV:
- ffmpeg => https://ffmpeg.zeranoe.com/builds/
- mp4muxer => (use the first version) https://mega.nz/file/Jawn3ADa#vN1ai3llv ... ktTQ4uFYkk
- mp4box => https://gpac.wp.imt.fr/downloads/gpac-nightly-builds/
The make those CLI tools easy to use, it s better to install ffmpeg, mp4muxer and mp4box in the same folder.
exemple: How to create the DV mp4 file with audio in French for Alita Battle Angel.
1/ launch BDinfo to see what files compose the movie

2/ with MPCBE watch the differents M2TS of the differents playlist (800,801,802,803)
If you look 800,801,802,803.MPLS ... you can see that the playlist is composed of 4 files, with differents first file and last file.
On 803.mpls, the first 00006.M2TS have the introducing text in french. So, 803.MPLS is the playlist for the movie in french.
Now if you look at the "AUDio" list, you can note that the french DTS track is numbered 1104.

3/ now we need to find the corresponding "map" number for the audio track we want to demux
Code: Select all
ffprobe -i F:\BDMV\STREAM\00006.m2ts
French = 1104 => in ffprobe this give a map number 0:7
4/ To assemble the full movie we need to create a "m2ts_list.txt" file, and list inside the differents .m2ts files
Code: Select all
file 'F:\BDMV\STREAM\00006.m2ts'
file 'F:\BDMV\STREAM\00688.m2ts'
file 'F:\BDMV\STREAM\00021.m2ts'
file 'F:\BDMV\STREAM\00689.m2ts'Code: Select all
ffmpeg -f concat -safe 0 -i m2ts_list.txt -map 0:0 -c copy BL.hevc -map 0:1 -c copy EL.hevc -map 0:7 -c copy audio.mp4Code: Select all
mp4muxer_64bits.exe --dv-profile 7 --input-file BL.hevc --input-file EL.hevc --output-file mp4_dv.mp4Code: Select all
mp4box.exe -add mp4_dv.mp4:rate=0 -add audio.mp4#audio:lang=fr-FR -no-iod mp4_dv_movie.mp4Code: Select all
Général
Nom complet : C:\ESD\mp4_dv_movie.mp4
Format : MPEG-4
Profil du format : Base Media
Identifiant du codec : isom (isom)
Taille du fichier : 37,8 Gio
Durée : 2 h 1 min
Débit global moyen : 44,3 Mb/s
Date d'encodage : UTC 2019-08-06 08:24:02
Date de marquage : UTC 2019-08-06 08:24:02
Vidéo #1
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR_Format/String : SMPTE ST 2094 App 4, Version 1, HDR10+ Profile A compatible
Identifiant du codec : hev1
Identifiant du codec/Info : High Efficiency Video Coding
Durée : 2 h 1 min
Débit : 41,4 Mb/s
Largeur : 3 840 pixels
Hauteur : 2 160 pixels
Format à l'écran : 16/9
Type d'images/s : Constant
Images par seconde : 23,976 (24000/1001) Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0 (Type 2)
Profondeur des couleurs : 10 bits
Bits/(Pixel*Image) : 0.208
Taille du flux : 35,3 Gio (93%)
Default : Non
Date d'encodage : UTC 2019-08-06 07:57:34
Date de marquage : UTC 2019-08-06 08:28:16
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : Display P3
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
MaxCLL : 326 cd/m2
MaxFALL : 63 cd/m2
Codec configuration box : hvcC
Vidéo #2
ID : 2
Format : HEVC
Format/Info : High Efficiency Video Coding
Profil du format : Main 10@L5.1@High
HDR_Format/String : Dolby Vision, Version 1.0, dvhe.07.06, EL+RPU / SMPTE ST 2086, HDR10 compatible
Identifiant du codec : dvhe
Identifiant du codec/Info : High Efficiency Video Coding with Dolby Vision
Durée : 2 h 1 min
Débit : 2 134 kb/s
Largeur : 1 920 pixels
Hauteur : 1 080 pixels
Format à l'écran : 16/9
Type d'images/s : Constant
Images par seconde : 23,976 (24000/1001) Im/s
Espace de couleurs : YUV
Sous-échantillonnage de la chrominance : 4:2:0 (Type 2)
Profondeur des couleurs : 10 bits
Bits/(Pixel*Image) : 0.043
Taille du flux : 1,82 Gio (5%)
Default : Non
Date d'encodage : UTC 2019-08-06 07:57:34
Date de marquage : UTC 2019-08-06 08:28:16
Gamme de couleurs : Limited
Coordonnées de chromaticité : BT.2020
Caractéristiques du transfert : PQ
Coefficients de la matrice : BT.2020 non-constant
MasteringDisplay_ColorPrimaries : Display P3
MasteringDisplay_Luminance : min: 0.0001 cd/m2, max: 1000 cd/m2
Codec configuration box : hvcC+dvcC
Audio
ID : 3
Format : DTS
Format/Info : Digital Theater Systems
Identifiant du codec : mp4a-A9
Durée : 2 h 1 min
Durée de la source duration : 2 h 1 min
Type de débit : Constant
Débit : 768 kb/s
Débit maximum : 778 kb/s
Canaux : 6 canaux
ChannelLayout : C L R Ls Rs LFE
Echantillonnage : 48,0 kHz
Images par seconde : 93,750 Im/s (512 SPF)
Profondeur des couleurs : 24 bits
Mode de compression : Avec perte
Taille du flux : 670 Mio (2%)
Taille du flux source : 670 Mio (2%)
Langue : Français
Default : Oui
AlternateGroup/String : 1
Date de marquage : UTC 2019-08-06 08:28:16
Last edited by daddy on Sun Jan 03, 2021 9:16 am, edited 4 times in total.