pcrlnd /deew

Dolby Encoding Engine Wrapper

★ 299⑂ 25👁 12⑃ 16● 58▤ 3
RustMITCreated 2021-12-20deew.app
Download: 5.7.05.7.0 ↓5.7.02026-11-27
+0
Daily
299
stars
25
forks
12
watchers
16
prs
58
issues
3
releases

README

\

\



\



Dolby Encoding Engine Wrapper

English readme
 • Magyar leírás

 DDP encoding has never been so easy!

!img

 Description
- drives the command line tools of Dolby Encoding Engine 6.7 and creates the intermediate files in the background, giving you a proper tool
- encodes DD, DDP, DDP Atmos, TrueHD, TrueHD Atmos, AC4, AC4 Atmos, AC4 IMS (immersive stereo) and AAC (always 2.0, mono inputs are rejected)
- re-encodes TrueHD Atmos to DDP Atmos / TrueHD Atmos / AC4 Atmos from the Atmos master (raw .thd or a container like mkv/mka/m2ts, use -ti to select the track; decoded with truehdd, DDP Atmos and TrueHD Atmos use dee_shim to stop DEE smoothing the object positions a second time)
- encodes DTS:X and Auro-3D (in 24-bit DTS-HD MA, or in 24-bit FLAC, PCM and TrueHD with a harletty that reads PCM, --codec wav; ffmpeg pipes the decoded wav, bit-exact) to DDP Atmos / TrueHD Atmos / AC4 Atmos / AC4 IMS (raw .dts or a container): harletty decodes them into an Atmos master, which goes into DEE like a TrueHD Atmos source; harletty's DTS:X decoding is based on reverse engineering, some DTS:X layouts are marked experimental (deew warns about them), check the result. Every other format decodes DTS with ffmpeg as before (the DTS:X / Auro-3D track as its 5.1 / 7.1 bed)
- reads Dolby Atmos masters directly: ADM BWF (.wav/.bwf with chna and axml chunks) and DAMF (.atmos with its .atmos.audio and .atmos.metadata) go straight into DEE for ddp-atmos, thd-atmos, ac4-atmos and ac4-ims (no truehdd, no ffmpeg), and -mo measures them; dd/ddp get a 5.1 (or -dm 2/1) render of the master from DEE
- runs multiple encodes in parallel for batch encoding (see config)
- works on Windows, Linux and macOS
- automatic sample rate conversion using ffmpeg's soxr resampler in case of an unsupported sample rate
  - for DD/DDP/AC4 unsupported rates will be converted to 48 kHz
  - for TrueHD unsupported rates will be converted to 48 kHz if source sample rate is lower than 72 kHz, otherwise will be converted to 96 kHz
- automatic channel swapping for 7.1 sources (DEE swaps Ls Rs with Lrs Rrs for some reason)
- automatically compensates for the delay of the encoders: 256 samples for DD/DDP, 2048 for AC4, 1710 / 1702 / 1600 for AAC (up to 71 / 72–87 / from 88 kbps), 32 more when DEE does the downmix (TrueHD has none)
- works even with video inputs
- AC4 -dn (loudness measurement) doesn't support 7.1 sources
- versatile delay option that supports ms, s and also frame@fps formats, parsing delay from filenames also supported

The deew tool chain page shows how deew connects ffprobe, ffmpeg, truehdd, harletty, dee_shim and the DEE tools, with the exact options it passes to each one for every format.

 Requirements
- ffmpeg
- ffprobe
- Dolby Encoding Engine 6.7
- truehdd 0.6.3 or newer (only for TrueHD Atmos sources of the Atmos formats: ddp-atmos, thd-atmos, ac4-atmos, ac4-ims; Atmos masters don't need it)
- harletty 0.9.0 or newer (only for DTS sources of ddp-atmos, thd-atmos, ac4-atm

Latest release

5.7.0 5.7.0 2026-11-27
| | CLI | GUI | Web |
|:--|:--|:--|:--|
| 🪟 Windows | deew.exe | deew-gui.exe | deew-web.exe |
| 🐧 Linux | deew | deew-gui | deew-web |
| 🍎 macOS | deew-macos | deew-gui-macos.zip | deew-web-macos |


Changelog

- DTS:X and Auro-3D sources for ddp-atmos, thd-atmos, ac4-atmos and ac4-ims: harletty (0.9.0 or newer) decodes them into an Atmos master, which DEE encodes like a TrueHD Atmos source
  - DTS tracks (raw .dts or a container) are checked with harletty when one of these formats is selected; a DTS track without DTS:X or Auro-3D is refused, like any other input without Atmos
  - Auro-3D is 

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON