Dolby Vision now possible through MP4 Mux.

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

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

fransalas wrote:
Thu Jul 13, 2023 8:35 pm
I have several series in SDR and I have seen that your tool with the command 6-9 converts to HDR10
The script cannot convert SDR to HDR.
You need software like Davinci Resolve if you want to do that.
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 »

Lapihin_A wrote:
Tue Jul 11, 2023 7:57 pm
Please advise, I have two videos completely synchronized and with the same number of frames. The task is to add HDR10+ metadata from one video to the other. The two videos differ in frame size but with the same aspect ratio, the donor video with HDR10+ 1600p and the patient video 2160p. Question - is it possible to add HDR10+ metadata from one video to the other and vice versa if both videos differ in frame size? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
https://github.com/quietvoid/hdr10plus_tool
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
fransalas
Posts: 14
Joined: Wed Jul 05, 2023 12:49 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by fransalas »

Some explanatory manual of how to perform the process with DaVinci
Phantomas
Posts: 1
Joined: Sun Jul 11, 2021 12:35 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by Phantomas »

Hello! Please tell me with what software I can change the fps of the Atmos track?
Lapihin_A
Posts: 12
Joined: Fri Jul 23, 2021 8:44 am

Re: Dolby Vision now possible through MP4 Mux.

Post by Lapihin_A »

RESET_9999 wrote:
Thu Jul 13, 2023 11:51 pm
Lapihin_A wrote:
Tue Jul 11, 2023 7:57 pm
Please advise, I have two videos completely synchronized and with the same number of frames. The task is to add HDR10+ metadata from one video to the other. The two videos differ in frame size but with the same aspect ratio, the donor video with HDR10+ 1600p and the patient video 2160p. Question - is it possible to add HDR10+ metadata from one video to the other and vice versa if both videos differ in frame size? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
https://github.com/quietvoid/hdr10plus_tool
Hi RESET_9999! I know how, my question is exactly - Will the HDR10+ metadata work correctly IF! the two videos are different frame sizes? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
fransalas
Posts: 14
Joined: Wed Jul 05, 2023 12:49 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by fransalas »

There would be some possibility to add in your tool in the 6-9 the possibility to add or modify HDR metadata such as Luminance monitor mastering, Light level maximum content and in maximum medium frame .. thanks is just to know if you could
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

DoVi_Scripts_1.8.9.1.beta
(3-1) can now generate DV with the Dolby cmv4.0 algo without the need for Davinci Resolve. It can also work without an nvidia GPU.
It can generate frame-by-frame long-play or shot-by-shot metadata. I haven't compared the scene cut detection algo I'm using with the one in Resolve yet.

needed exe (metafier and cm_analyze) can be found here: https://customer.dolby.com/content-crea ... tools-v530
fransalas wrote:
Fri Jul 14, 2023 8:24 am
Some explanatory manual of how to perform the process with DaVinci
there's an SDR to HDR template in my script tutorial folder that will convert gamma 2.4 to PQ.
Then you have to play with the HDR settings in resolve.
Phantomas wrote:
Sat Jul 15, 2023 6:12 am
Hello! Please tell me with what software I can change the fps of the Atmos track?
DEE but you should change the video fps instead.
https://professional.dolby.com/product/ ... ng-engine/
Lapihin_A wrote:
Sat Jul 15, 2023 5:18 pm
Hi RESET_9999! I know how, my question is exactly - Will the HDR10+ metadata work correctly IF! the two videos are different frame sizes? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
if the frame order is the same, I guess so. I don't know much about hdr10plus
fransalas wrote:
Sun Jul 16, 2023 3:55 pm
There would be some possibility to add in your tool in the 6-9 the possibility to add or modify HDR metadata such as Luminance monitor mastering, Light level maximum content and in maximum medium frame .. thanks is just to know if you could
6-9 already takes the metadata from the source rpu.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
valington
Posts: 44
Joined: Tue May 02, 2023 1:39 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by valington »

RESET_9999 wrote:
Sun Jul 16, 2023 5:40 pm
DoVi_Scripts_1.8.9.1.beta
(3-1) can now generate DV with the Dolby cmv4.0 algo without the need for Davinci Resolve. It can also work without an nvidia GPU.
It can generate frame-by-frame long-play or shot-by-shot metadata. I haven't compared the scene cut detection algo I'm using with the one in Resolve yet.

needed exe (metafier and cm_analyze) can be found here: https://customer.dolby.com/content-crea ... tools-v530
fransalas wrote:
Fri Jul 14, 2023 8:24 am
Some explanatory manual of how to perform the process with DaVinci
there's an SDR to HDR template in my script tutorial folder that will convert gamma 2.4 to PQ.
Then you have to play with the HDR settings in resolve.
Phantomas wrote:
Sat Jul 15, 2023 6:12 am
Hello! Please tell me with what software I can change the fps of the Atmos track?
DEE but you should change the video fps instead.
https://professional.dolby.com/product/ ... ng-engine/
Lapihin_A wrote:
Sat Jul 15, 2023 5:18 pm
Hi RESET_9999! I know how, my question is exactly - Will the HDR10+ metadata work correctly IF! the two videos are different frame sizes? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
if the frame order is the same, I guess so. I don't know much about hdr10plus
fransalas wrote:
Sun Jul 16, 2023 3:55 pm
There would be some possibility to add in your tool in the 6-9 the possibility to add or modify HDR metadata such as Luminance monitor mastering, Light level maximum content and in maximum medium frame .. thanks is just to know if you could
6-9 already takes the metadata from the source rpu.
Hallo Reset looks like DRAG AND DROP don t work on windows 11
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

valington wrote:
Sun Jul 16, 2023 8:05 pm
Hallo Reset looks like DRAG AND DROP don t work on windows 11
viewtopic.php?p=137228#p137228
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dom61
Posts: 49
Joined: Sun Oct 25, 2009 4:54 pm
Location: Italy

Re: Dolby Vision now possible through MP4 Mux.

Post by dom61 »

@RESET_9999
Thanks for the updated Tools
Ugoos AM6B Plus | Remote control G20S PRO Plus | Splitter HDMI HDFury AVR-KEY | Display LG 65B6V | Cables HDMI KabelDirekt Pro series | Audio processor Yamaha RX-V775 | Rotel RMB-1075 | Storage Qnap Ts-431K +TL-D800C |
My PC Ryzen 7950X
johnjon94
Posts: 35
Joined: Thu Nov 11, 2021 5:59 am

Re: Dolby Vision now possible through MP4 Mux.

Post by johnjon94 »

RESET_9999 wrote:
Sun Jul 16, 2023 5:40 pm
DoVi_Scripts_1.8.9.1.beta
(3-1) can now generate DV with the Dolby cmv4.0 algo without the need for Davinci Resolve. It can also work without an nvidia GPU.
It can generate frame-by-frame long-play or shot-by-shot metadata. I haven't compared the scene cut detection algo I'm using with the one in Resolve yet.

needed exe (metafier and cm_analyze) can be found here: https://customer.dolby.com/content-crea ... tools-v530
fransalas wrote:
Fri Jul 14, 2023 8:24 am
Some explanatory manual of how to perform the process with DaVinci
there's an SDR to HDR template in my script tutorial folder that will convert gamma 2.4 to PQ.
Then you have to play with the HDR settings in resolve.
Phantomas wrote:
Sat Jul 15, 2023 6:12 am
Hello! Please tell me with what software I can change the fps of the Atmos track?
DEE but you should change the video fps instead.
https://professional.dolby.com/product/ ... ng-engine/
Lapihin_A wrote:
Sat Jul 15, 2023 5:18 pm
Hi RESET_9999! I know how, my question is exactly - Will the HDR10+ metadata work correctly IF! the two videos are different frame sizes? Is there any parameter similar to Level 5 in HDR10+ metadata as in Dolby Vision?
if the frame order is the same, I guess so. I don't know much about hdr10plus
fransalas wrote:
Sun Jul 16, 2023 3:55 pm
There would be some possibility to add in your tool in the 6-9 the possibility to add or modify HDR metadata such as Luminance monitor mastering, Light level maximum content and in maximum medium frame .. thanks is just to know if you could
6-9 already takes the metadata from the source rpu.
Awesome update. Looking forward to testing it out.

How is the processing speed compared to resolve?
RESET_9999
Posts: 2406
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by RESET_9999 »

johnjon94 wrote:
Sun Jul 16, 2023 9:44 pm
How is the processing speed compared to resolve?
the frame by frame analysis is faster because you don't have to do the scene cut detection.
the shot by shot is slower because the current scene detects algo can't use the gpu. It also detects much fewer shots than in resolve & original.
https://www.scenedetect.com/
if anyone knows a good scene-cut detector tool? please let me know.

Here's a full comparison between resolve and the cm_analyzer:

L1: https://slow.pics/c/frlloVtT
L2: https://slow.pics/c/DVh8ttfe
L3: https://slow.pics/c/iu6FypAK

As you can see Resolve + downscaling is still what produces the closest metadata to the original. The shot by shot analyze also boost the L1 number just like in resolve when you don't downscale.
This new workflow might still be useful to people that don't own Resolve.
Sorry for my English.
G5 / AM6B+ / Denon 7.2.4
DoVi_Scripts
DoVi Playback Devices
dapope
Posts: 39
Joined: Fri Oct 09, 2020 4:54 am

Re: Dolby Vision now possible through MP4 Mux.

Post by dapope »

Thanks for the new tools @RESET_1999. Can't wait to try them out.
But first I want to check that I am correctly diagnosing when files have brightness expanded via FEL layer.

First we have Mission Impossible: Fallout: https://slow.pics/GmtF2CDS/
This FEL file shows a maximum display luminance of 1000 nits in mediainfo, however here it is 4000. We can see the file actually reaches 4000 nits as well in the MaxCLL. So this would be an example of brightness expanded via FEL layer, correct?

Next is Carrie (1976): https://slow.pics/ynAwxGW9/
This is also FEL. Both mediainfo and this graph with RPU/L6 show mastering display luminance as 1000 nits. So this would be an example of a title where the brightness is NOT expanded via FEL?

Note that Mission Impossible: Fallout is not included on your list. But also, for sanity's sake, it would be great to keep track of which titles DON'T have expanded brightness via FEL layer, along with those that do.

Thank you so much for your help!
UNSCTrafalgar
Posts: 5
Joined: Fri Jul 14, 2023 5:17 pm

Re: Dolby Vision now possible through MP4 Mux.

Post by UNSCTrafalgar »

Hi all!

Completely noob question but I've spent a couple weeks looking for the answer and I haven't found one. I have a LG E8 55" connected to a Vizio M512A-H6 soundbar via ARC.

According to the DV Google Doc spreadsheet, my TV's internal player should be able to play the included DV sample files (dual-track and single-track dual-layer profile 7 DV) just fine but it's not. The single-track sample doesn't play ("file can't be recognized" error), and the dual-track sample trips the Dolby Vision tag but the video cycles through a literal rainbow of colors throughout playing it, and the player says the video doesn't support audio.

Played on Plex, the story is slightly different. The single-track sample video does play, but it only trips the HDR tag. The dual-track sample trips the Dolby Vision tag but does the same "rainbow" cycle.

Ultimately, my goal is to be able to convert profile 7 BL+EL+RPU UHD rips to profile 8 .MP4s to play on my Plex, but the only files that seem to play successfully on my Plex (run from a macOS server, played on my LG TV's WebOS app) in Dolby Vision are profile 5 WEB-DL rips. Atmos seems to only successfully play when it's EAC3+JOC DD+. The profile 8 .MP4s I mux together from a BL+EL+RPU DV track and TrueHD 7.1 Atmos do play, but they default to HDR10 and Dolby Digital audio. I'm aware that my TV won't play TrueHD period, so it's not as big a concern.

So my actual question is, is there something wrong with my TV? I've been using the DoVi Scripts v1.8.9 to convert the .MKV profile 7 UHD rips I have to profile 8 .MP4s, but I haven't found success yet. I'm probably just missing something obvious. At least I hope.
Amateur enthusiast 8)

LG E8 55” ——-> Vizio M512A-H6
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:
Sun Jul 02, 2023 2:51 pm
Trees wrote:
Sat Jul 01, 2023 7:54 am
Ignoring the bit rate, what HDR offers the best quality? Does P5 DV offer features P7 DV doesn't have (besides a slightly more efficient colour space)? Does P8 (HDR10/HDR10+ and DV) offer any features P5 / P7 doesn't have?
P7 FEL > P5 > P7 MEL = P8 > HDR10plus > HDR10 > SDR

P7 fel is 12bit so it is better than the P5 10bit colorspace.
P8 has the same dynamic metadata but only 10bit colors.


Image
So I was in the right track in the first place. Thank you very much!

Quick question; are you familiar with FFMPEG? I'm trying to convert a P5 MKV into a P5 MP4. Do you know the command for this? I've tried all sorts of options but the DV data seems to get erased, my TV does not trigger DV.

I would use your workflow tool, but I use Linux and it does not properly work in Wine nor in a virtual machine, for some reason...

Bonus question: I'm able convert P5 MKVs to P5 M2TS, which play fine on my TV, but subtitles aren't displayed. The subtitles section of the TVs internal video player detects them, but doesn't display them, is there any specific reason for this?
Post Reply