A collection of drag-and-drop batch scripts for Dolby Vision, HDR10, HDR10+, video, and audio workflows.
DoVi_Scripts helps automate common tasks such as Dolby Vision metadata extraction and editing, Profile 7 conversion, HDR-to-Dolby Vision generation, video/audio analysis, screenshots, comparisons, encoding, and muxing.
| Resource | Link |
|---|---|
| Latest stable release | GitHub Releases |
| Latest beta | Download beta |
| Tools pack — Google Drive | Download |
| Tools pack — MEGA | Download |
| Installation tutorial | Watch on YouTube |
| Questions and support | Doom9 forum thread |
Tools pack password (case-sensitive): DoVi.Scripts
Before reporting a bug: Please try the latest beta first.
The tools pack does not include the Dolby Vision Professional Tools or the Easy Audio Encoder (EAE) folder. See the TOOLS & INSTALLATION instructions.
- Download the latest stable release (or the beta) and the tools pack.
- Install everything listed under YOU MUST INSTALL.
- Add the Dolby Vision tools (and the EAE folder, if you need 7.1 EC3 encoding), which are not included in the tools pack.
- Place the script folder (containing both
toolsand the.batfile) on a drive other than your OS drive, in a path without spaces or special characters. - Drag and drop your file(s) onto the
.batscript and pick a mode.
Need a visual walkthrough? Watch the installation tutorial.
-
Python libraries: open a command window and paste:
pip install opencv-python colour-science scikit-image matplotlib numpy colour opencv-python-headless PyQt5 OpenImageIO plotly pyyaml librosa scipy soundfile openpyxl tkinterdnd2If the heatmap workflow still fails, install Python 3.9 as well.
-
AviSynth+ 64-bit (not required if you just want to inject/edit DV)
-
LAV Filters (required for AvsPmod 3-1, 3-2 and 6-2 only)
-
madVR 113b (required for 3-1, 3-2 and 6-2 only): it goes in the
dovi_scripts/tools/madvrfolder; then, with admin rights, click on the install.bat. -
Make sure you have the latest Microsoft Visual C++ Redistributable installed, and if it complains about a missing DLL, install m versions.
Dolby tools can be found here:
The EAE folder is only needed for 7.1 EC3 encoding.
- 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 slow down 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.
All the workflows are explained in this video: https://youtu.be/wb9191cExF8
| Mode | Menu # | Purpose |
|---|---|---|
| MODE.I | 1 | Extract, parse, inject and edit DV/HDR10+ metadata |
| MODE.F | 2 | Verify, remove, transfer and export metadata |
| MODE.H | 3 | Generate CMv4.0 Dolby Vision from HDR10+/HDR10/HLG |
| MODE.7 | 4 | Process Profile 7 sources |
| MODE.B | 5 | Batch-mux DV sources |
| MODE.P | 6 | Plot metadata, bitrate and audio |
| MODE.S | 7 | Screenshots, heatmaps, comparisons and playback |
| MODE.M | 8 | Audio and video encoding, trim passes |
| MODE.M | 9 | Utilities (samples, frame counts, subtitles, etc.) |
- Can do all the extracting, parsing, injecting, and editing of two input sources (P8 hybrid maker).
- Can easily resynchronize RPUs, edit parameters like L5/L6, and convert the profile to P8 (P8 hybrid maker).
- Can also edit a single input as well as process multiple files in a folder.
- Input can be anything: MKV/MP4/HEVC/TS/M2TS/RPU/XML/JSON (HDR10+).
- Can resync/inject HDR10plus and Dolby Vision (any profile).
- Can quickly get info from any DV source (FEL or MEL, profile, L1/L2/L5, etc.).
- Can quickly detect FEL expanded brightness.
- Can use external JSON files for advanced edits.
- Can validate metadata with the official Dolby Metafier.
- Can convert RPU to XML.
- Can disable DV tone mapping.
- Can remove CMv4.0 or upgrade a CMv2.9 RPU to 4.0.
- Can verify the RPU synchronization and export the scene cuts to a text file.
- Can remove HDR10plus or DV.
- Can overwrite or remove L2 trims.
- Can export an EDL timeline (DV or HDR10plus) for Resolve.
- Can transfer any metadata level to another RPU.
- Can export L5 config files.
- Can batch-info your whole collection quickly.
- Can find scene-cut differences between two RPU sources.
-
Can convert any HDR10plus/HDR10/HLG source to shot-by-shot or frame-by-frame CMv4.0 DoVi.
-
Uses the official Dolby
cm_analyze.exe(best), DaVinci Resolve, HDR10plus to DV, or madVR to DV. -
Can use an external shot list for cm_analyze/Resolve DV generation.
-
CMv4.0 L1 analysis tuning available.
-
Can batch generate with external files for L5/MD and shot list.
-
The shot list source is selected in this order:
- Any external file with the same filename as the input (RPU, JSON, text).
- Internal RPU (in the case of an original RPU that has no shots, add
IGNORERPUto the input filename). - Internal HDR10plus.
- If no dynamic metadata is found, madVR is used to generate a shot list. This means that if your source doesn't have any dynamic metadata, you can use the generated RPU from your previous 6-2 workflow.
- Can process any Profile 7 source (BD, rip or RPU) to single-layer Profile 8 or Profile 7 single-track dual-layer.
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.
- Can plot video bitrate.
- Can plot audio waveforms, bed channels, or object-based Atmos channels.
- Can export 16-bit RGB HDR or SDR tone-mapped screenshots (FEL, P7, P8, P5, HDR10, SDR).
- Can export SDR screenshots from a Dolby Vision 100-nit trim pass (requires DEE).
- Fully automated frame-accurate or manual modes, with up to 20 inputs at once.
- Can export HDR heatmap and gamut visualization (FEL, P5, HDR10, SDR).
- Can create a DV metadata video comparison like this.
- Can create a DV FEL vs BL video comparison like this.
- Can create an HDR video comparison from two sources.
- Can play FEL + BL or Profile 5 DV in HDR10 or SDR with madVR + MPC (if your PC can handle it; no dynamic metadata processing).
- Can play DV with dynamic metadata (and FEL) processing in MPV.
- Can convert audio (DDP up to 7.1, and add silent or encoded core to TrueHD).
- Can encode TrueHD Atmos to DD+ Atmos (requires DEE).
- Can bake FEL to HDR10/P8 with dovibaker + x265 or NVEnc.
- Can encode any HDR10/HLG/FEL P7/P5/ProRes source to HDR or SDR (x265, x264, NVEnc or ProRes).
- Can deliver any Dolby Vision trim passes (official Dolby
cm_offline.exe). - Can encode Profile 5 DV (requires DEE).
- Can encode Profile 7 DV MEL or FEL without BL mapping, or mapping to 600/1000 nits (requires DEE).
- Can create a video loop sample, examples.
- Can find the BD playlist.
- Can make 5-minute samples (timestamp configurable at line 109).
- Can quickly find a video frame count.
- Can quickly find an audio dialnorm value.
- Can tone-map image-based PGS (
.sup) subtitles to a different brightness. - Can fix or change the FPS of a bitstream, or the color range.
- Can change the framerate of SRT text subtitles.
- Can find the frame difference between two sources.
- Can edit static HDR10 metadata.
- 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 an active area of 2.40 (16:9 with black bars)
L5 offsets: Left: 0, Right: 0, Top: 280, Bottom: 280
Input: 3840x2160p with an 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
| Keyword | Effect |
|---|---|
P5BL |
Force P5 to P5 injection in 1-1 when the 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 |
KEEPPRORES |
Keep ProRes file |
FORCESDR |
Force SDR tone mapping in 7-1 and 7-2 |
KEEPTRIMS |
Keep trims in XML injection for 1-1 and 3-1 |
KEEP1000 |
Keep 1000-nit trims in XML injection for 1-1 and 3-1 |
KEEP600 |
Keep 600-nit trims in XML injection for 1-1 and 3-1 |
JUSTINJECT |
Inject without changing the DV profile in 1-1 |
FORCEHDR10PLUS |
Force HDR10plus in workflow 3-1 |


