dee_shim
dee_shim is an optional tool that runs DEE's encoders with options they don't offer on their own. DeeZy works without it, but some encodes need it, and DeeZy runs others through it when it is there. DeeZy's executables don't include it.
What needs it
| Encode | Without dee_shim |
|---|---|
ddp 7.1 or 7.0 (--channels 8, or a 7.0 source) |
--channels 8 is refused; auto picks 5.1, a 7.0 source becomes 5.0 |
ddp-bluray from a 7.0 source |
coded as 7.1 with a silent LFE |
ddp-atmos --atmos-mode standard or bluray |
refused |
--bitrate R0:R1 for two-substream DD+ or DD+ Atmos |
refused |
ddp-atmos --no-surround-90-deg-phase-shift |
refused |
thd or thd-atmos with --drc none |
refused |
thd --layout 5.1.2 |
refused |
deezy measure of a 7.1 or 7-channel source |
refused |
What runs through it
When DeeZy finds dee_shim, every ddp-atmos, thd and thd-atmos encode runs
through it. On AMD Zen CPUs these encodes run several times faster. The output
changes in three places, each with an option that keeps plain DEE's:
ddp-atmoscodes the master's object metadata as it is, where DEE would smooth it.--no-oamd-as-iskeeps DEE's smoothing.thdat 96 kHz has no apodizing filter, so it decodes to the source sample for sample.--no-as-iskeeps the filter.thd-atmoscodes a master of no more elements than--atmos-elementsas it is, so it decodes to it sample for sample.--no-as-iskeeps DEE's processing.
Channel-based DD+ uses dee_shim for 7.0, standard 7.1, and Blu-ray 7.1 with
a split bitrate. deezy measure uses it only for 7.1:
DEE's meter has 7.1, but its command line takes 1.0, 2.0 and 5.1 only.
How DeeZy finds it
DeeZy needs dee_shim 0.3.0 or newer. It takes, in order:
--dee-shim PATH;dee_shimin the config's[dependencies];dee_shimbeside the DEE tools;apps/dee_shim/beside DeeZy;dee_shimon PATH.
An older dee_shim that DeeZy finds is skipped; an older one you give fails the
encode. --no-shim, or no_shim = true in the config's [global_defaults],
turns dee_shim off. deezy tools shows the dee_shim DeeZy would use.