Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Post Reply
Gatorman
Posts: 84
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

RESET_9999 wrote: Sat Oct 22, 2022 6:29 pm
Gatorman wrote: Fri Oct 21, 2022 11:08 pm I'm still working on getting the script to run correctly.
yes, it's not easy to install, I struggled myself.

you have to install python and a couple of modules.
https://www.python.org/downloads/

you can install a module(ijson in that case) by typing this in a cmd window

Code: Select all

pip install ijson
Got it! Thanks for your help.

Screenshot (724).png
Screenshot (724).png (148.97 KiB) Viewed 17164 times
More reasons to collect physical media. Ugoos AM6B+ CE p3i PM4K.
Gatorman
Posts: 84
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

@Reset_9999

Would it be possible to have a video.mkv.measurements file as an input file?
More reasons to collect physical media. Ugoos AM6B+ CE p3i PM4K.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

6-2-2 can do that.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Gatorman
Posts: 84
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

RESET_9999 wrote: Sat Oct 22, 2022 6:58 pm 6-2-2 can do that.
This workflow allows an already generated .measurements file? It's asking me for a video file. I'll have to get back to my workstation to get the error.
More reasons to collect physical media. Ugoos AM6B+ CE p3i PM4K.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

ha yes, I introduced a bug for that in the latest versions. you can try the older versions as 1.5.8, and it should work.
will fix next time
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

reset_9999

the muxing time of shooter and the godfather untouched bluray is very short, and the end TS file is only between 13GB and 17GB. what is the reason for this? (4-1-1)

i've selected the longest mpls file. i'm sure of that.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

kazuma wrote: Sun Oct 23, 2022 10:00 am i've selected the longest mpls file. i'm sure of that.
I doubt that because I just tried Shooter BD and there are two 20min small playlists and the main movie one.
I took the right one and got a normal 44gb TS.

So either you're out of HDD space on your output path or you selected the wrong playlist.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Gatorman
Posts: 84
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

Does this comparison look typical? HDR10 Resolve generated DV.

https://slow.pics/c/fVBUu802
More reasons to collect physical media. Ugoos AM6B+ CE p3i PM4K.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

yes, as you can see madvr min_pq is always 0 which makes avg_PQ inaccurate.
Resolve's scene cut detection is also substantially better than madvr. With madVR, there will be (sometimes) one shot very bright and the next one(within the same scene) darker. I never had this issue with Resolve.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

reset_9999

i did it again with shooter. now with screenshots:

https://ibb.co/q1ZL44M

https://ibb.co/6HKkGnk

https://ibb.co/gv1pB4k
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

RESET_9999 wrote: Sun Oct 23, 2022 2:53 pm yes, as you can see madvr min_pq is always 0 which makes avg_PQ inaccurate.
Resolve's scene cut detection is also substantially better than madvr. With madVR, there will be (sometimes) one shot very bright and the next one(within the same scene) darker. I never had this issue with Resolve.
I’ve come to the conclusion that if we re analyze a movie that’s already graded scene by scene technically we are producing a diff graded result as well.(bc color decisions are being decided by present graded elements)
& that’s why they are diff types of analysis modes some of us have only experienced 1type of analysis mode.
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

100% non-sense.
L1 metadata generation is just pixels brightness measurement(this is what the dovi L1 plot is). When you set your resolve project correctly you don't touch the original grade. it's like working with the master.
You could export it to 422 and then re-encode it to x265 and it would still be the same grade(unless you start playing with the colors and brightness).
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
saba30
Posts: 4
Joined: Mon Oct 24, 2022 8:12 am

Re: Dolby Vision now possible through MP4 Mux.

Post by saba30 »

Little bug in DoVi_Scripts_1.6.4
7-2-4
Audio file not included, because audio file name set incorrect
14587- Line

:skip.dts
"%eac3to_path%" "%TEMP%THD.mkv" 1: "%TEMP%audio.ac3"
if NOT ["%errorlevel%"]==["0"] pause

:no.dts.encodingg

set audio=%TEMP%audio.ac3

::--------------------------------------------------------------------------------------------MP4.muxing----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
echo muxing into a MP4 profile 8 DoVi file. Be patient, it can take a while. 40min^+ on slow HDD!
"%mp4muxer_path%" --dv-profile %dv.profile% --input-file %BL% --input-file %audio% %comp% %ID% --output-file "%TEMP%DoVi.au.mp4"
::--------------------------------------------------------------------------------------------SUBS----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
if exist "%TEMP%en.forced.srt" if not exist "%TEMP%en.srt" set subtitles_path="%TEMP%en.forced.srt"& goto :er
if not exist "%TEMP%en.srt" if not exist "%TEMP%en.forced.srt" goto :skip.sub
if exist "%TEMP%en.forced.srt" if exist "%TEMP%en.srt" goto :2.sub
RESET_9999
Posts: 2421
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

saba30 wrote: Mon Oct 24, 2022 8:37 am Little bug in DoVi_Scripts_1.6.4
7-2-4
yes I see my mistake...
In next version, I wont use eac3to.exe to demux anymore so that should fix it.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Manixx2020beyound
Posts: 127
Joined: Thu Oct 08, 2020 5:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Manixx2020beyound »

RESET_9999 wrote: Sun Oct 23, 2022 9:42 pm 100% non-sense.
L1 metadata generation is just pixels brightness measurement(this is what the dovi L1 plot is). When you set your resolve project correctly you don't touch the original grade. it's like working with the master.
You could export it to 422 and then re-encode it to x265 and it would still be the same grade(unless you start playing with the colors and brightness).
The meta data results are close but never identical facts.
To get identical, a 12bit true master is necessary,
Also that’s like saying the 8.1 dv/hdr resolve produces is NOT an official 8.1?
Our experience with 8.1 only came about with xml/rpu (quietvoid)
Post Reply