View Full Version : [DoVi_Scripts] Multi-Function Scripts for Dolby Vision processing and a lot more...
Atari1971
14th September 2024, 08:30
Hello, here is the full capture of the final message...:scared:
Donate: https://www.paypal.com/donate/?hosted_button_id=6ML5KUZG9XGB6 Date: 13/09/2024 10:33
Contact: R3S3T_9999@proton.me Version: 3.0.2_MKV
Tutorials: https://www.youtube.com/playlist?list=PLFGpkrmX_eOL2Dre1ZyIJP2uMtcQYH8ql
_____ __ ___ _____ _ _
| __ \ \ \ / (_) / ____| (_) | |
| | | | __\ \ / / _ | (___ ___ _ __ _ _ __ | |_ ___
| | | |/ _ \ \/ / | | \___ \ / __| '__| | '_ \| __/ __|
| |__| | (_) \ / | | ____) | (__| | | | |_) | |_\__ \
|_____/ \___/ \/ |_| |_____/ \___|_| |_| .__/ \__|___/
-Author: RESET_9999--------------------------|__|-----------
1) MODE.I= INJECT / EDIT / EXTRACT / INFO / VALIDATE
2) MODE.F= VERIFY SYNC / REMOVER / TRANSFER LEVELS
3) MODE.H= DoVi MAKER from HDR10 (Dolby Algo or MadVR or HDR10+)
4) MODE.7= DoVi Profile 7 Input (MKV/BDMV)
5) MODE.B= DoVi MKV Batch Muxer
6) MODE.P= Plotter (DoVi/HDR10/HLG/SDR)
7) MODE.S= Screenshots & Player
8) MODE.E= Encoders (video and audio)
9) MODE.M= MORE
Choice? [1,2,3,4,5,6,7,8,9]?3
=========================
- SELECT A WORKFLOW -
=========================
1) Workflow.1= CM_analyzer HDR10 to DoVi maker (can batch) (Professional CM v4.0 Dolby Algo)
2) Workflow.2= Convert HDR10plus videos to DoVi (can batch) (Not Recommended)
3) Workflow.3= Back to main menu
Choice? [1,2,3]?2
--------------------------------------------------------------------------------------------------
-- NOT RECOMMENDED: you'll get better DV if you use 3-1.
-- See: https://drive.google.com/file/d/1IXR60nWe2Ylb7CTRjZ3_tpI5RsAajU5G/view?usp=drive_link
-- This script will batch convert HDR10plus or HDR10 video to DoVi with dynamic metadata or madVR
-- Can use external L5 json if filepath/name is the same as the BL input
-- 10/100nits floor can be removed at line 169
--------------------------------------------------------------------------------------------------
Drag and drop folder with files or a single file and press enter...
D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv
Auto or Manual Active Area L5 edit... a or m ? and press enter...
a
processing..."revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
Measuring letterbox of "D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
left border: 0
right border: 0
top border: 278
bottom border: 278
Reading input tracks format/id/language...
Done.
====================
- DEMUXING -
====================
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'F:\DoVi_Scripts\temp.folder34\hdr.hevc'. Container format: HEVC/H.265 elementary stream
Extracting track 1 with the CodecID 'A_DTS' to the file 'F:\DoVi_Scripts\temp.folder34\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.track_2_fre.dts'. Container format: Digital Theater System (DTS)
Progress: 100%
LAV Splitter Source not found.
Generating DoVi from a MadVR measurement file...
Reading generate config file...
Parsing madVR measurement file...
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: BaseThreadInitThunk
11: RtlUserThreadStart
Done.
Editing L5 (active area) to left=0, right= 0, top= 278, bottom= 278
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Appuyez sur une touche pour continuer...
Done.
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Editing L6 to MDL=1000/1, MaxCLL/FALL=0/0
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Appuyez sur une touche pour continuer...
Kuler087
14th September 2024, 10:19
LAV Splitter Source not found.
Lab filter is not installed or misconfigured
Atari1971
14th September 2024, 10:30
Lav Splitter is installed
Atari1971
14th September 2024, 10:37
What is the configuration of Lav Splitter? Lav Audio, video and splitter are installed.
Kuler087
14th September 2024, 14:43
all shown in the tutorial installation video but it depends on your hardware.
here's mine:
https://i.ibb.co/8KNCgzT/Capture-d-cran-2024-09-14-094045.png
Atari1971
14th September 2024, 14:58
I try it
Atari1971
14th September 2024, 15:34
same error...
Atari1971
14th September 2024, 15:51
My configuration:
Kuler087
14th September 2024, 15:55
Well, I dont know but the issue is on your end. Try the nightly lav filters
Atari1971
14th September 2024, 16:10
I also have the teckno3D app. Can this play a role?
Kuler087
14th September 2024, 16:17
I dont know what it is but probably not.
Your best option is to try lavfilters nightly and different decoding options (especially if you don't have a GPU).
Atari1971
14th September 2024, 16:57
New error, but with the same purpose (Nightly lav filters):
Donate: https://www.paypal.com/donate/?hosted_button_id=6ML5KUZG9XGB6 Date: 14/09/2024 11:42
Contact: R3S3T_9999@proton.me Version: 3.0.3.beta_MKV
Tutorials: https://www.youtube.com/playlist?list=PLFGpkrmX_eOL2Dre1ZyIJP2uMtcQYH8ql
_____ __ ___ _____ _ _
| __ \ \ \ / (_) / ____| (_) | |
| | | | __\ \ / / _ | (___ ___ _ __ _ _ __ | |_ ___
| | | |/ _ \ \/ / | | \___ \ / __| '__| | '_ \| __/ __|
| |__| | (_) \ / | | ____) | (__| | | | |_) | |_\__ \
|_____/ \___/ \/ |_| |_____/ \___|_| |_| .__/ \__|___/
-Author: RESET_9999--------------------------|__|-----------
1) MODE.I= INJECT / EDIT / EXTRACT / INFO / VALIDATE
2) MODE.F= VERIFY SYNC / REMOVER / TRANSFER LEVELS
3) MODE.H= DoVi MAKER from HDR10 (Dolby Algo or MadVR or HDR10+)
4) MODE.7= DoVi Profile 7 Input (MKV/BDMV)
5) MODE.B= DoVi MKV Batch Muxer
6) MODE.P= Plotter (DoVi/HDR10/HLG/SDR)
7) MODE.S= Screenshots & Player
8) MODE.E= Encoders (video and audio)
9) MODE.M= MORE
Choice? [1,2,3,4,5,6,7,8,9]?3
=========================
- SELECT A WORKFLOW -
=========================
1) Workflow.1= CM_analyzer HDR10 to DoVi maker (can batch) (Professional CM v4.0 Dolby Algo)
2) Workflow.2= Convert HDR10plus videos to DoVi (can batch) (Not Recommended)
3) Workflow.3= Back to main menu
Choice? [1,2,3]?2
--------------------------------------------------------------------------------------------------
-- NOT RECOMMENDED: you'll get better DV if you use 3-1.
-- See: https://drive.google.com/file/d/1IXR60nWe2Ylb7CTRjZ3_tpI5RsAajU5G/view?usp=drive_link
-- This script will batch convert HDR10plus or HDR10 video to DoVi with dynamic metadata or madVR
-- Can use external L5 json if filepath/name is the same as the BL input
-- 10/100nits floor can be removed at line 169
--------------------------------------------------------------------------------------------------
Drag and drop folder with files or a single file and press enter...
D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv
Auto or Manual Active Area L5 edit... a or m ? and press enter...
a
processing..."revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
Measuring letterbox of "D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
left border: 0
right border: 0
top border: 278
bottom border: 278
Reading input tracks format/id/language...
Done.
====================
- DEMUXING -
====================
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'F:\DoVi_Scripts\temp.folder34\hdr.hevc'. Container format: HEVC/H.265 elementary stream
Extracting track 1 with the CodecID 'A_DTS' to the file 'F:\DoVi_Scripts\temp.folder34\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.track_2_fre.dts'. Container format: Digital Theater System (DTS)
Progress: 100%
Measuring video file "D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv" using D3D11 (copy-back)...
Metadata:
Mastering display luminance: 0.0001/1000, gamut: 0.708 0.292, 0.131 0.046, 0.17 0.797, 0.3127 0.329
MaxCLL: 1000, MaxFALL: 400 nits
For some reason, measurement didn't produce a "complete" file.
Generating DoVi from a MadVR measurement file...
Reading generate config file...
Parsing madVR measurement file...
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: BaseThreadInitThunk
11: RtlUserThreadStart
Done.
Editing L5 (active area) to left=0, right= 0, top= 278, bottom= 278
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
guest
14th September 2024, 17:05
New error, but with the same purpose (Nightly lav filters)
Maybe you should provide a sample of the video that is causing this problem...see if Kuler can replicate it !!
DMD
14th September 2024, 17:08
I performed procedure 3-2 on a sample file (one minute) in HDR10+ and a everything worked smoothly.
Kuler087
14th September 2024, 17:23
New error, but with the same purpose (Nightly lav filters):
Now you got madvr+lavfilters working. Unfortunately, the problem is your input file and there's nothing I can do about it. Sometimes madVR fails to measure videos but it rarely happens with MKV files. I usually get this issue when the container is TS/M2TS and simply remuxing it in mkvtoolnix fix the issue.
If you try with other ''proper'' HDR10 mkv files , it should work.
Kuler087
14th September 2024, 17:42
I performed procedure 3-2 on a sample file (one minute) in HDR10+ and a everything worked smoothly.
FYI, when the input has HDR10plus, workflow 3-2 doesn't use madvr to generate DV. It just convert the original HDR10plus metadata to Level 1 DV. @Atari1971 file is HDR10 only so madvr has to measure the video.
About the HDR10plus to DV conversion, there's a potential improvement thanks to @doppingkoala on the CoreELEC forum (https://discourse.coreelec.org/t/dynamic-conversion-of-hdr10-sei-to-dv-p8-nal/51770/166)
10 movies example: https://slow.pics/c/NnIvEwN7
dynamic metadata files: https://drive.google.com/drive/u/0/folders/1BgYitM6lM-MlDSstIK4E8_fCVnWjHFE8
latest DS beta with this update: https://drive.google.com/file/d/128gq8aDUTKA_aT7SQsM9dkjA1EP1sosR/view?usp=drive_link
put this file in tool folder: https://mega.nz/file/hbkQWDDI#7ml6Pr1SKXsTLNnhFOS6iVCzJi68n9w8sqk7yWPFo4s
The latest DS beta also has a new workflow(2-7) that can quickly parse your DV library and export the information to a text file like this (https://justpaste.it/3uryc). It will also calculate how many FEL/MEL/P7/P8/P5/cmv4.0/cmv2.9 movie you have.
my library:
Profile 7 FEL total: 274
Profile 8 total: 1013
Profile 5 total: 78
CMv4.0 total: 674
CMv2.9 total: 692
DMD
14th September 2024, 17:50
FYI, when the input has HDR10plus, workflow 3-2 doesn't use madvr to generate DV. It just convert the original HDR10plus metadata to Level 1 DV. @Atari1971 file is HDR10 only so madvr has to measure the video.........
Thank you very much.
I was not aware of this information and thank you for the new feature that allows me to analyze movies.
Atari1971
14th September 2024, 18:52
I thought it was good, but in the end I got this message... :(
Custom DoVi_Scripts by the TEKNO3D Labs team.
Date: 14/09/2024 13:00
Contact Author: R3S3T_9999@proton.me Version: [Custom]_MKV
Dolby Vision Generation
====================================================================================
Generate Scene by Scene Dolby Vision metadata [Official cm_analyze by Dolby Labs].
Output will be placed in the DoVi_Scripts_Output folder [Software Installation Folder/HDR10Plus]
====================================================================================
_____ __ ___ _____ _ _
| __ \ \ \ / (_) / ____| (_) | |
| | | | __\ \ / / _ | (___ ___ _ __ _ _ __ | |_ ___
| | | |/ _ \ \/ / | | \___ \ / __| '__| | '_ \| __/ __|
| |__| | (_) \ / | | ____) | (__| | | | |_) | |_\__ \
|_____/ \___/ \/ |_| |_____/ \___|_| |_| .__/ \__|___/
-Author: RESET_9999--------------------------|__|-----------
--------------------------------------------------------------------------------------------------------------------
-- Input must be HDR MKV/TS/M2TS/MP4/MOV(prores) for the video and the external files: MDL5-bat/xml/rpu/json/txt
-- Input can be a folder or a single file
-- Input with ")" in the filename will NOT work and [] in the filename is not allowed by dolby tools
-- This workflow will convert an HDR10 video to DoVi using official Dolby Vision tools
-- Require Dolby metafier.exe , cm_analyze.exe, lavfilter, madvr and avisynth+
-- https://customer.dolby.com/content-creation-and-delivery/dolby-vision-professional-tools
-------------------------------------------------------------------------------------------------------------------
Scene by Scene metadata generation will be performed using GPU.
Drag and drop folder with HEVC video files or a single file and press enter...
F:\Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter.mkv
------------------------------------------------
BL Mastering Display Luminance and Colors:
min: 0.0001 cd/m2, max: 1000 cd/m2 BT.2020
------------------------------------------------
What is the Mastering Display? Choices are: 1000nits-P3= 20(default) / 1000nits-BT2020= 21 [Converter's Default] / 4000nits-P3= 7 / 4000nits-BT2020= 8 / 2000nits-P3= 30 / 2000nits-BT2020= 31
2121
Manual or Auto L5... a or m ? and/or press enter... (default=m)
a
Processing: "Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
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: 277
--> bottom border: 277
---------------------------------
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'F:\SDR_TO_HDR_VIDEO_CONVERTER\HDR10Plus\DoVi_Scripts_Output\temp.folder77\BL.hevc'. Container format: HEVC/H.265 elementary stream
Progress: 100%
Measuring video file "F:\Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter.mkv" using D3D11 (copy-back)...
Metadata:
Mastering display luminance: 0.0001/1000, gamut: 0.708 0.292, 0.131 0.046, 0.17 0.797, 0.3127 0.329
MaxCLL: 1000, MaxFALL: 400 nits
Measurements:
Frames: 164613, MaxCLL 100%: 626, 99.9%: 585, MaxFALL: 496, AvgFALL: 15, AvgFMLL: 310 nits
Reading generate config file...
Parsing madVR measurement file...
Generating metadata: Profile 8.1 (HDR10)...
Generated metadata for 164613 frames
Done.
1 fichier(s) déplacé(s).
Parsing RPU file...
Exporting scenes list...
Done.
Indexing, please wait... 100%
Writing index... done.
Input #0, avisynth, from 'F:\SDR_TO_HDR_VIDEO_CONVERTER\HDR10Plus\DoVi_Scripts_Output\temp.folder77\script.avs':
Duration: 01:54:25.73, start: 0.000000, bitrate: N/A
Stream #0:0: Video: rawvideo (Y3[11][10] / 0xA0B3359), yuv420p10le(tv, bt2020nc/bt2020/smpte2084, progressive), 3840x2160, 23.98 fps, 23.98 tbr, 23.98 tbn
Stream mapping:
Stream #0:0 -> #0:0 (rawvideo (native) -> prores (prores_ks))
Press [q] to stop, [?] for help
Output #0, mov, to 'F:\SDR_TO_HDR_VIDEO_CONVERTER\HDR10Plus\DoVi_Scripts_Output\temp.folder77\Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter_prores.422.mov':
Metadata:
encoder : Lavf60.21.101
Stream #0:0: Video: prores (HQ) (apch / 0x68637061), yuv422p10le(tv, bt2020nc/bt2020/smpte2084, progressive), 3840x2160, q=2-31, 200 kb/s, 23.98 fps, 24k tbn
Metadata:
encoder : Lavc60.40.100 prores_ks
[out#0/mov @ 0000016daec12a40] video:135937513KiB audio:0KiB subtitle:0KiB other streams:0KiB global headers:0KiB muxing overhead: 0.001388%
frame=164613 fps= 48 q=-0.0 Lsize=135939400KiB time=01:54:25.73 bitrate=162199.1kbits/s speed=2.02x
Copyright (c) 2013-2024 Dolby Laboratories, Inc. All Rights Reserved
09/14/2024/19:44:05.616000000 CPU: INFO 13th Gen Intel(R) Core(TM) i9-13900KF (GenuineIntel) [ mmx sse sse2 sse3 ssse3 sse41 sse42 avx avx2 fma ]
09/14/2024/19:44:05.683000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:05.740000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:05.816000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:05.859000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:05.909000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:05.999000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:06.050000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:06.161000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:44:06.345000000 cm_analyze: INFO Shot cut detection is disabled when shot list is used
09/14/2024/19:44:06.346000000 cm_analyze: INFO Source: 'file:///F:/SDR_TO_HDR_VIDEO_CONVERTER/HDR10Plus/DoVi_Scripts_Output/temp.folder77/Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter_prores.422.mov'
09/14/2024/19:44:06.346000000 cm_analyze: INFO Master Display: 1000-nit, BT.2020, D65, ST.2084, Full
09/14/2024/19:44:06.346000000 cm_analyze: INFO Src Info: '3840x2160x3 u16 interleaved 422 le tight 0-164612 23.976fps top_left pq ycbcr_bt2020 video bt2020'
09/14/2024/19:44:06.347000000 cm_analyze: INFO Frames: 0 - 164612
09/14/2024/19:44:06.347000000 cm_analyze: INFO Frame rate: 24000/1001
09/14/2024/19:44:06.347000000 cm_analyze: INFO Algorithm Version: 4
09/14/2024/19:44:06.347000000 cm_analyze: INFO XML Version: 4.0.2
09/14/2024/19:44:06.376000000 analysis: INFO analyzing from 0 - 228 - dissolve=0
[...]
09/14/2024/19:44:06.818000000 cm_analyze: INFO Metadata aspect ratios: canvas 1.777778e+00, image 2.391034e+00
09/14/2024/19:44:06.838000000 cuda: INFO initializing CUDA
09/14/2024/19:44:07.000000000 cuda: INFO using CUDA version 9.2.0
09/14/2024/19:44:07.000000000 cuda: INFO NVIDIA GeForce RTX 4070 Ti: compute 8.9, cores 7680*2610MHz, memory 12281MB
Removing L2 trims.te. Last frame: 0.254 seconds. ETA: 6:44:49.606
Copyright (c) 2013-2024 Dolby Laboratories, Inc. All Rights Reserved
09/14/2024/19:57:28.299000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.303000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.305000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.307000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.308000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.308000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.310000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.312000000 plugin_manager: WARNING plugin does not contain dlb_plugin_file_io_init_v1
09/14/2024/19:57:28.367000000 metafier: ERROR unable to open file file:///F:/SDR_TO_HDR_VIDEO_CONVERTER/HDR10Plus/DoVi_Scripts_Output/temp.folder77/Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter_DV.xml (file does not exist)
Generate RPU from XML
Parsing XML metadata...
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Fichier introuvable - Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter_DV.xml
Le fichier spécifié est introuvable.
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: expected value at line 21 column 35
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
convert: unable to open image 'F:\Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter_DoVi_L1_PLOT1.png': No such file or directory @ error/blob.c/OpenBlob/3569.
convert: no images defined `F:\Poltergeist_HDR-1000nits-HEVC_TEKNO3DConverter_DoVi_L1_PLOT.png' @ error/convert.c/ConvertImageCommand/3342.
========= Dolby Vision PLOT stored in the DoVi_Scripts_Output Folder =========
Parsing RPU file...
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Appuyez sur une touche pour continuer...
mkvmerge v76.0 ('Celebration') 64-bit
Kuler087
14th September 2024, 19:25
This is an old custom version of my script not made by me. You have to use the official DoVi_Scripts version (https://github.com/R3S3t9999/DoVi_Scripts) if you want me to help you.
Atari1971
14th September 2024, 19:40
Ok. How do we do a scene-by-scene analysis with official DoVi_Scripts version instead of frame-by-frame analysis? thanks
Atari1971
14th September 2024, 19:45
Donate: https://www.paypal.com/donate/?hosted_button_id=6ML5KUZG9XGB6 Date: 14/09/2024 11:42
Contact: R3S3T_9999@proton.me Version: 3.0.3.beta_MKV
Tutorials: https://www.youtube.com/playlist?list=PLFGpkrmX_eOL2Dre1ZyIJP2uMtcQYH8ql
_____ __ ___ _____ _ _
| __ \ \ \ / (_) / ____| (_) | |
| | | | __\ \ / / _ | (___ ___ _ __ _ _ __ | |_ ___
| | | |/ _ \ \/ / | | \___ \ / __| '__| | '_ \| __/ __|
| |__| | (_) \ / | | ____) | (__| | | | |_) | |_\__ \
|_____/ \___/ \/ |_| |_____/ \___|_| |_| .__/ \__|___/
-Author: RESET_9999--------------------------|__|-----------
1) MODE.I= INJECT / EDIT / EXTRACT / INFO / VALIDATE
2) MODE.F= VERIFY SYNC / REMOVER / TRANSFER LEVELS
3) MODE.H= DoVi MAKER from HDR10 (Dolby Algo or MadVR or HDR10+)
4) MODE.7= DoVi Profile 7 Input (MKV/BDMV)
5) MODE.B= DoVi MKV Batch Muxer
6) MODE.P= Plotter (DoVi/HDR10/HLG/SDR)
7) MODE.S= Screenshots & Player
8) MODE.E= Encoders (video and audio)
9) MODE.M= MORE
Choice? [1,2,3,4,5,6,7,8,9]?3
=========================
- SELECT A WORKFLOW -
=========================
1) Workflow.1= CM_analyzer HDR10 to DoVi maker (can batch) (Professional CM v4.0 Dolby Algo)
2) Workflow.2= Convert HDR10plus videos to DoVi (can batch) (Not Recommended)
3) Workflow.3= Back to main menu
Choice? [1,2,3]?2
--------------------------------------------------------------------------------------------------
-- NOT RECOMMENDED: you'll get better DV if you use 3-1.
-- See: https://drive.google.com/file/d/1IXR60nWe2Ylb7CTRjZ3_tpI5RsAajU5G/view?usp=drive_link
-- This script will batch convert HDR10plus or HDR10 video to DoVi with dynamic metadata or madVR
-- Can use external L5 json if filepath/name is the same as the BL input
-- 10/100nits floor can be removed at line 169
--------------------------------------------------------------------------------------------------
Drag and drop folder with files or a single file and press enter...
D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv
Auto or Manual Active Area L5 edit... a or m ? and press enter...
a
processing..."revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
Measuring letterbox of "D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv"
left border: 0
right border: 0
top border: 278
bottom border: 278
Reading input tracks format/id/language...
Done.
====================
- DEMUXING -
====================
Extracting track 0 with the CodecID 'V_MPEGH/ISO/HEVC' to the file 'F:\DoVi_Scripts\temp.folder34\hdr.hevc'. Container format: HEVC/H.265 elementary stream
Extracting track 1 with the CodecID 'A_DTS' to the file 'F:\DoVi_Scripts\temp.folder34\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.track_2_fre.dts'. Container format: Digital Theater System (DTS)
Progress: 100%
Measuring video file "D:\revenant_HDR-1000nits-HEVC_TEKNO3DConverter.mkv" using DXVA2 (copy-back)...
Metadata:
Mastering display luminance: 0.0001/1000, gamut: 0.708 0.292, 0.131 0.046, 0.17 0.797, 0.3127 0.329
MaxCLL: 1000, MaxFALL: 400 nits
For some reason, measurement didn't produce a "complete" file.
Generating DoVi from a MadVR measurement file...
Reading generate config file...
Parsing madVR measurement file...
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: BaseThreadInitThunk
11: RtlUserThreadStart
Done.
Editing L5 (active area) to left=0, right= 0, top= 278, bottom= 278
Error: Le fichier spécifié est introuvable. (os error 2)
Stack backtrace:
0: <unknown>
1: <unknown>
2: <unknown>
3: <unknown>
4: <unknown>
5: <unknown>
6: <unknown>
7: <unknown>
8: <unknown>
9: <unknown>
10: <unknown>
11: BaseThreadInitThunk
12: RtlUserThreadStart
Kuler087
14th September 2024, 19:48
Ok. How do we do a scene-by-scene analysis with official DoVi_Scripts version instead of frame-by-frame analysis? thanks
there are two workflows( 3-1 and 3-2) to generate DV, and all default to shot-by-shot metadata. To enable frame-by-frame metadata, you would have to set line 115 to YES
:: choose if you want to force frame by frame analysis in 3-1 (default = NO)
set force.FBF=NO
[CODE]
Metadata:
Mastering display luminance: 0.0001/1000, gamut: 0.708 0.292, 0.131 0.046, 0.17 0.797, 0.3127 0.329
MaxCLL: 1000, MaxFALL: 400 nits
For some reason, measurement didn't produce a "complete" file.
I already answered that.
Atari1971
14th September 2024, 19:56
Ok thank you very much :)
AbuQutaita
16th September 2024, 16:18
When using 8-2-1, is comparing the encode MaxFALL to the source useful? Source had 632 cd/m2 and encode has 341 cd/m2. Also, are there any situations where one should be careful about doing FEL baking when converting from DVP7 to DVP8, or will it always result in a better copy?
Thanks
Kuler087
16th September 2024, 16:43
When using 8-2-1, is comparing the encode MaxFALL to the source useful? Source had 632 cd/m2 and encode has 341 cd/m2.
When your input is FEL, the script takes the static metadata from the RPU and ignores the original ones. Maxfall is useless in HDR10 anyway so that doesn't matter.
Also, are there any situations where one should be careful about doing FEL baking when converting from DVP7 to DVP8, or will it always result in a better copy?
Well, FEL + BL merged restore the original 12bit Master so it should always be better but I've once seen a movie that I didn't like because FEL was raising the black levels. Watchmen Ultimate Cut IIRC.
Kuler087
23rd September 2024, 16:00
Work in progress, a GUI for DoVi_Scripts:
https://s11.gifyu.com/images/SAnow.gif
Gatorman3385
23rd September 2024, 17:29
Work in progress, a GUI for DoVi_Scripts:
This looks great! Willing to test if needed.
Kuler087
23rd September 2024, 18:08
thanks, I still have some code to write before releasing but it should be available for testing soon(ish) when I release DS 3.0.3
- (2-7) Added a new workflow that can batch export the DV RPU summary info to a text file (very fast, about 5-10sec per file)
- (9-8) Added a new workflow that simply convert 12-bit PQ values to Nits or Nits values to 12-bit PQ
- (8-6) Audio waveform plot can now downmix 7.1 to 5.1 (line 187, default = NO)
- (6-2) When you opt to CROP, added an option to convert to prores instead of reading a VERY slow avisynth script. Depending on your CPU, it may be faster but require more HDD space. ( line 165 default = NO)
- (3-2) Improved HDR10plus and madVR to Dolby Vision metadata conversion. New tool needed: Thank's to doppingkoala !
- Added a timer to all the workflows.
DMD
23rd September 2024, 19:14
Work in progress, a GUI for DoVi_Scripts:
.....
Great!!!
Can't wait to try it out
Congratulations on the time and sacrifices you are putting into this project.
dbezerra
23rd September 2024, 20:57
@kuler087 what are the encoding options you use when baking the FEL layer? have you experienced any loss in quality due to the encoding choices? Do you always use the same one or does it vary depending on the source (digital vs lots of grain, dark movie vs lots of light, etc).
Kuler087
23rd September 2024, 21:11
I dont encode movies and I'm no expert with the x265.exe settings. The best approach is always to use different settings based on the source type as you said.
I think the script default settings(line 199) are decent and in the comparisons I did, it looks transparent to the source but you might have to use higher CRF values for grainy content because the encode could end up larger than the source.
Vymrr
26th September 2024, 12:30
How do I use the scripts to check if a REMUX DV P7 mkv has FEL encoding?
Edit: Nvm, I found the answer - Workflow 1 RPU file summary
CineManiac
27th September 2024, 17:20
Hey Kuler, is it possible for you to confirm this HDR10+ plot is accurate?
https://i.imgur.com/mg4OTMK.png
https://i.imgur.com/KSwWnY6.png
I can send the json as well.
Kuler087
27th September 2024, 17:31
Interesting, first time I've seen a static HDR10plus plot. It looks correct because it only has 1 shot/scene.
It doesn't matter since the whole movie is under 100nits.
CineManiac
27th September 2024, 17:38
Interesting, first time I've seen a static HDR10plus plot. It looks correct because it only has 1 shot/scene.
It doesn't matter since the whole movie is under 100nits.
Okay, thanks, man. And thank you for all the hard work you do. I just made another donation :)
Kuler087
27th September 2024, 17:41
Thank you :)
Did i already give you have access to my RPU collection (over 1000rpus) ? I give a link to any donors.
lemaireus
28th September 2024, 08:39
Hi Kuler, thank you so very much for these wonderful scripts. Thanks to you, I have been able to do my first EAC3 7.1 encode from a TrueHD Atmos 7.1 track. I have three questions or, in fact, one question asked in three different ways:
1. Is there any way in which I can get DoVi_scripts to encode to 7.1 EAC3-JOC format?
2. Is there any way in which DoVi_scripts can extract Atmos metadata from a TrueHD Atmos track and inject that back into an EAC3 7.1 encode?
3. Is it possible that DoVi_scripts's EAC3 7.1 encode already includes JOC but cannot use the name of that format because of licensing issues?
Basically, I am searching for a way to encode to EAC3 7.1 with Atmos intact. Any help would be much appreciated. Thank you.
Kuler087
28th September 2024, 13:53
No, DS cannot encode EAC3 + the atmos metadata. But there's a way because I've seen other people doing it. The quality was much worse than DS 7.1 EAC3 .
lemaireus
28th September 2024, 16:28
The quality was much worse than DS 7.1 EAC3 .
Thank you for letting me know that, Kuler. There's little point in using an encoder that will produce substandard results, so I shall let go of the EAC3-JOC project for now.
Wish you all the very best with the work that you are doing on a GUI for DoVi_Scripts.
lemaireus
29th September 2024, 04:51
I have run into two issues:
1. Each time I encode audio with EAE in DoVi_Scripts, a second CMD window which initially flashes a sign about Dolby being a proprietary format, begins flashing this when the track is being encoded:
https://i.postimg.cc/m2BgqfQb/EAC3-Failure-Message.jpg
However, the encoded audio track I get comes out just fine. Any ideas on what I might be doing wrong?
2. Another alert that I haven't been able to figure out is this, highlighted in the blue rectangle:
https://i.postimg.cc/ydCHZcjV/EAE-Alert.jpg
Kuler087
29th September 2024, 13:07
it's normal, you can ignore it.
lemaireus
29th September 2024, 13:23
it's normal, you can ignore it.
That is reassuring. Thank you!
CineManiac
30th September 2024, 06:32
Thank you :)
Did i already give you have access to my RPU collection (over 1000rpus) ? I give a link to any donors.
Oh yeah I've got it, thanks :)
sk2316
1st October 2024, 07:59
1.sdr file with sharp picture
2.hdr10 file with worse picture
can i extract hdr10 meta and inject to sdr file?
Kuler087
1st October 2024, 13:49
1.sdr file with sharp picture
2.hdr10 file with worse picture
can i extract hdr10 meta and inject to sdr file?
no, you can't and even if you could, your SDR video would still be 100nits.
Hellboy.
1st October 2024, 19:28
1.sdr file with sharp picture
2.hdr10 file with worse picture
can i extract hdr10 meta and inject to sdr file?
Why are you asking the same question that already someone give you the answer in another thread???
https://forum.doom9.org/showthread.php?p=2007433#post2007433
sk2316
2nd October 2024, 02:45
no, you can't and even if you could, your SDR video would still be 100nits.
your program can do that?
Why are you asking the same question that already someone give you the answer in another thread???
https://forum.doom9.org/showthread.php?p=2007433#post2007433
that is "DDVT Tool" but this is "DoVi_Scripts" management of HDR/Dolby Vision files
Kuler087
2nd October 2024, 03:47
your program can do that?
no, not to HEVC.
sk2316
2nd October 2024, 06:41
no, not to HEVC.
last question , your program can extract and inject hdr(not hdr10+) metadata to hevc file?
Kuler087
2nd October 2024, 12:01
no, it cant
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.