Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
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: 2105
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.
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: 2105
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.
kazuma
Posts: 163
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: 2105
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.
kazuma
Posts: 163
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: 2105
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.
kazuma
Posts: 163
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?
RESET_9999
Posts: 2105
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Everything I just said also works for USB playback.
You can play ST profile 7 files this way too but some movies will stutter or give you a black screen.

mp4 container method is more complicated. Tsmuxer is the easiest method
kazuma
Posts: 163
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
Thanks for your reply. I'm a little shaming to ask this, but how i'm muxing profile 8 and 5?

I never did this. I think i need a little help. I've downloaded the latest tsmuxer nighty of your link.
RESET_9999
Posts: 2105
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:40 pm
Thanks for your reply. I'm a little shaming to ask this, but how i'm muxing profile 8 and 5?
I never did this. I think i need a little help. I've downloaded the latest tsmuxer nighty of your link.
Well, what is your input? profile 7 mkv rip from makemkv?
if yes, then all you have to do is to remux it with tsmuxer. Select the video, AC3, EAC3 or DTS/DTSHD, uncheck the subtitles and mux. As I said , some files will give you a black screen or stutter but most should work.
If you want subtitles, then extract the SRT subs with mkvextrack and rename them as I said previously.
https://www.videohelp.com/software/Inviska-MKV-Extract

now for the files that won't play or stutter, you can use the script in my signature. It's very easy, just extract the script on your pc, and click on the bat file. select 4-2-3 and drag and drop your P7 mkv.
this will get you a profile 8 + EAC3 file that will ALWAYS work on your TV.


Image
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 9:57 pm
I see that you edited your post. --dv-bl-compatible-id does not work with the old mp4muxer. It was implemented later.
Sorry, I thought it wasn't right for mp4muxer v.1.0.1, now I see from your script it's mp4muxer 1.0 you guys used.
Sorry for been stupid, I have never used version below 1.0.1, and I have edited the command line again :?
sw5163 wrote:
Thu Sep 08, 2022 3:02 pm

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
Feel so bad for wasting you guys time :(
RESET_9999
Posts: 2105
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 11:00 pm
Feel so bad for wasting you guys time :(
no problem at all and you didn't waste our time :)
your posts have actually been very useful.
kazuma
Posts: 163
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:55 pm
kazuma wrote:
Thu Sep 08, 2022 10:40 pm
Thanks for your reply. I'm a little shaming to ask this, but how i'm muxing profile 8 and 5?
I never did this. I think i need a little help. I've downloaded the latest tsmuxer nighty of your link.
Well, what is your input? profile 7 mkv rip from makemkv?
if yes, then all you have to do is to remux it with tsmuxer. Select the video, AC3, EAC3 or DTS/DTSHD, uncheck the subtitles and mux. As I said , some files will give you a black screen or stutter but most should work.
If you want subtitles, then extract the SRT subs with mkvextrack and rename them as I said previously.
https://www.videohelp.com/software/Inviska-MKV-Extract

now for the files that won't play or stutter, you can use the script in my signature. It's very easy, just extract the script on your pc, and click on the bat file. select 4-2-3 and drag and drop your P7 mkv.
this will get you a profile 8 + EAC3 file that will ALWAYS work on your TV.


Image
I'm gonna try tonight. But there is no tsmuxer.exe with the latest version. How do you start tsmuxer gui? how do i make profile 7 rip with makemkv?

update: the dovi_script cannot find a dolby vision layer in the mkv. but it is there. what i'm doing wrong?
Post Reply