Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
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: 2406
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)
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

.
Last edited by RESET_9999 on Mon Oct 24, 2022 9:34 pm, edited 1 time in total.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

You can't expect madvr pixels measurements to be 100% identical to resolve or the original. The different algorithms will produce slightly different results which is acceptable. Just like generating static maxcll/fall in Resolve will produce a slightly different result than in Transkoder, all normal stuff. Even Resolve CmV2.9 vs Cmv4.0 produce different L1 as shown here: https://slow.pics/c/ipOD7eqm
Then you have the scene cut that can be different as well, so the plot graph will be different in that regard too.
Anyway, I compared brightness of tons of movie with madvr vs original. Some L1 peaks are almost identical to original, see: https://docs.google.com/spreadsheets/d/ ... edit#gid=0

Rougly the HDR/DV workflow is:

1- Grade the 12 bit HDR master ( not in DV not in HDR10 not in HDR10+) shot by shot , scene by scene. This is where you do the color, brightness, highlights contrast, shadow, black, specular etc....
This will be encoded to 10 bit and will result in the Base layer.

2- Do the Dolby Vision Analysis, this an automated process done by an algorithm. This will generate L1 metadata that you cannot edit unless you change the master. This is the actual HDR grade brightness mapping.
They can "blend" shot when they feel its needed though. This just mean, you copy the metadata from one shot to another similiar shot.
Also, in resolve if you set your project to 1000nits but the content itself goes brighter than that, L1 will be max out at 1000nits.
I believe this is incorrect but some movies are done that way. Is it on purpose or an error , i dont know.

3- Do the L2 trim passes. This is the manual part of the Dolby vision creation.
The point of this process is not to change the final look. the point of th trims is to preserve the original look on different TV with different brightness capabilities instead of relying on TV internal tone mapping.

4- Then they decide whether to keep 12-bit data in FEL or not. The data(diff between 12bit and 10bits encode) is encoded in the 2nd layer (the 1080p stream).

Anyway, thanks to @Woodstock's and @manix's now-deleted comments, this is the last post from me in this forum!!! I'm out!
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Gatorman
Posts: 81
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Gatorman »

Seriously, why be toxic here? It does nothing to move the discussion forward.
More reasons to collect physical media. Ugoos AM6B+.
Woodstock
Posts: 10808
Joined: Sun Jul 24, 2011 11:21 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Woodstock »

For what it is worth, my comment was a reply to one that was deleted, NOT RESET_9999's messages. It was a mistake because I mistook who wrote a message.
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Woodstock wrote:
Mon Oct 24, 2022 10:35 pm
For what it is worth, my comment was a reply to one that was deleted, NOT RESET_9999's messages. It was a mistake because I mistook who wrote a message.
yes, your post really confused me :wink:
But it's all good, needed a break anyway. Anyone can still PM me if you have suggestions, bug or questions about my script.
thank you to all for the help and great discussions over the past years.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
ragico
Posts: 265
Joined: Fri Feb 15, 2019 1:09 am

Re: Dolby Vision now possible through MP4 Mux.

Post by ragico »

RESET_9999
I think that your hopefully short absence from the forum is a heavy loss for everybody here.
Take your rest and comeback soon .
We need your knowledge, dedication and skill.
Thanks so much for everything you have done to help us.
Ad Majora.
Cr4z33
Posts: 17
Joined: Mon Dec 28, 2020 12:24 pm
Location: Italy

Re: Dolby Vision now possible through MP4 Mux.

Post by Cr4z33 »

RESET_9999 wrote:
Sun Mar 21, 2021 7:11 pm

it is a single layer profile 5 dolby vision from streaming services and it's very different from the dual layer dolby vision you find on bluray discs.

you can add external audio by doing this:

MKV:
1-remux the mp4 with mkvtoolnix (add external audio/subs).
2- import the mkv into the latest makemkv and create a new DV mkv..

TS:

use nightly tsmuxer. (you might have to demux the mp4 first)

MP4:

use mp4box to add external audio.
So I've used this method for a while remuxing ENG MKVs with Italian audio tracks, but since when I am getting mixed HDR/DV MKVs I always end up by being able to watch them in HDR only (at least this happens in Plex). :?

What do I have to do to force a "DV only" remuxing and/or get rid also of the HDR informations?
Nvidia Shield TV Pro -> DENON AVR-X2200W -> LG OLED65GX6
Donpoku
Posts: 66
Joined: Wed Jul 03, 2019 3:43 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Donpoku »

RESET_9999 wrote:
Mon Oct 24, 2022 10:52 pm
Woodstock wrote:
Mon Oct 24, 2022 10:35 pm
For what it is worth, my comment was a reply to one that was deleted, NOT RESET_9999's messages. It was a mistake because I mistook who wrote a message.
yes, your post really confused me :wink:
But it's all good, needed a break anyway. Anyone can still PM me if you have suggestions, bug or questions about my script.
thank you to all for the help and great discussions over the past years.
You deserve a break indeed, thank you very much, true Jedi of DV world.
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

i'm curious. is reset_9999 the first person in the world that 'cracked' DV? are there more people with this kind of tools on the internet?
johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 »

kazuma wrote:
Tue Oct 25, 2022 12:02 pm
i'm curious. is reset_9999 the first person in the world that 'cracked' DV? are there more people with this kind of tools on the internet?
quiet_void is the creator of these tools. None of this would be possible without dovi_tool created by him.
kazuma
Posts: 186
Joined: Fri Nov 08, 2019 9:51 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by kazuma »

johnjon94 wrote:
Wed Oct 26, 2022 1:30 am
kazuma wrote:
Tue Oct 25, 2022 12:02 pm
i'm curious. is reset_9999 the first person in the world that 'cracked' DV? are there more people with this kind of tools on the internet?
quiet_void is the creator of these tools. None of this would be possible without dovi_tool created by him.
who is quiet_void?
darrrkmanxxx
Posts: 93
Joined: Mon Apr 13, 2020 9:55 am

Re: Dolby Vision now possible through MP4 Mux.

Post by darrrkmanxxx »

Hey Guys, just wanted to check in and see if I miss something here.

I have a philips 65 oled 934 2019 with dv capability. I'm able to playback P5 and P8 mkv through Plex perfectly fine.
However I was also able to playback P7 through Plex til version 8.12.2.22756. Going higher version stops P7 support.
I understand that if I playback P7 files through plex or vimu player the EL will be left out anyway, right?

So my goal is now to mux everything to P8.
My question would be if there's any other downside of using P8 rather than P7 apart from having EL which I can't playback anyway?

Thnaks
Post Reply