good to know thanks... Strange how the DV engine works differently in LLDV for that aspect.
Dolby Vision now possible through MP4 Mux.
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Re: Dolby Vision now possible through MP4 Mux.
Question, I'm looking to batch analyse a folder. However, I want the MDL to be 7 and all the borders to be 0. Dovi_Scripts tells me to provide a external config file.
How do I do such thing?
How do I do such thing?
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
https://www.youtube.com/watch?v=jBqbG5XM54g
if your folder with files all have the same MDL and Active area, you don't have to provide external config files.
PS: please ask your dovi_scripts questions on doom9 official support thread: https://forum.doom9.org/showthread.php?t=185317
I'll eventually stop answering questions about my script here on makemkv.
if your folder with files all have the same MDL and Active area, you don't have to provide external config files.
PS: please ask your dovi_scripts questions on doom9 official support thread: https://forum.doom9.org/showthread.php?t=185317
I'll eventually stop answering questions about my script here on makemkv.
Re: Dolby Vision now possible through MP4 Mux.
But if I copy the folder to Dovi_Tools after selecting 3-1, it doesn't ask me the MDL or borders I want to use. So how does it know I want option 7 and 0 borders?RESET_9999 wrote: ↑Thu Feb 22, 2024 3:18 pmhttps://www.youtube.com/watch?v=jBqbG5XM54g
if your folder with files all have the same MDL and Active area, you don't have to provide external config files.
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
if you input a folder and no config file is found, it will ask you for a MDL and L5 which will be used for all the videos in the folder.
If the videos in your folder are cropped, the script won't ask you about it and will automatically set L5 to 0

If the videos in your folder are cropped, the script won't ask you about it and will automatically set L5 to 0

Re: Dolby Vision now possible through MP4 Mux.
Dovi_Tools usually doesn't ask me to choose an MDL or L5 when I input a whole folder. Edit: Weird, it does now. Typical!RESET_9999 wrote: ↑Thu Feb 22, 2024 5:58 pmif you input a folder and no config file is found, it will ask you for a MDL and L5 which will be used for all the videos in the folder.
If the videos in your folder are cropped, the script won't ask you about it and will automatically set L5 to 0
![]()
I also cannot seem to choose and MDL of 10000, I think I could in the past. Has it been removed? Also, is there are difference in HDR quality when choosing a, say, MDL 10000 over 4000?
-
Shellsobig30
- Posts: 1
- Joined: Sun Feb 25, 2024 2:44 am
Re: Dolby Vision now possible through MP4 Mux.
Do you mean the OS HDR sends incorrect static metadata even when using MadVR with HDR Passthrough? Is NV HDR any different?RESET_9999 wrote: ↑Tue Feb 06, 2024 9:18 pmno i think the OS HDR always sends incorrect static HDR10 metadata.
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
Yes, 4000 MDL looks much darker vs 1000. As for the metadata, the L1 max and min are the same but the avg is not calculated the same. Trims are also different.
see: https://slow.pics/c/xlgE3H1t
this the only MDL possible in resolve and CMI also cannot seem to choose and MDL of 10000, I think I could in the past. Has it been removed?

Re: Dolby Vision now possible through MP4 Mux.
hi @RESET_9999 is dovi tools available for arm64 linux anywhere?
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
dovi_tool cli: yes
dovi_scripts: no
Re: Dolby Vision now possible through MP4 Mux.
Hi RESET, using cm_analyze to generate DV will result in a CMv4.0 file with latest algorythm; what exactly do you loose when converting this file down to CMv2.9? The goal being to make it compatible with ATV for example (and even when Infuse adds support for CMv4.0, I understood from your previous posts that ATV doesn't handle CMv4.0 perfectly).
Taking the occasion to say merci beaucoup for your hard work
Taking the occasion to say merci beaucoup for your hard work
Re: Dolby Vision now possible through MP4 Mux.
could you please provide a link, it is not on the github page & googling did not help. thanks.
-
RESET_9999
- Posts: 2410
- Joined: Mon Aug 05, 2019 7:12 pm
Re: Dolby Vision now possible through MP4 Mux.
cmv4.0 has better tone mapping than cmv2.9.frrilay wrote: ↑Thu Feb 29, 2024 8:47 amHi RESET, using cm_analyze to generate DV will result in a CMv4.0 file with latest algorythm; what exactly do you loose when converting this file down to CMv2.9? The goal being to make it compatible with ATV for example (and even when Infuse adds support for CMv4.0, I understood from your previous posts that ATV doesn't handle CMv4.0 perfectly).
Taking the occasion to say merci beaucoup for your hard work![]()
It never clips highlights(tunning 1), is much brighter, and doesn't crush black/shadow details.
old cmv2.9 vs old cmv4.0 vs new cmv4.0 vs hdr10plus vs madVR (metadata comparison)
https://drive.google.com/file/d/1PiiK4W ... sp=sharing
Re: Dolby Vision now possible through MP4 Mux.
Hey everyone sorry to butt in on this thread but it seemed fairly related to what I'm trying to do:
Is there an easy ffmpeg command to convert an .mp4 with embedded DV (profile 5) to .mkv?
A google search for "mp4 with dolby vision to mkv" is all for doing the opposite—converting .mkv to .mp4. I've got plenty of DV MKVs that all play great (ripped with MakeMKV) but I recently got an .mp4 and can't figure out how to convert. When I try with a standard `ffmpeg -i movie.mp4 -map 0 -c copy movie.mkv` I get:
The stream identifier for the mp4 looks like:
Thanks for any help!
Is there an easy ffmpeg command to convert an .mp4 with embedded DV (profile 5) to .mkv?
A google search for "mp4 with dolby vision to mkv" is all for doing the opposite—converting .mkv to .mp4. I've got plenty of DV MKVs that all play great (ripped with MakeMKV) but I recently got an .mp4 and can't figure out how to convert. When I try with a standard `ffmpeg -i movie.mp4 -map 0 -c copy movie.mkv` I get:
Code: Select all
[matroska @ 0x11e028400] Tag dvh1 incompatible with output codec id '173' ([0][0][0][0])
Could not write header for output file #0 (incorrect codec parameters ?): Invalid data found when processing input
Error initializing output stream 0:2 --
Code: Select all
Stream #0:0(und): Video: hevc (Main 10) (dvh1 / 0x31687664), yuv420p10le(pc), 1920x1080 [SAR 1:1 DAR 16:9], 6829 kb/s, 23.98 fps, 23.98 tbr, 24k tbn, 23.98 tbc (default)
Metadata:
creation_time : 2024-03-02T05:05:29.000000Z
handler_name : VideoHandler
vendor_id : [0][0][0][0]
encoder : DOVI Coding
Side data:
DOVI configuration record: version: 1.0, profile: 5, level: 3, rpu flag: 1, el flag: 0, bl flag: 1, compatibility id: 0