Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

chros wrote:
Wed Feb 21, 2024 2:32 pm
Tmin=0 doesn't do anything with the raised black in DoVi on LG Oleds.
good to know thanks... Strange how the DV engine works differently in LLDV for that aspect.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 58
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

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?
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

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.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 58
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

RESET_9999 wrote:
Thu Feb 22, 2024 3:18 pm
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.
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
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

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


Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Trees
Posts: 58
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Trees »

RESET_9999 wrote:
Thu Feb 22, 2024 5:58 pm
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


Image
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!

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.

Post by Shellsobig30 »

RESET_9999 wrote:
Tue Feb 06, 2024 9:18 pm
sw5163 wrote:
Tue Feb 06, 2024 6:57 pm
Is there a way to disable tone mapping in Movies & TV app or energy player with MSFT HW video decoder, and pass through HDR10 metadata? Or do I have to use MPV for passing through HDR10 and switch to MSFT HW video decoder for tone mapping DV content?
no i think the OS HDR always sends incorrect static HDR10 metadata.
Do you mean the OS HDR sends incorrect static metadata even when using MadVR with HDR Passthrough? Is NV HDR any different?
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

Trees wrote:
Sat Feb 24, 2024 4:22 pm
Also, is there are difference in HDR quality when choosing a, say, MDL 10000 over 4000?
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
I also cannot seem to choose and MDL of 10000, I think I could in the past. Has it been removed?
this the only MDL possible in resolve and CM

Image
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
afarvvik
Posts: 14
Joined: Mon Jan 23, 2023 8:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by afarvvik »

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.

Post by RESET_9999 »

afarvvik wrote:
Wed Feb 28, 2024 2:59 am
hi @RESET_9999 is dovi tools available for arm64 linux anywhere?
dovi_tool cli: yes
dovi_scripts: no
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
frrilay
Posts: 1
Joined: Sun Aug 13, 2023 3:19 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by frrilay »

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 ;)
afarvvik
Posts: 14
Joined: Mon Jan 23, 2023 8:16 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by afarvvik »

RESET_9999 wrote:
Wed Feb 28, 2024 2:11 pm
afarvvik wrote:
Wed Feb 28, 2024 2:59 am
hi @RESET_9999 is dovi tools available for arm64 linux anywhere?
dovi_tool cli: yes
dovi_scripts: no
could you please provide a link, it is not on the github page & googling did not help. thanks.
quietvoid
Posts: 377
Joined: Sun Apr 19, 2020 4:15 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by quietvoid »

afarvvik wrote:
Thu Feb 29, 2024 10:15 am
could you please provide a link, it is not on the github page & googling did not help. thanks.
There are currently no Linux ARM64 builds.
Build it yourself.
RESET_9999
Posts: 2410
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

frrilay wrote:
Thu Feb 29, 2024 8:47 am
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 ;)
cmv4.0 has better tone mapping than cmv2.9.
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
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
Cannikin
Posts: 186
Joined: Tue Aug 18, 2020 11:54 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Cannikin »

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:

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 --
The stream identifier for the mp4 looks like:

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
Thanks for any help!
Post Reply