Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
xxyz1
Posts: 7
Joined: Mon Sep 05, 2022 1:21 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by xxyz1 »

sw5163 wrote: Wed Sep 07, 2022 9:46 pm
or if you want proper P8.1

Code: Select all

mp4box -add dv.hevc:dv-profile=8.1 -add audio.ec3:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new p81.hvc1.mp4
With this script, the TV does not play Dolby Vision, only HDR.
Mediainfo shows three times "HDR10".

Image

Btw what does "proper" mean?
DonaldFaQ
Posts: 7
Joined: Mon Oct 21, 2019 9:40 am

Re: Dolby Vision now possible through MP4 Mux.

Post by DonaldFaQ »

MP4 is a horrible Container. I recommend for fun with DV files a Shield Pro 2019 Media Player (or a Zidoo Z9X).
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

xxyz1 wrote: Thu Sep 08, 2022 6:19 am
sw5163 wrote: Wed Sep 07, 2022 9:46 pm or if you want proper P8.1

Code: Select all

mp4box -add dv.hevc:dv-profile=8.1 -add audio.ec3:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new p81.hvc1.mp4
With this script, the TV does not play Dolby Vision, only HDR.
Mediainfo shows three times "HDR10".
Edit:
Sorry my bad, I should do more research.
Double Edit:
Im a dummy, should have let more knowledgeable people to answer this.
Please try

Code: Select all

mp4muxer -i dv.hevc -o dv.mp4
mp4box -add dv.mp4 -add audio.eac3:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new test.mp4
or see the discussion below. Many thanks @RESET_9999
xxyz1 wrote: Thu Sep 08, 2022 6:19 am Btw what does "proper" mean?
mp4box mux to Profile 5 dvh1 by default if you don't specify the "dv.hevc:dv-profile=8.1".
But it's not a big problem since most devices still recognize the file and play properly.
Im too lazy to type all those commands, as long as the file plays.
Last edited by sw5163 on Thu Sep 08, 2022 11:01 pm, edited 8 times in total.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

sw5163 wrote: Thu Sep 08, 2022 3:02 pm Please make sure you are using the latest mp4box, and your dv.hevc is DV track.
latest mp4box doesnt work with LG TVs
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote: Thu Sep 08, 2022 3:08 pm latest mp4box doesnt work with LG TVs
What? But the media info he provides is also not DV, so I don't know which part went wrong.
DonaldFaQ wrote: Thu Sep 08, 2022 11:29 am MP4 is a horrible Container. I recommend for fun with DV files a Shield Pro 2019 Media Player (or a Zidoo Z9X).
DV in mp4 can be recognized by most devices, DV in other formats may have compatibility issues.
Last edited by sw5163 on Thu Sep 08, 2022 3:15 pm, edited 1 time in total.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

sw5163 wrote: Thu Sep 08, 2022 3:13 pm
RESET_9999 wrote: Thu Sep 08, 2022 3:08 pm latest mp4box doesnt work with LG TVs
What? But the media info he provides is also not DV, so I don't know which part went wrong.
For LG TVs (at least this is the case with my C8), we have to use the old mp4muxer/mp4box combo(the ones in my tool pack) otherwise DV is not triggered.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

RESET_9999 wrote: Thu Sep 08, 2022 3:14 pm For LG TVs (at least this is the case with my C8), we have to use the old mp4muxer/mp4box combo(the ones in my tool pack) otherwise DV is not triggered.
Sorry, my bad. Will

Code: Select all

mp4muxer(v1.0) -i dv.hevc -i atmos.ec3 -o dv_audio.mp4
mp4box(v1.1) -add dv_audio.mp4#video -add dv_audio.mp4#audio:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new test.mp4
be the right command?
Last edited by sw5163 on Thu Sep 08, 2022 11:02 pm, edited 3 times in total.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

sw5163 wrote: Thu Sep 08, 2022 3:28 pm mp4muxer(v1.1) -i dv.hevc -i atmos.ec3 -o dv_audio.mp4
mp4box(v1.1) -add dv_audio.mp4#video -add dv_audio.mp4#audio:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new test.mp4
be the right command?
Yep, I didn't try yet but that looks right.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

Another interesting thing regarding the "complexity index",
on Windows Movies & TV:
`ffmpeg -i atmos(7.1).eac3 -c copy` (breaks complexity index) shows 6 channel:
Image
`mp4box -add atmos(7.1).ec3` (breaks complexity index) shows 2 channel:
Image
`mp4muxer -i atmos(7.1).ec3` (fix/restore complexity index) shows 8 channel:
Image
The atmos(7.1).ec3 is from 00003.m2ts Dolby demo
And although I believe I do it right, the atmos(7.1).ec3 is unplayable on Apple. (normal atmos(5.1).ec3 will be fine)
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

interesting.
I'll try that file on my TV because no matter the 7.1 EC3 track i encode in DEE, it doesnt work even though my TV edid list that it support DD+ 7.1.

7.1 DD+ track with an ac3 core = I think my TV only plays the core because my avr reports PCM and Dolby Surround which means(i think) my AVR is upmixing 5.1 to 7.1
7.1 DD+ without core = AVR reports DD+ 7.1 but the audio is messed up.

on the x800m2:
7.1 DD+ track with an ac3 core = avr and x800m2 reports DD+ 7.1 and plays fine.
7.1 DD+ without core = AVR reports DD+ 7.1 but the audio is messed up.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

sw5163 wrote: Thu Sep 08, 2022 3:28 pm
RESET_9999 wrote: Thu Sep 08, 2022 3:14 pm For LG TVs (at least this is the case with my C8), we have to use the old mp4muxer/mp4box combo(the ones in my tool pack) otherwise DV is not triggered.
Sorry, my bad. Will

Code: Select all

mp4muxer(v1.1) -i dv.hevc -i atmos.ec3 --dv-profile 8 --dv-bl-compatible-id 1 -o dv_audio.mp4
mp4box(v1.1) -add dv_audio.mp4#video -add dv_audio.mp4#audio:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new test.mp4
be the right command?
the first post don't work anymore on my C9. what are the steps to this way? can you explain? why switched from profile 7 to profile 8?

where do i find mp4muxer 1.1 and mp4box 1.1? is the first post up-to-date?
Last edited by kazuma on Thu Sep 08, 2022 9:58 pm, edited 1 time in total.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote: Thu Sep 08, 2022 9:53 pm the first post don't work anymore on my C9. what are the steps to this way? can you explain? why switched from profile 7 to profile 8?

where do i find mp4muxer 1.1 and mp4box 1.1?
on the C9, forget about the mp4 container. Tsmuxer is your new bestfriend.
https://github.com/justdan96/tsMuxer/releases
sw5163 wrote: Thu Sep 08, 2022 3:28 pm mp4muxer(v1.1) -i dv.hevc -i atmos.ec3 --dv-profile 8 --dv-bl-compatible-id 1 -o dv_audio.mp4
mp4box(v1.1) -add dv_audio.mp4#video -add dv_audio.mp4#audio:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new test.mp4
[/code]
be the right command?
I see that you edited your post. --dv-bl-compatible-id does not work with the old mp4muxer. It was implemented later.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote: Thu Sep 08, 2022 9:57 pm
kazuma wrote: Thu Sep 08, 2022 9:53 pm the first post don't work anymore on my C9. what are the steps to this way? can you explain? why switched from profile 7 to profile 8?

where do i find mp4muxer 1.1 and mp4box 1.1?
on the C9, forget about the mp4 container. Tsmuxer is your new bestfriend.
https://github.com/justdan96/tsMuxer/releases
sw5163 wrote: Thu Sep 08, 2022 3:28 pm mp4muxer(v1.1) -i dv.hevc -i atmos.ec3 --dv-profile 8 --dv-bl-compatible-id 1 -o dv_audio.mp4
mp4box(v1.1) -add dv_audio.mp4#video -add dv_audio.mp4#audio:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new test.mp4
[/code]
be the right command?
I see that you edited your post. --dv-bl-compatible-id does not work with the old mp4muxer. It was implemented later.
i have tsmuxer. what are the steps from now? do you have a post earlier? i'm searching in this topic but it's not easy. what are you meaning with leaving mp4? what works now?
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote: Thu Sep 08, 2022 10:08 pm i have tsmuxer. what are the steps from now? do you have a post earlier? i'm searching in this topic but it's not easy. what are you meaning with leaving mp4? what works now?
mux your profile 8 and profile 5 files to TS or M2TS.
extract the original SRT subtitles and place them in the same folder with the same filename:
A.Movie.2022.DV.ts
A.Movie.2022.DV.ENG.srt
A.Movie.2022.DV.ENG.FORCED.srt

Then play in PLEX. Make sure you don't have any PGS or TrueHD audio selected before playing the file otherwise you'll get HDR10.
The C9 still has a DTS decoder I think. so you'll only have to convert TrueHD to DDP (or use the ac3 core, you can extract it with tsmuxer)

also check out the script in my signature. There are automated workflows for profile 7 MKV and BD input.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote: Thu Sep 08, 2022 10:17 pm
kazuma wrote: Thu Sep 08, 2022 10:08 pm i have tsmuxer. what are the steps from now? do you have a post earlier? i'm searching in this topic but it's not easy. what are you meaning with leaving mp4? what works now?
mux your profile 8 and profile 5 files to TS or M2TS.
extract the original SRT subtitles and place them in the same folder with the same filename:
A.Movie.2022.DV.ts
A.Movie.2022.DV.ENG.srt
A.Movie.2022.DV.ENG.FORCED.srt

Then play in PLEX. Make sure you don't have any PGS or TrueHD audio selected before playing the file otherwise you'll get HDR10.
The C9 still has a DTS decoder I think. so you'll only have to convert TrueHD to DDP (or use the ac3 core, you can extract it with tsmuxer)

also check out the script in my signature. There are automated workflows for profile 7 MKV and BD input.
thanks, but unfortunately this is to complex for me. i don't use plex. i stick my usb hdd in my tv and play. can you explain the steps how to make a mp4 file with command? that was back in the days the easiest way for me. but it seems to be i'm forgot how to do it. the startpost doesn't seems to work anymore.

or is there a easier way beside your post to play with my usb hdd?
Post Reply