Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
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: 2107
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
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: 2107
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.
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: 161
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:
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: 2107
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
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: 2107
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.
Post Reply