Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
kazuma
Posts: 132
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote:
Mon Sep 26, 2022 4:18 pm
hell001 wrote:
Mon Sep 26, 2022 3:46 pm
Hi all. Stupid question here, but is there a difference between a 1080p DV layer and 2160p DV layer? There is a release I am trying to hybridize and I have the 4K HDR, but only have access to the 1080p Profile 5 DV. Does anyone have any experience with something like that?
you only have to edit L5.
kazuma wrote:
Mon Sep 26, 2022 4:02 pm
how do i know when it is a profile 7 file?
mediainfo ( text view / HDR format):
Dolby Vision, Version 1.0, dvhe.07.06, BL+EL+RPU

you only need to know that information when you are using Workflow.1 (manual). the other workflows auto-detect the input profile.
if i have 2 hevc files in the media container. 1 for main and 2 for DV metada. so which profile is this?

i'm now always converting my mkv file to ts and then i use you' re program, if there is only one hevc file in the container. is this the correct way? (4-2-3)
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

hell001 wrote:
Mon Sep 26, 2022 4:42 pm
Thank you, I'll check that out. I've made hybrids before, but not one where the quality on the DV source is different, so I was thrown off. Out of curiosity, what would be the difference if I simply had the 2160p DV layer? Would both layers produce the exact same thing, or is there slight quality loss with the 1080p layer?
The metadata are exactly the same (except the active area of course).
So no quality loss... I do it all the time by the way.
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Mon Sep 26, 2022 4:48 pm

if i have 2 hevc files in the media container. 1 for main and 2 for DV metada. so which profile is this?

i'm now always converting my mkv file to ts and then i use you' re program, if there is only one hevc file in the container. is this the correct way? (4-2-3)
2 video tracks = profile 7 but for an MKV file (or original m2ts) mediainfo won't display the information.

You don't have to remux to TS. (4-2) will do the conversion regardless of if your input is dual or single track.
This was added recently, so make sure you use the latest version of the script.
kazuma
Posts: 132
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote:
Mon Sep 26, 2022 5:04 pm
kazuma wrote:
Mon Sep 26, 2022 4:48 pm

You don't have to remux to TS. (4-2) will do the conversion regardless of if your input is dual or single track.
even there are more subtitles and other audio files?
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote:
Mon Sep 26, 2022 5:34 pm
even there are more subtitles and other audio files?
yes, unless the language is one that I didn't implement.
By default, it will pick up the English audio/subs

Image
hell001
Posts: 11
Joined: Sat Mar 26, 2022 1:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hell001 »

RESET_9999 wrote:
Mon Sep 26, 2022 5:01 pm
hell001 wrote:
Mon Sep 26, 2022 4:42 pm
Thank you, I'll check that out. I've made hybrids before, but not one where the quality on the DV source is different, so I was thrown off. Out of curiosity, what would be the difference if I simply had the 2160p DV layer? Would both layers produce the exact same thing, or is there slight quality loss with the 1080p layer?
The metadata are exactly the same (except the active area of course).
So no quality loss... I do it all the time by the way.
Thanks. What is the recommended way of finding the "active area"? MediaInfo simply says 3840x2160 (for the 4K HDR) and 1920x1080 (for the 1080p DV).
LV8HD
Posts: 20
Joined: Tue Jan 11, 2022 3:48 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by LV8HD »

hell001 wrote:
Mon Sep 26, 2022 4:28 pm
RESET_9999 wrote:
Mon Sep 26, 2022 4:18 pm
hell001 wrote:
Mon Sep 26, 2022 3:46 pm
Hi all. Stupid question here, but is there a difference between a 1080p DV layer and 2160p DV layer? There is a release I am trying to hybridize and I have the 4K HDR, but only have access to the 1080p Profile 5 DV. Does anyone have any experience with something like that?
you only have to edit L5.
Sorry, can you clarify what you mean? The phrasing of your answer seems to imply that it doesn't matter that it's 1080p, but I was hoping to hear more about it.
I think it is not a problem related to the script itself, it's something else. Infact many other things don't work, for example: when I try to convert HDR10Plus to DoVi it does all steps correctly, unitl it tries to find the RPU.bin to inject into the BL, but it is not able to do that: It says it's impossible to find that file, and I end up with a 0kb .hevc file.

So I don't know, maybe it is some OS error.
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

hell001 wrote:
Mon Sep 26, 2022 6:14 pm
Thanks. What is the recommended way of finding the "active area"? MediaInfo simply says 3840x2160 (for the 4K HDR) and 1920x1080 (for the 1080p DV).
Automatic way:
When you run my script, it will ask you if you want to edit L5, enter "y" and then enter "a" when it asks you if you want auto or manual L5.

Manual way:
I use staxrip crop function(check the tutorial video in my script link) but it might be easier for you to use avspmod: https://www.videohelp.com/software/AvsP
hell001
Posts: 11
Joined: Sat Mar 26, 2022 1:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hell001 »

RESET_9999 wrote:
Mon Sep 26, 2022 6:54 pm
hell001 wrote:
Mon Sep 26, 2022 6:14 pm
Thanks. What is the recommended way of finding the "active area"? MediaInfo simply says 3840x2160 (for the 4K HDR) and 1920x1080 (for the 1080p DV).
Automatic way:
When you run my script, it will ask you if you want to edit L5, enter "y" and then enter "a" when it asks you if you want auto or manual L5.

Manual way:
I use staxrip crop function(check the tutorial video in my script link) but it might be easier for you to use avspmod: https://www.videohelp.com/software/AvsP
Well, it looks like my file doesn't have black bars (both 4K HDR and 1080p DV). Here is a screenshot https://i.ibb.co/jvh1GDp/SS.png. unless the blue bar means something? the blue bar moves when I move the mouse

what does this mean for the 4k/1080p active area?
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

When there is no black bars, L5 should be set to 0.
If your 1080p is not an itunes web-dl, it should be already set to 0. You can quickly verify any DV metadata with my script : (2-3)

Image
hell001
Posts: 11
Joined: Sat Mar 26, 2022 1:29 am

Re: Dolby Vision now possible through MP4 Mux.

Post by hell001 »

RESET_9999 wrote:
Mon Sep 26, 2022 8:33 pm
When there is no black bars, L5 should be set to 0.
If your 1080p is not an itunes web-dl, it should be already set to 0. You can quickly verify any DV metadata with my script : (2-3)

Image
Yes the L5 is at 0, confirmed with the script. In your original response, you said that I only needed to edit L5. Is that no longer true for this 4K HDR + 1080p DV?
BadSector81
Posts: 10
Joined: Fri Jul 30, 2021 9:08 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by BadSector81 »

LV8HD wrote:
Mon Sep 26, 2022 4:31 pm
RESET_9999 wrote:
Mon Sep 26, 2022 4:22 pm
LV8HD wrote:
Mon Sep 26, 2022 4:11 pm
Hi, I'm kind of new to this script, and every time I try to measure something (HDR10, HDR10Plus or DoVi) I get many errors. I don't know why, since I'm pretty sure I installed all the required py modules. Anyway, this is the log
Could someone help me?
interesting, it fails when it tries to save the data into a graph, I have never seen that error and I didn't write that python script so I can't really help you here.( I assure you it's working on my PC)

did you install this version of color science?
https://pypi.org/project/colour-science
I did, as you can see it is in my pip list
Try to run DoVi Scripts from another drive. Not from your system C:
The same happened to me and it solved. I still got error message but I can find the picture in the output folder.
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

hell001 wrote:
Mon Sep 26, 2022 8:43 pm
Yes the L5 is at 0, confirmed with the script. In your original response, you said that I only needed to edit L5. Is that no longer true for this 4K HDR + 1080p DV?
right , for that case, you only have to convert P5 to P8.
I suggest you always check the dv source L5 before doing a Hybrid though. Because you will notice that a lot of DV web-dl has incorrect or missing L5.
kazuma
Posts: 132
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

RESET_9999 wrote:
Mon Sep 26, 2022 5:52 pm
kazuma wrote:
Mon Sep 26, 2022 5:34 pm
even there are more subtitles and other audio files?
yes, unless the language is one that I didn't implement.
By default, it will pick up the English audio/subs

Image
the path is still 4-2-3 for this? with your dv version 1.5.9?
RESET_9999
Posts: 1852
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

BadSector81 wrote:
Mon Sep 26, 2022 9:29 pm
Try to run DoVi Scripts from another drive. Not from your system C:
The same happened to me and it solved. I still got error message but I can find the picture in the output folder.
ha, I know why.
will fix it in the next version.
Post Reply