PASSWORD FOR THE TOOLS PACK: DoVi.Scripts
INSTALLATION TUTORIAL: https://www.youtube.com/watch?v=6SLtsVDse2w
SUPPORT: https://forum.doom9.org/showthread.php?t=185317
The tools pack doesnt include the Dolby Vision tools and Easy Audio Encoder folder. See other requirements below...
BEFORE REPORTING A BUG PLEASE TRY THE LATEST BETA.
-
python (you might also have to install the version in Windows Store) python libraries to install: opencv-python, colour-science, scikit-image, matplotlib, numpy, colour, headless, PyQt5. Open a command window and type for example: pip install scikit-image
-
avisynthplus 64bit (not required if you just want to inject/edit DV)
-
Vapoursynth (not required if you dont encode videos)
-
lavfilters (required for 3-1, 3-2 and 6-2 only)
-
madvr (required for 3-1, 3-2 and 6-2 only)
-
Make sure you have the latest Microsoft Visual C++ Redistributable installed and if it complains about missing DLL, install m versions.
Dolby tools can be found here:
EAE folder is only needed for 7.1 EC3 encoding. see links: https://github.com/R3S3t9999/DoVi_Scripts/blob/main/TOOLS%20%26%20INSTALLATION
Drag-and-drop batch scripts designed for effortless management of HDR/Dolby Vision files, ensuring a user-friendly and easy-to-use experience. These versatile scripts can tackle many tasks, making your digital journey enjoyable and straightforward.
-
config file(L5 - MD)example for 3-1: https://mega.nz/file/5CcAkACQ#w7M5DQFpJ_WKvD148uEtgM2OG6HcXtk9YQYozcd8VpU
-
Settings file example: https://drive.google.com/file/d/1jQGuzZQyqhqwOTAFjkWWe-JMl6QDFeon/view?usp=drive_link
The script's behavior for muxing (MKV, MP4, or TS) is determined by the filename of the .bat file. If you decide to remove these tags, the default muxing mode will be MKV but muxing can be completely disabled at line 55
I advise against using the script on your OS drive (usually C:) as it may result in certain functions being disabled or not functioning correctly. Furthermore, remuxing large files will slowdown the Windows operating system.
To ensure optimal performance, make sure that your path and script folder (containing both tools and the .bat file) adhere to the following format: It's preferable not to include special characters or spaces in the path.
/////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
- Can do all the extracting parsing, injecting, and editing of two input sources. (P8 hybrid maker)
- One static HDR base layer input and one dynamic HDR file input (MKV/MP4/HEVC/TS/M2TS/RPU/XML/JSON HDR10+).
- Can easily resynchronize RPUs, edit parameters like L5/L6, convert the profile to P8. (P8 hybrid maker)
- Can resync/inJect HDR10plus / DV
- Can remove cmv4.0 default = NO (line 91)
- Can get info(fel or mel, profile, l1/l2/l5) from any DV source as well as extract and edit any DV source.
- Can use external json files and batch
- Can validate metadata with Official Dolby Metafier
- Can convert RPU to XML
- can batch remove cmv4.0
examples:
direct quick info, edit, extract...
inject DV and HDR10plus in one shot (json must be in sync)
- Can verify the RPU synchronization
- Can remove HDR10plus or DV
- Can overwrite L2 trims
- Can export EDL timeline DV or HDR10plus for Resolve
- can copy any metadata level to another rpu
- can export L5 config files
- Can convert any HDR10plus/HDR10/HLG source to shot-by-shot or frame-by-frame DoVi. CMV4.0 metadata, no fake static crap
- Official Dolby cm_analyze.exe (best) or hdr10plus to dv or madvr to dv
- can input external shot list
- L1 analysis can be tuned (line 95)
- Support DV-P5 / HDR10 / HLG input
- can batch generate with external files for L5/ MD, and shot list
- Shot list source is selected in this order:
1- any external file with the same filename as the input (rpu, json, text)
2- internal RPU (in case of original rpu that has no shot, add ''IGNORERPU'' in the input filename.)
3- internal hdr10plus
4- if no dynamic metadata is found, it uses madvr to generate a shot list which means that if your source doesn't have any dynamic metadata, you can use the generated RPU from your previous 6-2 measurement.
- Can process any Profile 7 source(BD or Rip) to Single-layer Profile 8 or Profile 7 single-track dual-layers.
MODE.B (5) = Can batch mux any DV source.
-
MKV/MP4 to TS
-
MKV/TS to MP4
- Can batch plot DoVi Level 1,2,3,4,5,6,8 and hdr10, hdr10plus, video bitrate
- can export 16bits RGB screenshots (FEL P5 HDR10 HLG SDR) fully automated frame accurate or manual modes
- can play FEL + BL or Profile 5 DV in HDR10 or SDR with madVR+MPC (if your pc can handle it)
- can export HDR heatmap and gamut visualization (FEL P5 HDR10 HLG SDR)
- can tonemap to SDR or PQ
- can convert audio (DDP 7.1 / Add silent or encoded core to TrueHD)
- can encode bake fel to HDR10/P8 with dovibaker+x265 or NVenc
- can encode any HDR10/HLG/FELP7/P5 source to HDR or SDR (x265 or NVenc or prores)
- can encode DV to SDR using official Level-2 100nits trim pass (Official Dolby cm_offline.exe)
- can encode P8/P7 and JPEG2000 IMF mxf / Prores files to profile 5 DV (requires DEE.exe)
- can find bd playlist
- can make 5 min samples. timestamp configurable at line: 109
- can quickly find a video framecount (useful when creating a shotlist in 3-1)
- Can tonemap pgs subtitles to different brightness
- Can fix fps bitstream, color range
- Can find frame difference between two sources
-
if the base layer is 16:9 (no black bars, fullscreen): set L5 to 0
-
if the base layer is 16:9 but has black bars: measure the BL letterbox and adjust L5 accordingly.
-
if the base layer is cropped set L5 to 0
input= 3840x2160p with active area of 2.40 (16:9 with black bars)
L5 offsets= Left:0 Right:0 Top:280 Bottom:280
input= 3840x2160p with active area of 1.78 (16:9 no black bars)
L5 offsets= Left:0 Right:0 Top:0 Bottom:0
input= 3840x1600p (cropped)
L5 offsets= Left:0 Right:0 Top:0 Bottom:0
- P5BL : force p5 to p5 injection in 1-1 when input is raw hevc
- DONTUPSCALE : Keep original resolution in 7-2
- KEEPAUDIO : Keep all the audio
- DONTMUX : Disable muxing
- IGNORERPU : Ignore internal rpu for shot list in 3-1
- REMOVECMV4 : Force CMV4.0 removal in 1-1
- KEEPPRORES : Keep prores file
- FORCESDR : Force SDR tonemapping in 7-1 7-2
- KEEPTRIMS : keep trims in XML injection for 1-1 and 3-1
- KEEP1000 : keep 1000nits trims in XML injection for 1-1 and 3-1
- KEEP600 : keep 600nits trims in XML injection for 1-1 and 3-1
- JUSTINJECT : Inject without changing the DV profile in 1-1
-
WEB vs BD comparisons: https://docs.google.com/spreadsheets/d/1jBIGF8XTVi9VmDBZ8a5hEyongYMCDlUiLHU9n1f_S74/edit#gid=0
-
More comparisons: https://docs.google.com/spreadsheets/d/1jBIGF8XTVi9VmDBZ8a5hEyongYMCDlUiLHU9n1f_S74/edit#gid=917134052
-
HDR movies brightness plot: https://drive.google.com/drive/u/1/folders/154fBNllwOHL4Lckc7wDV8QKFJwFxnDt-
-
DV device playback supports: https://docs.google.com/spreadsheets/d/1jBIGF8XTVi9VmDBZ8a5hEyongYMCDlUiLHU9n1f_S74/edit#gid=427220017
-
How to make P8 hybrid properly : https://www.youtube.com/watch?v=hVWZpat34oc
-
How to batch generate DV: https://www.youtube.com/watch?v=jBqbG5XM54g
-
Convert HDR to SDR with Dolby Vision: https://www.youtube.com/watch?v=lM56zLpKDQ8