Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Fri Aug 02, 2019 4:17 pm

Hi yuseope
I tryed to make a DV+TrueHD version of "Ready player One" with your method.
All works like a charm until i m trying to add the audio to the dv.mp4 file.

Code: Select all

C:\ESD\GPAC>mp4box.exe -add C:\ESD\mp4muxer_out.mp4:rate=0 -add C:\ESD\lpcm.mov:disable -brand mp42isom -ab dby1 -no-iod C:\ESD\mp4box_out.mp4
[iso file] Unknown box type hvcC in parent dvhe
[iso file] dvcC reserved bytes are not zero
IsoMedia import mp4muxer_out.mp4 - track ID 1 - Video (size 3840 x 2160)
Error writing data (No space left on device): 1 blocks to write but 0 blocks written
IsoMedia import lpcm.mov - track ID 1 - Audio (SR 48000 - 8 channels)
Error writing data (No space left on device): 1 blocks to write but 0 blocks written
Saving to C:\ESD\mp4box_out.mp4: 0.500 secs Interleaving
Error: I/O Error

        Error: I/O Error

Any idea ?

yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Fri Aug 02, 2019 4:31 pm

daddy wrote:
Fri Aug 02, 2019 4:17 pm
Any idea ?
Read the output carefully!

Here's a hint :wink:

Code: Select all

Error writing data (No space left on device)
At this point, delete EL.hevc and BL.hevc and recover some space

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

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola » Fri Aug 02, 2019 11:12 pm

yusesope wrote:
Fri Aug 02, 2019 4:31 pm
daddy wrote:
Fri Aug 02, 2019 4:17 pm
Any idea ?
Read the output carefully!

Here's a hint :wink:

Code: Select all

Error writing data (No space left on device)
At this point, delete EL.hevc and BL.hevc and recover some space
Wow you let him off easy! :lol: :lol:

daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Sat Aug 03, 2019 6:47 am

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.

daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Sat Aug 03, 2019 7:37 am

Ok
I found the culprit
It s my temporary file drive that is too small

from: https://gpac.wp.imt.fr/mp4box/mp4box-documentation/
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.
I resolved the problem by moving the temporary files to the same folder i use to make the DV movies.

daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Sat Aug 03, 2019 9:39 am

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
Image

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.

Post by yusesope » Sat Aug 03, 2019 8:28 pm

daddy wrote:
Sat Aug 03, 2019 9:39 am
I think we lose the dialogue normalisation info in the trueHD --> pcm transformation.
Correct but I don't think it has much to do with your problem:
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.

Post by daddy » 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

yusesope
Posts: 221
Joined: Sun Jul 28, 2019 3:34 am

Re: Dolby Vision now possible through MP4 Mux.

Post by yusesope » Sun Aug 04, 2019 8:12 am

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 "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.
Image
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?
Image

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

daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » 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.

ragico
Posts: 258
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico » Sun Aug 04, 2019 4:22 pm

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.
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

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

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola » Sun Aug 04, 2019 4:26 pm

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.
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/
ragico 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
I'm still working on a one-step program but I have little to no time right now :|

daddy
Posts: 77
Joined: Sat Jul 06, 2019 8:17 am

Re: Dolby Vision now possible through MP4 Mux.

Post by daddy » Sun Aug 04, 2019 5:25 pm

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
apple tv 4k can read dvhe.07 ?

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

Re: Dolby Vision now possible through MP4 Mux.

Post by Grencola » Sun Aug 04, 2019 6:10 pm

daddy wrote:
Sun Aug 04, 2019 5:25 pm
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
apple tv 4k can read dvhe.07 ?
oh no, I thought you were making single layer mp4s, my bad..

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

Re: Dolby Vision now possible through MP4 Mux.

Post by likeadoc » 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 :)

Post Reply