Dolby Vision now possible through MP4 Mux.
-
RESET_9999
- Posts: 2421
- 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.
-
RESET_9999
- Posts: 2421
- 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!
-
Gatorman
- Posts: 84
- Joined: Thu Feb 10, 2022 3:47 pm
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+ CE p3i PM4K.
-
Woodstock
- Posts: 10973
- Joined: Sun Jul 24, 2011 11:21 pm
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
-
RESET_9999
- Posts: 2421
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
yes, your post really confused meWoodstock 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.
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.
-
ragico
- Posts: 266
- Joined: Fri Feb 15, 2019 1:09 am
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.
-
Cr4z33
- Posts: 17
- Joined: Mon Dec 28, 2020 12:24 pm
- Location: Italy
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
-
Donpoku
- Posts: 66
- Joined: Wed Jul 03, 2019 3:43 pm
Re: Dolby Vision now possible through MP4 Mux.
You deserve a break indeed, thank you very much, true Jedi of DV world.RESET_9999 wrote: Mon Oct 24, 2022 10:52 pmyes, your post really confused meWoodstock 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.![]()
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.
-
kazuma
- Posts: 186
- Joined: Fri Nov 08, 2019 9:51 pm
Re: Dolby Vision now possible through MP4 Mux.
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.
quiet_void is the creator of these tools. None of this would be possible without dovi_tool created by him.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?
-
kazuma
- Posts: 186
- Joined: Fri Nov 08, 2019 9:51 pm
Re: Dolby Vision now possible through MP4 Mux.
who is quiet_void?johnjon94 wrote: Wed Oct 26, 2022 1:30 amquiet_void is the creator of these tools. None of this would be possible without dovi_tool created by him.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?
-
darrrkmanxxx
- Posts: 95
- Joined: Mon Apr 13, 2020 9:55 am
Re: Dolby Vision now possible through MP4 Mux.
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
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
-
Cr4z33
- Posts: 17
- Joined: Mon Dec 28, 2020 12:24 pm
- Location: Italy
Re: Dolby Vision now possible through MP4 Mux.
Can anyone help me?Cr4z33 wrote: Tue Oct 25, 2022 8:59 amSo 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?
It is my understanding that there are two DoVi tools out now that *might* do the HDR removing job?
The video track of my MKV has this specs:
Code: Select all
Video
ID : 1
Format : HEVC
Format/Info : High Efficiency Video Coding
Format profile : Main 10@L5@Main
HDR format : Dolby Vision, Version 1.0, dvhe.08.06, BL+RPU, Blu-ray compatible / SMPTE ST 2086, HDR10 compatible
Codec ID : V_MPEGH/ISO/HEVC
Duration : 1 h 53 min
Bit rate : 8 109 kb/s
Width : 3 840 pixels
Height : 2 160 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 24.000 FPS
Color space : YUV
Chroma subsampling : 4:2:0 (Type 2)
Bit depth : 10 bits
Bits/(Pixel*Frame) : 0.041
Stream size : 6.42 GiB (85%)
Language : Italian
Default : No
Forced : No
Color range : Limited
Color primaries : BT.2020
Transfer characteristics : PQ
Matrix coefficients : BT.2020 non-constant
Mastering display color primaries : BT.2020
Mastering display luminance : min: 0.0001 cd/m2, max: 1000 cd/m2Nvidia Shield TV Pro -> DENON AVR-X2200W -> LG OLED65GX6
-
ArArdin
- Posts: 196
- Joined: Fri Nov 20, 2020 1:40 pm
Re: Dolby Vision now possible through MP4 Mux.
RESET_9999's quote was about adding audio/subs to dual layer Dolby Vision. As your mkv video data concerns single layer Dolby Vision (BL+RPU), I partly miss out on the connection here.
What makes HDR video is that it's encoded that way. And which you can't just remove with a remux. "Removing" HDR would require tone remapping and reencoding.
Not sure, but possibly you're confusing with HDR10+ metadata, which can be carried by HDR video. Also, HDR10+ can be carried together with RPU. They are both dynamic metadata. A "DV only remux" as I understand it, is stripping HDR10+ from video that also carries RPU. It can be applied as a remedy to a player or tv showing playback issues when offered video holding both HDR10+ and RPU.
As for your mkv, other than bitrate striking me as low, the videodata does look correct for single layer Dolby Vision. Unfamiliar with Plex and your equipment, I wouldn't know why DV isn't working. Hopefully other members can tell you.
What makes HDR video is that it's encoded that way. And which you can't just remove with a remux. "Removing" HDR would require tone remapping and reencoding.
Not sure, but possibly you're confusing with HDR10+ metadata, which can be carried by HDR video. Also, HDR10+ can be carried together with RPU. They are both dynamic metadata. A "DV only remux" as I understand it, is stripping HDR10+ from video that also carries RPU. It can be applied as a remedy to a player or tv showing playback issues when offered video holding both HDR10+ and RPU.
As for your mkv, other than bitrate striking me as low, the videodata does look correct for single layer Dolby Vision. Unfamiliar with Plex and your equipment, I wouldn't know why DV isn't working. Hopefully other members can tell you.
-
Cr4z33
- Posts: 17
- Joined: Mon Dec 28, 2020 12:24 pm
- Location: Italy
Re: Dolby Vision now possible through MP4 Mux.
Thanks for your thoroughfull explanation!
I've already tried watching the MKV also with Kodi, but it keeps being played into HDR.
I will wait then for posts of other members.
Nvidia Shield TV Pro -> DENON AVR-X2200W -> LG OLED65GX6