Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
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: Tue Sep 06, 2022 6:18 pm right, I only use FFmpeg for THD and DTS to mp4 then mp4box.
for ec3 its mp4muxer + mp4box
Yes I have tried mp4muxer + mp4box,
even directly extract from atmos.mp4 will break the "Complexity index".

For example in atmos.mp4 produced by mp4muxer:
Complexity index : 16

mp4box -add atmos.mp4 -new parse_by_mp4box.mp4
Complexity index : Not present / 16

I was wondering what other devices (TV's internal player, Bluray player) react to "Complexity index : Not present / 16".
If it's just ATV can't play it as atmos, then Apple is ridiculous.
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: Tue Sep 06, 2022 6:48 pm mp4box -add atmos.mp4 -new parse_by_mp4box.mp4
Complexity index : Not present / 16

I was wondering what other devices (TV's internal player, Bluray player) react to "Complexity index : Not present / 16".
If it's just ATV can't play it as atmos, then Apple is ridiculous.
it works on my TV, i already tried and i never actually noticed that the complexity index was gone after muxing with mp4box. lol

if you look at all the DV mp4 with atmos on rarbg they also are the same.
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 »

remuxed the mp4 in tsmuxer or mkvtoolnix and the Complexity index is back to normal, so i dont think it really matters (except for apple as usual haha)
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: Tue Sep 06, 2022 6:56 pm except for apple as usual haha
F* Apple
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

xxyz1 wrote: Tue Sep 06, 2022 8:59 am Hi guys,
Hi, Try 1.5.5.
7-1-1 should be fixed. Let me know if you find other bugs in the mp4muxer, I never really use it.

But for LG TV playback i recommend tsmuxer. Faster and playback is more stable than mp4.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
realbabilu
Posts: 22
Joined: Sun May 15, 2022 4:23 am

Re: Dolby Vision now possible through MP4 Mux.

Post by realbabilu »

sw5163 wrote: Tue Sep 06, 2022 7:01 pm
RESET_9999 wrote: Tue Sep 06, 2022 6:56 pm except for apple as usual haha
F* Apple
haye you tried subler ?
xxyz1
Posts: 7
Joined: Mon Sep 05, 2022 1:21 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by xxyz1 »

@RESET_9999

Yeah, now it created an mp4 and the first time, the LG play it in DV!

But still some things.

Is it possible to select the tracks which should be muxed?

There are 2 audiotracks, only the eng was muxed, not the ger.

The correct german forced sub was muxed (luck?) and the TV shows it, but in mediainfo the "forced flag" is set to no. Anyway it's working, so if it's working on every file correctly, thats not a problem.

The ts / m2ts file that tsmuxer creates is not working on the 2016 OLED TV.(When I drag the input mkv file into it and let it mux)

In tsmuxer you can't set a forced flag to subs and converts srt to sub.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

xxyz1 wrote: Wed Sep 07, 2022 6:11 am Is it possible to select the tracks which should be muxed?
There are 2 audiotracks, only the eng was muxed, not the ger.
If you demux the mkv and you select 7-1-1, you can input any audio (up to 2) and any SRT (up to 2). Just make sure your hevc file doesn't have the same filename/path as the original MKV
for the other mp4muxer workflows, you have to edit the bat file with notepad and set the desired language. I didn't really test that though.

Image
The correct german forced sub was muxed (luck?) and the TV shows it, but in mediainfo the "forced flag" is set to no. Anyway it's working, so if it's working on every file correctly, thats not a problem.
I could be wrong but I don't think you can set a forced flag with the mp4muxer/mp4box
The ts / m2ts file that tsmuxer creates is not working on the 2016 OLED TV.(When I drag the input mkv file into it and let it mux)
I see. You might run into the green screen issue with some DV file on 2016 lg oled TVs
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
xxyz1
Posts: 7
Joined: Mon Sep 05, 2022 1:21 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by xxyz1 »

I edit the language and it works for the audio.
Thank you.

How can I pause the script after demuxing and before muxing?
For example I can editing the subtitles before muxing.

The tags (if it's german or englisch audio "eng" "deu" ect.) of the video / audio / subtitle doesn't work but this is wayne :mrgreen:

And the TV is not allowing to REW or FF the mp4 file. It's OK, because I can skip with the arrows.

I don't have this green screen but it says, Can'T play file. Or it plays the HDR10 only.
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

realbabilu wrote: Wed Sep 07, 2022 4:23 am haye you tried subler ?
Subler is fine, does everything as they suppose to be.
However it's only on Mac.
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: Wed Sep 07, 2022 12:02 pm I could be wrong but I don't think you can set a forced flag with the mp4muxer/mp4box
I think

Code: Select all

mp4box -add sub.srt:txtflags=0xC0000000
can set the forced tag for sub in mp4.
RESET_9999 wrote: Wed Sep 07, 2022 12:02 pm I see. You might run into the green screen issue with some DV file on 2016 lg oled TVs
If it's the same green screen issue caused by additional "reshaping data" like on Apple, just use dovi_tool to "remove_mapping".
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

xxyz1 wrote: Wed Sep 07, 2022 1:53 pm The tags (if it's german or englisch audio "eng" "deu" ect.) of the video / audio / subtitle doesn't work but this is wayne :mrgreen:
not sure i understand what you mean.
How can I pause the script after demuxing and before muxing?
you can't, sorry. Just have your files ready before running the script.
sw5163 wrote: Wed Sep 07, 2022 5:31 pm I think

Code: Select all

mp4box -add sub.srt:txtflags=0xC0000000
can set the forced tag for sub in mp4.
thanks, will try.
sw5163 wrote: Wed Sep 07, 2022 5:31 pm If it's the same green screen issue caused by additional "reshaping data" like on Apple, just use dovi_tool to "remove_mapping".
yea maybe it's the same issue. I remember this was reported in the very early days of the mp4muxer when only dual-layer dolby vision rip was possible.
IIRC it was all the 4000nits P3 BL that had the issue.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
xxyz1
Posts: 7
Joined: Mon Sep 05, 2022 1:21 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by xxyz1 »

RESET_9999 wrote: Wed Sep 07, 2022 6:24 pm
not sure i understand what you mean.
I mean the is no language tag.

Image
RESET_9999 wrote: Wed Sep 07, 2022 6:24 pm
How can I pause the script after demuxing and before muxing?
you can't, sorry. Just have your files ready before running the script.
Ok, can I manual muxing after use your script for demuxing?

What's the muxing script with
1 video stream DV 08.06
1 eac3 or ac3 audio stream
1 srt forced flag subtitle
looks like?
sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

Post by sw5163 »

xxyz1 wrote: Wed Sep 07, 2022 9:14 pm What's the muxing script with
1 video stream DV 08.06
1 eac3 or ac3 audio stream
1 srt forced flag subtitle
looks like?

Code: Select all

mp4box -add dv.hevc -add audio.ec3:lang=eng -add sub.srt:lang=ger:txtflags=0xC0000000 -new p5.dvh1.mp4
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
I don't know the exact short tag for german.
If sub and audio are marked with same language tag, sub will default show up in most devices even without the 'forced' flag. So if you just want the sub to default show up, you can deliberately mark it English. I mark all my Chinese sub as eng, lol.
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

sw5163 wrote: Wed Sep 07, 2022 5:31 pm

Code: Select all

mp4box -add sub.srt:txtflags=0xC0000000
can set the forced tag for sub in mp4.
just bookmarking for myself, ignore :lol:
Post Reply