deezy measure
Measures each input's loudness with DEE, without encoding. --output or --output-dir saves DEE's loudness manifest (JSON).
DEE measures 1.0, 2.0 and 5.1, and Atmos as its binaural and 5.1 renders. A source of 3 to 5 channels is measured as 5.1 with silent channels added, and one of 7 or 8 channels as 7.1 through dee_shim. Neither changes the loudness. DeeZy refuses a source of more channels, since a downmix would.
usage: DeeZy measure [-h] [--ffmpeg FFMPEG] [--truehdd TRUEHDD] [--dee DEE]
[--track-index TRACK_INDEX] [--dee-shim DEE_SHIM]
[--no-shim] [--output OUTPUT | --output-dir OUTPUT_DIR]
[--temp-dir TEMP_DIR] [--keep-temp] [--overwrite]
[--print-commands] [--dry-run]
[--no-dialogue-intelligence]
[--loudness-preset {manual,atsc_a85,ebu_r128,freetv_op59,arib_b32}]
[--speech-threshold SPEECH_THRESHOLD]
[--pipe {auto,always,never}]
[--thd-warp-mode {normal,warping,prologiciix,loro}]
INPUT [INPUT ...]
positional arguments:
INPUT
Input file paths or directories
options:
-h, --help
show this help message and exit
--ffmpeg, FFMPEG
Path to FFmpeg.
--truehdd, TRUEHDD
Path to truehdd.
--dee, DEE
The folder of the DEE tools, or one of them.
--track-index, TRACK_INDEX
The source track. Supports: 'N' (audio track N), 'a:N' (audio track N), 's:N' (stream index N).
--dee-shim, DEE_SHIM
Path to dee_shim (0.3.0 or newer). DeeZy needs it for DD+ 7.1 and 7.0, ddp-atmos --atmos-mode standard and bluray, TrueHD --drc none, and to measure 7.1. It also runs every ddp-atmos, thd and thd-atmos encode through it, which is faster on AMD CPUs and keeps more of the source as it is (see --no-oamd-as-is and --no-as-is). Found beside the DEE tools, in apps/dee_shim or on PATH when not given.
--no-shim
Don't use dee_shim, even when it is found.
--output, OUTPUT
Save DEE's loudness manifest (JSON) to this file. One input only.
--output-dir, OUTPUT_DIR
Save each input's loudness manifest (JSON) in this directory, as <input name>.loudness.json.
--temp-dir, TEMP_DIR
Path to store temporary files to. If not specified this will automatically happen in the temp dir of the os.
--keep-temp
Keeps the temp files after finishing.
--overwrite
Overwrite an existing saved manifest instead of failing.
--print-commands
Print each FFmpeg, truehdd and DEE command line as it starts.
--dry-run
Probe the input and print the FFmpeg, truehdd and DEE command lines the measurement would run, without running them or writing any file.
--no-dialogue-intelligence
Dialogue intelligence disabled.
--loudness-preset, {manual,atsc_a85,ebu_r128,freetv_op59,arib_b32}
Measure to a loudness regulation (ATSC A/85, EBU R128, FreeTV OP59, ARIB B32) instead of the manual settings. Replaces --no-dialogue-intelligence and --speech-threshold.
--speech-threshold, SPEECH_THRESHOLD
[0-100] If the percentage of speech is higher than the threshold, the encoder uses speech gating to set the dialnorm value. (Otherwise, the encoder uses level gating).
--pipe, {auto,always,never}
How FFmpeg's audio reaches DEE. 'auto' (the default) pipes it straight into DEE on Windows and writes a temp WAV elsewhere or with --reuse-temp-files; 'always' pipes it or refuses the job; 'never' always writes the temp WAV.
--thd-warp-mode, {normal,warping,prologiciix,loro}
The warp mode truehdd gives a TrueHD Atmos stream that has none. Without it the stream keeps none, which DEE renders as warping.
Examples
- Measure one file:
- Measure to EBU R128 and save the manifest:
- Save each file's manifest in a folder: