Welcome to Doom9's Forum, THE in-place to be for everyone interested in DVD conversion.

Before you start posting please read the forum rules. By posting to this forum you agree to abide by the rules.

 

Go Back   Doom9's Forum > Video Encoding > High Efficiency Video Coding (HEVC)

Reply
 
Thread Tools Search this Thread Display Modes
Old 14th September 2024, 16:17   #661  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
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).
__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 14th September 2024, 16:57   #662  |  Link
Atari1971
Registered User
 
Join Date: Apr 2018
Posts: 16
New error, but with the same purpose (Nightly lav filters):

Code:
  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
Atari1971 is offline   Reply With Quote
Old 14th September 2024, 17:05   #663  |  Link
TDS
Formally known as .......
 
TDS's Avatar
 
Join Date: Sep 2021
Location: Down Under.
Posts: 1,124
Quote:
Originally Posted by Atari1971 View Post
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 !!
__________________
Long term RipBot264 user.

RipBot264 modded builds..
*new* x264 & x265 addon packs..
TDS is offline   Reply With Quote
Old 14th September 2024, 17:08   #664  |  Link
DMD
Registered User
 
DMD's Avatar
 
Join Date: Jan 2006
Location: Italy
Posts: 276
I performed procedure 3-2 on a sample file (one minute) in HDR10+ and a everything worked smoothly.
__________________
my PC with Ryzen 7950X
DMD is offline   Reply With Quote
Old 14th September 2024, 17:23   #665  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
Quote:
Originally Posted by Atari1971 View Post
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.
__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 14th September 2024, 17:42   #666  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
Quote:
Originally Posted by DMD View Post
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


10 movies example: https://slow.pics/c/NnIvEwN7
dynamic metadata files: https://drive.google.com/drive/u/0/f...4E8_fCVnWjHFE8
latest DS beta with this update: https://drive.google.com/file/d/128g...usp=drive_link
put this file in tool folder: https://mega.nz/file/hbkQWDDI#7ml6Pr...9w8sqk7yWPFo4s

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. 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
__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 14th September 2024, 17:50   #667  |  Link
DMD
Registered User
 
DMD's Avatar
 
Join Date: Jan 2006
Location: Italy
Posts: 276
Quote:
Originally Posted by Kuler087 View Post
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.
__________________
my PC with Ryzen 7950X
DMD is offline   Reply With Quote
Old 14th September 2024, 18:52   #668  |  Link
Atari1971
Registered User
 
Join Date: Apr 2018
Posts: 16
I thought it was good, but in the end I got this message...

Code:
 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

Last edited by Atari1971; 14th September 2024 at 19:02.
Atari1971 is offline   Reply With Quote
Old 14th September 2024, 19:25   #669  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
This is an old custom version of my script not made by me. You have to use the official DoVi_Scripts version if you want me to help you.
__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 14th September 2024, 19:40   #670  |  Link
Atari1971
Registered User
 
Join Date: Apr 2018
Posts: 16
Ok. How do we do a scene-by-scene analysis with official DoVi_Scripts version instead of frame-by-frame analysis? thanks
Atari1971 is offline   Reply With Quote
Old 14th September 2024, 19:45   #671  |  Link
Atari1971
Registered User
 
Join Date: Apr 2018
Posts: 16
Code:
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
Atari1971 is offline   Reply With Quote
Old 14th September 2024, 19:48   #672  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
Quote:
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

Quote:
:: choose if you want to force frame by frame analysis in 3-1 (default = NO)
set force.FBF=NO
Quote:
Originally Posted by Atari1971 View Post
[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.
__________________
DoVi_Scripts

Last edited by Kuler087; 14th September 2024 at 19:51.
Kuler087 is offline   Reply With Quote
Old 14th September 2024, 19:56   #673  |  Link
Atari1971
Registered User
 
Join Date: Apr 2018
Posts: 16
Ok thank you very much
Atari1971 is offline   Reply With Quote
Old 16th September 2024, 16:18   #674  |  Link
AbuQutaita
Registered User
 
Join Date: Jul 2023
Posts: 1
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
AbuQutaita is offline   Reply With Quote
Old 16th September 2024, 16:43   #675  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
Quote:
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.

Quote:
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.
__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 23rd September 2024, 16:00   #676  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
Work in progress, a GUI for DoVi_Scripts:


__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 23rd September 2024, 17:29   #677  |  Link
Gatorman3385
Registered User
 
Gatorman3385's Avatar
 
Join Date: Feb 2024
Posts: 16
Quote:
Originally Posted by Kuler087 View Post
Work in progress, a GUI for DoVi_Scripts:
This looks great! Willing to test if needed.
Gatorman3385 is offline   Reply With Quote
Old 23rd September 2024, 18:08   #678  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 366
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



Quote:
- (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.
__________________
DoVi_Scripts
Kuler087 is offline   Reply With Quote
Old 23rd September 2024, 19:14   #679  |  Link
DMD
Registered User
 
DMD's Avatar
 
Join Date: Jan 2006
Location: Italy
Posts: 276
Quote:
Originally Posted by Kuler087 View Post
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.
__________________
my PC with Ryzen 7950X
DMD is offline   Reply With Quote
Old 23rd September 2024, 20:57   #680  |  Link
dbezerra
Registered User
 
Join Date: May 2009
Posts: 35
@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).
dbezerra is offline   Reply With Quote
Reply

Tags
batch scripts, dolby vision processing, dovi_scripts

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:13.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.