Dolby Vision now possible through MP4 Mux.

Please post here for issues related to UHD discs
Message
Author
Gatorman
Posts: 79
Joined: Thu Feb 10, 2022 3:47 pm

Re: Dolby Vision now possible through MP4 Mux.

#8776 Post by Gatorman » Tue Sep 05, 2023 6:58 pm

@RESET_9999

I'm happy to see you're taking donations. Thank you for taking the time to consistently update your script.

To anyone who is looking for the link, it's in the TOOLS_README doc.

https://docs.google.com/document/d/1JQF ... p=drivesdk
More reasons to collect physical media. 2019 Shield TV Pro.


Trees
Posts: 41
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

#8778 Post by Trees » Wed Sep 06, 2023 2:45 pm

I'm trying to get a brightness plot of this:
HDR format :
Dolby Vision, Version 1.0, dvhe.08.07, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
I've used various versions of Dovi Scripts with various errors.

Is it not possible to plot Profile 8 Level 7 DV? I do not see Level 7 in DoVi_Scripts_1.9.2_MKV workflow 6-2-3/4/5.

Any guidance to plot said DV would be great.

Also, where would the plots be stored? In the same folder as the source MKV/MP4 or?

Thanks!

RESET_9999
Posts: 2058
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8779 Post by RESET_9999 » Wed Sep 06, 2023 3:31 pm

Trees wrote:
Wed Sep 06, 2023 2:45 pm
I'm trying to get a brightness plot of this:
HDR format :
Dolby Vision, Version 1.0, dvhe.08.07, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
I've used various versions of Dovi Scripts with various errors.

Is it not possible to plot Profile 8 Level 7 DV? I do not see Level 7 in DoVi_Scripts_1.9.2_MKV workflow 6-2-3/4/5.

Any guidance to plot said DV would be great.

Also, where would the plots be stored? In the same folder as the source MKV/MP4 or?

Thanks!
6-2-3 can plot any dv file.
It sounds like you're missing tools (check your pm). The default output path is the dovi_script folder so the graph picture will be in there.

Trees
Posts: 41
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

#8780 Post by Trees » Wed Sep 06, 2023 5:01 pm

RESET_9999 wrote:
Wed Sep 06, 2023 3:31 pm
Trees wrote:
Wed Sep 06, 2023 2:45 pm
I'm trying to get a brightness plot of this:
HDR format :
Dolby Vision, Version 1.0, dvhe.08.07, BL+RPU, HDR10 compatible / SMPTE ST 2094 App 4, Version 1, HDR10+ Profile B compatible
I've used various versions of Dovi Scripts with various errors.

Is it not possible to plot Profile 8 Level 7 DV? I do not see Level 7 in DoVi_Scripts_1.9.2_MKV workflow 6-2-3/4/5.

Any guidance to plot said DV would be great.

Also, where would the plots be stored? In the same folder as the source MKV/MP4 or?

Thanks!
6-2-3 can plot any dv file.
It sounds like you're missing tools (check your pm). The default output path is the dovi_script folder so the graph picture will be in there.
Thank you ever so much! it worked straight away!

Quick question:

Why isn't converting HDR10+ to Dolby Vision not recommended? Is this because the Dolby Algorithm is just better or are there other reasons?

speeddemon
Posts: 77
Joined: Wed Oct 16, 2019 3:44 am

Re: Dolby Vision now possible through MP4 Mux.

#8781 Post by speeddemon » Wed Sep 06, 2023 5:21 pm

Trees wrote:
Wed Sep 06, 2023 5:01 pm
Why isn't converting HDR10+ to Dolby Vision not recommended? Is this because the Dolby Algorithm is just better or are there other reasons?
Because you can now supply an HDR10+ file to the 3-1 process which will provide you with a Dolby Vision file using Dolby's latest algorithm and the original HDR10+ scene cuts, which is better.

RESET_9999
Posts: 2058
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8782 Post by RESET_9999 » Wed Sep 06, 2023 5:45 pm

Trees wrote:
Wed Sep 06, 2023 5:01 pm
Why isn't converting HDR10+ to Dolby Vision not recommended? Is this because the Dolby Algorithm is just better or are there other reasons?
The main reason is the average pq metadata, Dolby Vision is very different.
HDR10plus and madvr generation have very dynamic avg_pq numbers compared to DV which can cause some brightness fluctuation between shots.

https://slow.pics/c/WlGwchoE

sw5163
Posts: 146
Joined: Sat Jun 25, 2022 7:28 am

Re: Dolby Vision now possible through MP4 Mux.

#8783 Post by sw5163 » Thu Sep 07, 2023 3:09 am

EncodeThis420 wrote:
Thu Aug 03, 2023 8:43 pm
bobbymkV wrote:
Thu Aug 03, 2023 8:05 pm
EncodeThis420 wrote:
Thu Aug 03, 2023 5:08 pm


Thanks. This is kind of what I was afraid of. There's really no way (for a normal person like myself) to tell whether a "hybrid" encode was done properly. I'm basically seeing ONLY hybrid files for all new streaming shows being encoded. These encoders are not posting the original profile 5 sources which is absolutely infuriating. I rather just grab P5 versions so that I know that it has the correct brightness. Why in the world are people not doing this? What changed? Is there any possible way to like "reverse engineer" these files to split back out the p5 stream? or is that impossible?
I stopped grabbing p8 hybrids earlier this year when I learned all of this. There is really only one uploader that I trust.
Is there any way that you could share which uploader you trust? Not sure of the rules here or if you can even send private messages. Feel free to decline if I am crossing a line.

But yea. I just don't understand it.....uploaders who used to upload source P5 materials just randomly all switched to uploading P8 files. I have no idea what happened. I legit cannot find any P5 files of recent streamed shows. They're literally all P8 lol. If they know that P8 files are bad form....then why do they keep doing it?
Most dv release groups I know stop releasing P5. There's a Chinese group still releases itunes P5, but I don't know if they were the original uploader or they just modified someone else. And I'm also looking for more trusted release group, their releases sometimes just broke, frame rate slightly off, etc.
Indiana.Jones.and.the.Dial.of.Destiny.2023.2160p.iTunes.WEB-DL.DDP.7.1.Atmos.DV.H.265-DreamHD
I really hope groups could upload P5 and P8.1 separately, instead of just hybrid them. I think with the increase of brightness in screen panel, brightness mapping in RPU is becoming less important. The 11.5 bit color of P5 and 4:2:2 sampling of P7 seems more beneficial.

thirdmoon
Posts: 35
Joined: Mon Jul 03, 2023 6:17 am

Re: Dolby Vision now possible through MP4 Mux.

#8784 Post by thirdmoon » Thu Sep 07, 2023 7:15 am

@RESET_9999

1. What is the best alternative for watching FEL content on non FEL supported devices.
2. Is it possible to generate HDR10+ plus data using official scene cuts.

Thank you.

RESET_9999
Posts: 2058
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8785 Post by RESET_9999 » Thu Sep 07, 2023 11:04 am

thirdmoon wrote:
Thu Sep 07, 2023 7:15 am
@RESET_9999

1. What is the best alternative for watching FEL content on non FEL supported devices.
2. Is it possible to generate HDR10+ plus data using official scene cuts.

Thank you.
1. dovi baker + x265 with decent encode settings ( at least CRF-17 slow preset)
2- no

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

#8786 Post by NiCE77 » Thu Sep 07, 2023 11:48 am

@RESET_9999

I'm trying the DoViBaker workflow, is it normal that with Ryzen 7 7840HS + RTX 4060 the conversion speed is about 2.4 fps (0.1x) only?

RESET_9999
Posts: 2058
Joined: Mon Aug 05, 2019 7:12 pm

Re: Dolby Vision now possible through MP4 Mux.

#8787 Post by RESET_9999 » Thu Sep 07, 2023 12:09 pm

NiCE77 wrote:
Thu Sep 07, 2023 11:48 am
@RESET_9999

I'm trying the DoViBaker workflow, is it normal that with Ryzen 7 7840HS + RTX 4060 the conversion speed is about 2.4 fps (0.1x) only?
I don't know.
With my i9 13900ks + rtx3070, it's slightly slower than a regular HDR encode, about 6-7fps at slow preset.

NiCE77
Posts: 86
Joined: Sat Mar 28, 2020 7:49 am

Re: Dolby Vision now possible through MP4 Mux.

#8788 Post by NiCE77 » Thu Sep 07, 2023 12:14 pm

RESET_9999 wrote:
Thu Sep 07, 2023 12:09 pm
NiCE77 wrote:
Thu Sep 07, 2023 11:48 am
@RESET_9999

I'm trying the DoViBaker workflow, is it normal that with Ryzen 7 7840HS + RTX 4060 the conversion speed is about 2.4 fps (0.1x) only?
I don't know.
With my i9 13900ks + rtx3070, it's slightly slower than a regular HDR encode, about 6-7fps at slow preset.
Thanks, then it's normal :(

skull88
Posts: 50
Joined: Mon Mar 27, 2023 3:08 pm

Re: Dolby Vision now possible through MP4 Mux.

#8789 Post by skull88 » Thu Sep 07, 2023 12:18 pm

NiCE77 wrote:
Thu Sep 07, 2023 12:14 pm
RESET_9999 wrote:
Thu Sep 07, 2023 12:09 pm
NiCE77 wrote:
Thu Sep 07, 2023 11:48 am
@RESET_9999

I'm trying the DoViBaker workflow, is it normal that with Ryzen 7 7840HS + RTX 4060 the conversion speed is about 2.4 fps (0.1x) only?
I don't know.
With my i9 13900ks + rtx3070, it's slightly slower than a regular HDR encode, about 6-7fps at slow preset.
Thanks, then it's normal :(
Alternatively, you can always buy a good UHD BD player and your favourite (FEL) movies on disc. Time is money, no? :wink:

Trees
Posts: 41
Joined: Sat Sep 03, 2022 8:04 am

Re: Dolby Vision now possible through MP4 Mux.

#8790 Post by Trees » Thu Sep 07, 2023 3:27 pm

RESET_9999 wrote:
Wed Sep 06, 2023 5:45 pm
Trees wrote:
Wed Sep 06, 2023 5:01 pm
Why isn't converting HDR10+ to Dolby Vision not recommended? Is this because the Dolby Algorithm is just better or are there other reasons?
The main reason is the average pq metadata, Dolby Vision is very different.
HDR10plus and madvr generation have very dynamic avg_pq numbers compared to DV which can cause some brightness fluctuation between shots.

https://slow.pics/c/WlGwchoE
Thanks for the information.

I'm trying to create a CM 4.0 DV video from an HDR10+ video. However, I'm getting some errors. Any ideas? Here is the terminal output:

Code: Select all

Version: 1.9.2.9.beta_MKV                                                                  Date: 05-09-2023 05:02
   Contact: R3S3T_9999@proton.me




                        _____    __      ___       _____           _       _
                       |  __ \   \ \    / (_)     / ____|         (_)     | |
                       | |  | | __\ \  / / _     | (___   ___ _ __ _ _ __ | |_ ___
                       | |  | |/ _ \ \/ / | |     \___ \ / __| '__| | '_ \| __/ __|
                       | |__| | (_) \  /  | |     ____) | (__| |  | | |_) | |_\__ \
                       |_____/ \___/ \/   |_|    |_____/ \___|_|  |_| .__/ \__|___/
                       -Author: RESET_9999--------------------------|__|-----------



 Choose a mode...

1) MODE.I=  DoVi Inject/Convert/Edit/Re-sync TWO INPUTS (P8 Hybrid maker/Injector)
2) MODE.F=  DoVi Fix/Edit/Extract/Verify/Info ONE INPUT
3) MODE.H=  DoVi Maker from HDR10 (Dolby Algo or madVR or HDR10plus)
4) MODE.7=  DoVi Profile 7 Input (MKV/BDMV)
5) MODE.B=  DoVi MKV Batch Muxer
6) MODE.P=  DoVi Plotter
7) MODE.S=  DoVi Screenshots maker
8) MODE.M=  MIXED: Audio/Remover/Player/Encoder and more...
9) Exit

Choice? [1,2,3,4,5,6,7,8,9]?3
                                           *****************
                                           * CHOOSE A MODE *
                                           *****************


1) MODE.1= CM_analyzer HDR10 to DoVi maker(can batch) (Professional CM v4.0 Dolby Algo)
2) MODE.2= HDR10(madVR) or HDR10plus to DoVi maker (Not Recommended)
3) MODE.3= BATCH convert HDR10plus videos to DoVi (Not Recommended)
4) MODE.4= Batch measure a folder with mkv HDR10 files
5) MODE.5= Back to main menu

Choice? [1,2,3,4,5]?1
--------------------------------------------------------------------------------------------------------------------
-- Input must be HDR MKV/TS/M2TS/MP4/prores for the video and the external files: MDL5-bat/xml/rpu/json/txt
-- This workflow will convert an HDR10 video to DoVi using official Dolby Vision tools
-- Require Dolby metafier.exe and cm_analyze.exe
-- https://customer.dolby.com/content-creation-and-delivery/dolby-vision-professional-tools
-- L1 analysis tuning can be configured at line 100
-- if no external shot and If input has dynamic metadata, it will use its scene cuts.
-- If input has no dynamic metadata and no external list, madvr will be used for the shot list
-- You can force frame by frame(line 103)
-- if you dont provide external config.bat, the same L5/MDL will be used
-- External files: must be same path/filename as input. (bat/xml/rpu/json/txt) external files are prioritized.
-- External files will be moved into the output_path, do not move nor delete them until the script has completed
-------------------------------------------------------------------------------------------------------------------
Drag and drop folder with HEVC video files ONLY and press enter...
"E:\Movie_Tools\DoVi_Scripts\S05E01 - A Scandi Flick (HDR10+).hevc"
A subdirectory or file E:\Movie_Tools\DoVi_Scripts\Files_for_batch\ already exists.

----------------------------------------------
 BL Mastering Display Luminance and Colors:
 min: 0.0001 cd/m2, max: 1000 cd/m2 Display P3
----------------------------------------------

What is the Mastering Display? Choices are: 1000nits-P3= 20(default) / 1000nits-BT2020= 21 / 4000nits-P3= 7 / 4000nits-BT2020= 8 / 2000nits-P3= 30 / 2000nits-BT2020= 31
7
Manual or Auto L5... a or m ? and/or press enter... (default=m)
a
Processing... "E:\Movie_Tools\DoVi_Scripts\S05E01 - A Scandi Flick (HDR10+).hevc"
reading input tracks format/id/language...
done.

Making a small sample from the input...

Done!

Measuring the letterbox...


Done!

---------------------------------
--> left border: 0
--> right border: 0
--> top border: 0
--> bottom border: 0
---------------------------------

tsMuxeR version git-de67de8. github.com/justdan96/tsMuxer
HEVC muxing fps is not set. Get fps from stream. Value: 25
B-pyramid level 1 detected. Shift DTS to 2 frames
99.9% complete
Processed 149707 video frames
100.0% complete
Flushing write buffer
Demux complete.
Demuxing time: 7 min 28 sec
Reordering metadata... Done.
Reading parsed dynamic metadata... Done.
Generating and writing metadata to JSON file... Done.
Parsing RPU file...
Exporting metadata...
Done.
Exporting shots list from a HDR10plus JSON to a text file...
Parsing RPU file...
Exporting metadata...
Done.
Indexing, please wait... 100%
Writing index... done.
E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\script.avs: Unknown error occurred
Copyright (c) 2013-2023 Dolby Laboratories, Inc. All Rights Reserved
09/07/2023/17:15:14.921000000 CPU: Intel(R) Core(TM) i7-6600U CPU @ 2.60GHz (GenuineIntel) [ mmx sse sse2 sse3 ssse3 sse41 sse42 avx avx2 ]
09/07/2023/17:15:14.938000000 cm_analyze: ERROR Unable Open Sequence 'E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S05E01 - A Scandi Flick (HDR10+)_prores.422.mov'. Check file permissions are/or existence
Removing L2 trims.
Copyright (c) 2013-2023 Dolby Laboratories, Inc. All Rights Reserved
09/07/2023/17:15:15.952000000 metafier: ERROR Unable to open Metadata file 'E:\Movie_Tools\DoVi_Scripts\TEMP.folder77\S05E01 - A Scandi Flick (HDR10+)_DV.xml'
Generate RPU from XML
Parsing XML metadata...
Error: The system cannot find the file specified. (os error 2)
Error: The system cannot find the file specified. (os error 2)

Error: The system cannot find the file specified. (os error 2)
Press any key to continue . . .

Post Reply