Page 489 of 756
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Sep 07, 2022 9:14 pm
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.
RESET_9999 wrote: Wed Sep 07, 2022 6:24 pmHow 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?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Wed Sep 07, 2022 9:46 pm
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 12:23 am
by staknhalo
sw5163 wrote: Wed Sep 07, 2022 5:31 pmCode: Select all
mp4box -add sub.srt:txtflags=0xC0000000
can set the forced tag for sub in mp4.
just bookmarking for myself, ignore

Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 6:19 am
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".
Btw what does "proper" mean?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 11:29 am
by DonaldFaQ
MP4 is a horrible Container. I recommend for fun with DV files a Shield Pro 2019 Media Player (or a Zidoo Z9X).
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:02 pm
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:08 pm
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
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:13 pm
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:14 pm
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:28 pm
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?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:33 pm
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 3:55 pm
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:

`mp4box -add atmos(7.1).ec3` (breaks complexity index) shows 2 channel:

`mp4muxer -i atmos(7.1).ec3` (fix/restore complexity index) shows 8 channel:

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)
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 4:14 pm
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.
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 9:53 pm
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?
Re: Dolby Vision now possible through MP4 Mux.
Posted: Thu Sep 08, 2022 9:57 pm
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.