Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
datman
Posts: 17
Joined: Thu Feb 18, 2010 3:31 am

Re: Dolby Vision now possible through MP4 Mux.

Post by datman » Mon Oct 03, 2022 5:25 pm

I recently bought a sony 77a80j set and now I can get DV. I see none of my MKV files will display in DV, I guess I now recall that limitation at the time was no concern. Buried in this thread are there simplified steps to make new backups or is this still very much a bit complicated.

Something else I discovered what I thought was caused by an update to my Oppo 203 player a few years ago. My MKV Dolby Atmos backups no longer displayed Atmos only multichannel+ dolby. The DTSX remain normal. As far as I can tell the sound is the same. So figuring out DV and playing the original discs both issues go away.

Gatorman
Posts: 79
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman » Mon Oct 03, 2022 6:46 pm

While using Resolve to generate DV metadata, do I only need to "Detect Scene Cuts" for variable aspect ratio files, or for cropped files as well?
More reasons to collect physical media. 2019 Shield TV Pro.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Oct 03, 2022 6:57 pm

Gatorman wrote:
Mon Oct 03, 2022 6:46 pm
While using Resolve to generate DV metadata, do I only need to "Detect Scene Cuts" for variable aspect ratio files, or for cropped files as well?
you always need to detect scene cuts, otherwise, your metadata wont be dynamic.
you always need to set the proper blanking too.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Oct 03, 2022 6:59 pm

datman wrote:
Mon Oct 03, 2022 5:25 pm
I recently bought a sony 77a80j set and now I can get DV. I see none of my MKV files will display in DV, I guess I now recall that limitation at the time was no concern. Buried in this thread are there simplified steps to make new backups or is this still very much a bit complicated.

Something else I discovered what I thought was caused by an update to my Oppo 203 player a few years ago. My MKV Dolby Atmos backups no longer displayed Atmos only multichannel+ dolby. The DTSX remain normal. As far as I can tell the sound is the same. So figuring out DV and playing the original discs both issues go away.
https://github.com/justdan96/tsMuxer/releases

Gatorman
Posts: 79
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman » Mon Oct 03, 2022 7:13 pm

RESET_9999 wrote:
Mon Oct 03, 2022 6:57 pm
Gatorman wrote:
Mon Oct 03, 2022 6:46 pm
While using Resolve to generate DV metadata, do I only need to "Detect Scene Cuts" for variable aspect ratio files, or for cropped files as well?
you always need to detect scene cuts, otherwise, your metadata wont be dynamic.
you always need to set the proper blanking too.
Ah, I see. Changing the timeline resolution from 3840x2160 to 3840x1600, to match the original file, isn't enough?
More reasons to collect physical media. 2019 Shield TV Pro.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Mon Oct 03, 2022 7:20 pm

Gatorman wrote:
Mon Oct 03, 2022 7:13 pm
Ah, I see. Changing the timeline resolution from 3840x2160 to 3840x1600, to match the original file, isn't enough?
yes, you can do that as well.
Make sure you leave the blanking to 0 in that case.

johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 » Tue Oct 04, 2022 3:37 pm

RESET_9999 wrote:
Mon Oct 03, 2022 7:20 pm
Gatorman wrote:
Mon Oct 03, 2022 7:13 pm
Ah, I see. Changing the timeline resolution from 3840x2160 to 3840x1600, to match the original file, isn't enough?
yes, you can do that as well.
Make sure you leave the blanking to 0 in that case.
Hey just a heads up, I would recommend using mp4box for muxing rather than mp4muxer for the mp4 workflows. Its much faster and doesn't take hours to render, and you can add all of the necessary tracks in one mux rather than multiple.

For example

Code: Select all

mp4box.exe -add "%BL%:hdr=none:dv-profile=8.1:xps_inband" -add "audio" -add "subtitle" -brand mp42isom -ab dby1 -no-iod -enable 1 "output.mp4"
hdr=none prevents HDR10 from being displayed twice in the mediainfo, dv-profile=8.1 sets the profile, and :xps_inband is required if the file is dvhe.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Oct 04, 2022 4:29 pm

johnjon94 wrote:
Tue Oct 04, 2022 3:37 pm
yes, I know and that's how the apple iOS mp4 workflows are made.

But... Can the very old mp4box we have to use for older TV (EG my C8) do that though? I never tried.
Unless you're saying that using the latest mp4box works on older LG TVs?

johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 » Tue Oct 04, 2022 4:38 pm

RESET_9999 wrote:
Tue Oct 04, 2022 4:29 pm
johnjon94 wrote:
Tue Oct 04, 2022 3:37 pm
yes, I know and that's how the apple iOS mp4 workflows are made.

But... Can the very old mp4box we have to use for older TV (EG my C8) do that though? I never tried.
Unless you're saying that using the latest mp4box works on older LG TVs?
I haven't tested the older mp4box just yet, what is the reason for using the older versions?

Also I noticed that in your script, if there are multiple subtitles in the input file it seems to only include the first subtitle rather than all of them. (mode 7-1-5)

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Oct 04, 2022 4:57 pm

johnjon94 wrote:
Tue Oct 04, 2022 4:38 pm
I haven't tested the older mp4box just yet, what is the reason for using the older versions?
Only the very first version of the mp4muxer works on older LG TVs. And the newer mp4box doesnt work with that old mp4muxer version because of the missing BL compatibility id.
Also I noticed that in your script, if there are multiple subtitles in the input file it seems to only include the first subtitle rather than all of them. (mode 7-1-5)
yes, it prioritizes subtitles with FORCED flag. So if your input doesnt have a forced flag, it will only takes the first subtitle
the first workflow is more flexible, you can manually input 1 video and 2 audio/2 subs

johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 » Tue Oct 04, 2022 5:42 pm

RESET_9999 wrote:
Tue Oct 04, 2022 4:57 pm
johnjon94 wrote:
Tue Oct 04, 2022 4:38 pm
I haven't tested the older mp4box just yet, what is the reason for using the older versions?
Only the very first version of the mp4muxer works on older LG TVs. And the newer mp4box doesnt work with that old mp4muxer version because of the missing BL compatibility id.
Also I noticed that in your script, if there are multiple subtitles in the input file it seems to only include the first subtitle rather than all of them. (mode 7-1-5)
yes, it prioritizes subtitles with FORCED flag. So if your input doesnt have a forced flag, it will only takes the first subtitle
the first workflow is more flexible, you can manually input 1 video and 2 audio/2 subs
Is it possible to adjust the first workflow to use mp4box rather than mp4muxer and add more than just 2 subtitles?

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Oct 04, 2022 5:59 pm

johnjon94 wrote:
Tue Oct 04, 2022 5:42 pm
Is it possible to adjust the first workflow to use mp4box rather than mp4muxer and add more than just 2 subtitles?
Yes, I'm currently implementing MKV and TS muxing for all the workflows that convert audio so I think I'll add mp4 muxing with mp4box as well.
May I know why you want more than two subtitles? forced and complete is not enough?

johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 » Tue Oct 04, 2022 6:06 pm

RESET_9999 wrote:
Tue Oct 04, 2022 5:59 pm
johnjon94 wrote:
Tue Oct 04, 2022 5:42 pm
Is it possible to adjust the first workflow to use mp4box rather than mp4muxer and add more than just 2 subtitles?
Yes, I'm currently implementing MKV and TS muxing for all the workflows that convert audio so I think I'll add mp4 muxing with mp4box as well.
May I know why you want more than two subtitles? forced and complete is not enough?
mp4box muxing rather than mp4muxer has a drastic change on the time it takes to complete the mux, so that would be great. (minutes vs hours)

For subtitles, I like to include all of the subtitles for every language that it available in my MP4 files. So if I have an MKV file with 20+ subtitles, I include those with the MP4 as well. I also include chapters when they are available, which can also be added using mp4box.

RESET_9999
Posts: 2094
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 » Tue Oct 04, 2022 7:06 pm

johnjon94 wrote:
Tue Oct 04, 2022 6:06 pm
mp4box muxing rather than mp4muxer has a drastic change on the time it takes to complete the mux, so that would be great. (minutes vs hours)

For subtitles, I like to include all of the subtitles for every language that it available in my MP4 files. So if I have an MKV file with 20+ subtitles, I include those with the MP4 as well. I also include chapters when they are available, which can also be added using mp4box.
which playback device are you using?

johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 » Tue Oct 04, 2022 7:29 pm

RESET_9999 wrote:
Tue Oct 04, 2022 7:06 pm
johnjon94 wrote:
Tue Oct 04, 2022 6:06 pm
mp4box muxing rather than mp4muxer has a drastic change on the time it takes to complete the mux, so that would be great. (minutes vs hours)

For subtitles, I like to include all of the subtitles for every language that it available in my MP4 files. So if I have an MKV file with 20+ subtitles, I include those with the MP4 as well. I also include chapters when they are available, which can also be added using mp4box.
which playback device are you using?
LG C2 OLED as well as an NVIDIA Shield

Post Reply