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.

Domains: forum.doom9.org / forum.doom9.net / forum.doom9.se

 

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

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 13th February 2024, 14:40   #1  |  Link
Kuler087
Registered User
 
Kuler087's Avatar
 
Join Date: Aug 2021
Location: Canada
Posts: 802
[DoVi_Scripts] Multi-Function Scripts for Dolby Vision processing and a lot more...

Drag-and-drop batch scripts designed for effortless management of HDR/Dolby Vision files,
ensuring a user-friendly and easy-to-use experience.


https://github.com/R3S3t9999/DoVi_Scripts

Installation tutorial for newbies: https://youtu.be/wb9191cExF8





MUXING BEHAVIOR AND SCRIPT FOLDER:

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 as it may result in certain functions being disabled or not functioning correctly. Furthermore, remuxing large files will slowdown the Windows operating system.

The script default settings can be edited if you open the bat file in Notepad++

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.
DO NOT LAUNCH THE BAT FILE WITH ADMIN RIGHTS, DRAG AND DROP WILL NOT WORK!



SCRIPTS MODES

MODE.I (1) =
INJECTOR/INJECTOR/EDITOR/EXTRACTOR

MODE.F (2) =

REMOVER/TRANSFER/VERIFY
  • Can verify the dynamic metadata (DV/HDR10plus) synchronization with the base layer.
  • see tutorial: https://www.youtube.com/watch?v=lIO_ZfT-LnY
  • Can overwrite/remove Level 2 trims
  • can transfer any metadata level to another rpu
  • can transfer scene cuts from one rpu to another
  • Can remove hdr10plus or DV
  • Can export EDL timecodes for Resolve
  • Can export Level 5 aspect ratio config file
  • Can find scene cut difference between two sources.
  • Can batch info your whole library

MODE.H (3) =
GENERATOR
  • 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
  • see batch generate DV tutorial: https://www.youtube.com/watch?v=jBqbG5XM54g
  • can use an external shot list
  • Cmv4.0 L1 analysis can be tuned (line 95)
  • Support DV-P5 / HDR10 / HLG input
  • can batch generate DV with external files for L5/ MD, and original 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

MODE.7 (4) =
PROFILE 7
  • Can process any Profile 7 source(BD or Rip) to Single-layer Profile 8 or Profile 7 single-track dual-layers.
see tutorial: https://www.youtube.com/watch?v=sBUL2gjhqEE

MODE.B (5) =
BATCH MUXER
  • Can batch mux any DV source to TS or MP4
  • MKV/MP4 to TS
  • MKV/TS to MP4

MODE.P (6) =
PLOTTER
  • Can batch plot DoVi Level 1,2,3,4,5,6,8 and hdr10, hdr10plus, HLG, P5BL, video bitrate and audio channels
EXAMPLES
see tutorial: https://www.youtube.com/watch?v=KHXvjtHNdB8

MODE.S (7) =
SCREENSHOTS
  • can export 16bits RGB real HDR screenshots (FEL P5 HDR10 HLG SDR) fully automated frame accurate or manual modes
  • can export SDR screenshots from a Dolby Vision 100nits trim pass.
    see tutorial: https://www.youtube.com/watch?v=ElJ1KvQMgzE
  • 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 HDR PQ (default = PQ)
EXAMPLES

frame-accurate screenshot maker tutorial: https://www.youtube.com/watch?v=SA-i1tZssIo
MANUAL SCREENSHOT EXAMPLE[*] Can create DV metadata or FEL video comparisons like this:
Metadata: https://drive.google.com/drive/folde...iSlcdMiy2ka0mf
FEL: https://drive.google.com/drive/u/0/f...BIQmziCe_R_IKe

MODE.E (8) =
VIDEO/AUDIO ENCODERS
  • can convert audio (DDP 7.1 / Add silent or encoded core to TrueHD)
    see tutorial (convert to ddp): https://www.youtube.com/watch?v=m5_Bt2yGPhE
    see tutorial (add core): https://www.youtube.com/watch?v=X8CImPBh_DI
  • can encode bake fel to HDR10/P8 with dovibaker+x265 or NVenc
    see tutorial: https://www.youtube.com/watch?v=8BvXqw_cGJE
  • 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 P7/P8 to profile 5 DV (requires DEE.exe)
  • can encode to profile 5 DV (requires DEE.exe)
  • can encode to profile 7 DV MEL or FEL without mapping or 600/1000nits mapping for the BL(requires DEE.exe)

MODE.M (9) =
MIXED
  • Can fix video framerate bitstream, color range
  • Can automatically find frame difference between two sources
  • 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 edit HDR10 metadata

DIRECT MODE
  • drag and drop a file on the bat file and it will use workflow 1
  • the bat file can be associated with any video/rpu file.


L5 active area and cropping:
  • 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

Example 1:

input= 3840x2160p with active area of 2.40 (16:9 with black bars)

L5 offsets= Left:0 Right:0 Top:280 Bottom:280

Example 2:

input= 3840x2160p with active area of 1.78 (16:9 no black bars)

L5 offsets= Left:0 Right:0 Top:0 Bottom:0

Example 3:

input= 3840x1600p (cropped)

L5 offsets= Left:0 Right:0 Top:0 Bottom:0

Downscaling and upscaling:

divide or double the L5 values.

Example:
input 3840x2160 with L5 0,0,280,280
output 1920x1080 with L5 0,0,140,140

Input filename keywords that override the script's main settings:
  • 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
  • FORCEHDR10PLUS: force hdr10plus scene cut extract when input has dv for workflow 2-3
__________________
DoVi_Scripts //// Dolby Vision Stuff (more tabs below)
LG OLED G5 77'' + 7.2.4 Denon AVR + Ugoos AM6Bplus + Kaleidescape Strato E
Sorry for my English

Last edited by Kuler087; 12th February 2026 at 05:18.
Kuler087 is offline   Reply With Quote
 

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 16:59.


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