Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
More reasons to collect physical media. Ugoos AM6B+.
-
- Posts: 2381
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
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.
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.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
reset_9999
i did it again with shooter. now with screenshots:
https://ibb.co/q1ZL44M
https://ibb.co/6HKkGnk
https://ibb.co/gv1pB4k
i did it again with shooter. now with screenshots:
https://ibb.co/q1ZL44M
https://ibb.co/6HKkGnk
https://ibb.co/gv1pB4k
-
- Posts: 127
- Joined: Thu Oct 08, 2020 5:19 pm
Re: Dolby Vision now possible through MP4 Mux.
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)RESET_9999 wrote: ↑Sun Oct 23, 2022 2:53 pmyes, 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.
& that’s why they are diff types of analysis modes some of us have only experienced 1type of analysis mode.
-
- Posts: 2381
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
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).
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.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
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
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
-
- Posts: 2381
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
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.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 127
- Joined: Thu Oct 08, 2020 5:19 pm
Re: Dolby Vision now possible through MP4 Mux.
The meta data results are close but never identical facts.RESET_9999 wrote: ↑Sun Oct 23, 2022 9:42 pm100% 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).
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)
-
- Posts: 2381
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
.
Last edited by RESET_9999 on Mon Oct 24, 2022 9:34 pm, edited 1 time in total.
Sorry for my English.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
-
- Posts: 2381
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
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!
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.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
Seriously, why be toxic here? It does nothing to move the discussion forward.
More reasons to collect physical media. Ugoos AM6B+.
Re: Dolby Vision now possible through MP4 Mux.
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.
MakeMKV Frequently Asked Questions
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
FAQ about BETA and PERMANENT keys.
How to aid in finding the answer to your problem: Activating Debug Logging
-
- Posts: 2381
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yes, your post really confused me

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.
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
DoVi_Scripts / DoVi Playback Devices / Movies HDR-DV Plot / Screenshot Comparisons
Re: Dolby Vision now possible through MP4 Mux.
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.
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.
Re: Dolby Vision now possible through MP4 Mux.
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).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.

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