Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
Chisum04
Posts: 20
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 »

bbeny123 wrote: Thu Aug 03, 2023 5:37 pm

My fixes were focused on DV-Profile 7 (dual track), but it is possible that version 1.3.2 will also work with the Oppo.

1.3.2-alpha1: https://github.com/bbeny123/mp4muxer/re ... 3.2-alpha1

If 1.3.2-alpha1 still does not work, you can also try 1.3.2-alpha2: https://github.com/bbeny123/mp4muxer/re ... 3.2-alpha2
Alpha 2 triggers Dolby on my Oppo, Alpha 1 fails. MP4 in alpha 1 und 2 is hev1, in ver 1.0 they are dvhe (nevertheless triggering Dolby)
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

RESET_9999 wrote: Thu Aug 03, 2023 2:09 pm
bbeny123 wrote: Wed Aug 02, 2023 2:15 pm
Nope, I've tested LG C9 only.
It also works well on my C2 but the 2018 or older TV are more picky in regard of DV MP4.

if anyone with old LG TVs could test the latest beta script, workflows 7-2, that would be great. You have to update the mp4muxer.exe by the one from here: https://github.com/bbeny123/mp4muxer
Only HDR on LG B8.
bbeny123
Posts: 23
Joined: Tue Aug 01, 2023 6:33 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bbeny123 »

Chisum04 wrote: Fri Aug 04, 2023 12:32 pm Alpha 2 triggers Dolby on my Oppo, Alpha 1 fails. MP4 in alpha 1 und 2 is hev1, in ver 1.0 they are dvhe (nevertheless triggering Dolby)
Could you share a sample of original file?

NiCE77 wrote: Fri Aug 04, 2023 1:18 pm Only HDR on LG B8.
Have you tried the 1.3.2-alpha2: https://github.com/bbeny123/mp4muxer/re ... 3.2-alpha2?
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

bbeny123 wrote: Fri Aug 04, 2023 1:22 pm
Chisum04 wrote: Fri Aug 04, 2023 12:32 pm Alpha 2 triggers Dolby on my Oppo, Alpha 1 fails. MP4 in alpha 1 und 2 is hev1, in ver 1.0 they are dvhe (nevertheless triggering Dolby)
Could you share a sample of original file?

NiCE77 wrote: Fri Aug 04, 2023 1:18 pm Only HDR on LG B8.
Have you tried the 1.3.2-alpha2: https://github.com/bbeny123/mp4muxer/re ... 3.2-alpha2?
1.3.2-alpha2 works fine, thanks!
Chisum04
Posts: 20
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 »

bbeny123 wrote: Fri Aug 04, 2023 1:22 pm
Could you share a sample of original file?
"Original file" meaning the RPU injected hevc-file? The Original from the UHD is without Dolby. If you provide a download link via PM I could upload.
bbeny123
Posts: 23
Joined: Tue Aug 01, 2023 6:33 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bbeny123 »

Chisum04 wrote: Sat Aug 05, 2023 8:30 am "Original file" meaning the RPU injected hevc-file? The Original from the UHD is without Dolby. If you provide a download link via PM I could upload.
I dont't need it anymore, I managed to find some other video with DV profile 8.1 :)

Could you please check out version 1.3.2-alpha3? It should work with Oppo (and older LG TVs) and have the codec set correctly to 'dvhe'.

1.3.2-alpha3: https://github.com/bbeny123/mp4muxer/re ... 3.2-alpha3
valington
Posts: 44
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by valington »

RESET_9999 wrote: Thu Aug 03, 2023 2:09 pm
bbeny123 wrote: Wed Aug 02, 2023 2:15 pm
Nope, I've tested LG C9 only.
It also works well on my C2 but the 2018 or older TV are more picky in regard of DV MP4.

if anyone with old LG TVs could test the latest beta script, workflows 7-2, that would be great. You have to update the mp4muxer.exe by the one from here: https://github.com/bbeny123/mp4muxer
Reset your c2 is showing mp4 7 profil dolby vision with this new version mp4 muxer ?
Chisum04
Posts: 20
Joined: Mon Feb 27, 2023 10:43 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Chisum04 »

bbeny123 wrote: Sat Aug 05, 2023 9:12 am
Could you please check out version 1.3.2-alpha3? It should work with Oppo (and older LG TVs) and have the codec set correctly to 'dvhe'.
Worked! Perfect.
bbeny123
Posts: 23
Joined: Tue Aug 01, 2023 6:33 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by bbeny123 »

Since the 1.3.2-alpha3 version seems to be fully stable, I released it as 1.3.2 :)
https://github.com/bbeny123/mp4muxer/releases/tag/1.3.2

Version 1.3.2 differs from 1.3.1 in that for DV profiles > 7 the codec configuration box is set to dvcC instead of dvvC (mp4box_64bits 1.0.0 also set dvcC).
This is non-compliant with Dolby's documentation, but as we can see Oppo and older LG TVs are also non-compliant (as only this setting works on them).
Last edited by bbeny123 on Sat Aug 05, 2023 2:32 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 »

valington wrote: Sat Aug 05, 2023 1:39 pm Reset your c2 is showing mp4 7 profil dolby vision with this new version mp4 muxer ?
No, LG dropped P7 support since the CX. I was talking about P8 and P5.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

Is there a way to tell what resolution video an RPU came from/what resolution an RPU is intended for? Like if I have a p5 RPU but not the source p5 video, and a HDR10 Blu-ray BL to inject the RPU into - how do I know if black bars should be cropped or not (on some p5 videos the video is 16:9 with black bars in the stream, some p5 will have just the video in whatever resolution/aspect ratio with no black bars)? Like a specific line/variable to look for in the json/RPU?
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

staknhalo wrote: Sun Aug 06, 2023 1:30 am Is there a way to tell what resolution video an RPU came from/what resolution an RPU is intended for? Like if I have a p5 RPU but not the source p5 video, and a HDR10 Blu-ray BL to inject the RPU into - how do I know if black bars should be cropped or not (on some p5 videos the video is 16:9 with black bars in the stream, some p5 will have just the video in whatever resolution/aspect ratio with no black bars)? Like a specific line/variable to look for in the json/RPU?
Everything about the rpu aspect ratio(active area) is in Level 5

If the BL is 16:9 with no black bars or if it is cropped, L5 should always be 0 regardless of the base layer resolution.
if the new BL has black bars, you measure them and edit L5 accordingly.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
staknhalo
Posts: 178
Joined: Sun Oct 11, 2020 12:05 am

Re: Dolby Vision now possible through MP4 Mux.

Post by staknhalo »

RESET_9999 wrote: Sun Aug 06, 2023 2:08 am
staknhalo wrote: Sun Aug 06, 2023 1:30 am Is there a way to tell what resolution video an RPU came from/what resolution an RPU is intended for? Like if I have a p5 RPU but not the source p5 video, and a HDR10 Blu-ray BL to inject the RPU into - how do I know if black bars should be cropped or not (on some p5 videos the video is 16:9 with black bars in the stream, some p5 will have just the video in whatever resolution/aspect ratio with no black bars)? Like a specific line/variable to look for in the json/RPU?
Everything about the rpu aspect ratio(active area) is in Level 5

If the BL is 16:9 with no black bars or if it is cropped, L5 should always be 0 regardless of the base layer resolution.
if the new BL has black bars, you measure them and edit L5 accordingly.
Got it thanks
UNSCTrafalgar
Posts: 5
Joined: Fri Jul 14, 2023 5:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by UNSCTrafalgar »

So I never really figured out what was wrong with my setup that was keeping me from converting TrueHD Atmos to DD+, but I think I figured out a way to get around it.

My setup can only handle lossy 5.1 Atmos over ARC anyway, so for movies where audio like that (or even just 5.1 surround or lesser) is available, I want to make a Frankenstein .MP4 file of a profile 7 DT-DL DV stream and whatever lossy audio I find. That should play in DV on my LG E8. I know I'll need to use MP4Muxer at the end but uh, how would I do that? Specifically, should I demux the P7 DT-DL DV stream from the original file (which in this case contains a TrueHD audio stream that would break DV on my LG E8), the lossy audio from whatever other file, and mux them together with MP4Muxer? I guess my real obstacle is properly demuxing everything, and finding out what command exactly I should enter in MP4Muxer. Any guidance would be much appreciated.

In short, the file I'm imagining would be a .MP4 file containing BL+EL+RPU profile 7 DT-DL Dolby Vision, and lossy audio topping out at 5.1 DD+ Atmos.
Amateur enthusiast 8)

LG E8 55” ——-> Vizio M512A-H6
NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

Post by NiCE77 »

bbeny123 wrote: Sat Aug 05, 2023 1:54 pm Since the 1.3.2-alpha3 version seems to be fully stable, I released it as 1.3.2 :)
https://github.com/bbeny123/mp4muxer/releases/tag/1.3.2

Version 1.3.2 differs from 1.3.1 in that for DV profiles > 7 the codec configuration box is set to dvcC instead of dvvC (mp4box_64bits 1.0.0 also set dvcC).
This is non-compliant with Dolby's documentation, but as we can see Oppo and older LG TVs are also non-compliant (as only this setting works on them).
Thanks! But I noticed, the --dvh1flag option is not working. This would be necessary for playback on Apple TV (with tvOS 17). Can you fix it?
This solution works until: https://github.com/rixtox/mp4dovi
Post Reply