dcadec is a free DTS Coherent Acoustics decoder with support for HD extensions.
Supported features:
- Decoding of standard DTS core streams with up to 5.1 channels
- Decoding of DTS-ES 6.x streams with discrete back channel
- Decoding of High-Resolution streams with up to 7.1 channels and extended bitrate
- Lossless decoding of Master Audio streams with up to 7.1 channels
Features needing more work:
- Support for sampling frequencies above 48 kHz
- Support for downmixed output
- Error recovery capabilities
Help screen of the program is reproduced below.
Usage: ./dcadec [-bcfhPqsx] <input.dts> [output.wav]
dcadec is a free DTS Coherent Acoustics decoder. Supported options:
-b
Force fixed point DTS core interpolation. Developer option, degrades sound
quality.
-c
Force decoding of DTS core only without extensions.
-f
Use FIR filter for floating point DTS core LFE channel interpolation.
-h
Show this help message.
-P
Disable progress indicator.
-q
Be quiet. Disables informational messages and progress indicator. Warnings
and errors are still printed.
-s
Force bit width reduction of DTS core from 24 bit to source PCM resolution.
Developer option, degrades sound quality.
-x
Force use of X96 synthesis filter for DTS core interpolation. Developer
option, degrades sound quality.
When run without output file name argument, prints information about DTS file
to stdout and exits.
Single dash in place of input or output file name argument means to read from
stdin or write to stdout, respectively.
dcadec comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under certain conditions; see GNU General Public
License version 2 for details.
Some dcadec usage examples follow.
- Decode DTS file to WAV:
$ ./dcadec input.dts output.wav
- Decode DTS file and play with mpv:
$ ./dcadec input.dts - | mpv -
- Decode DTS file and re-encode to FLAC:
$ ./dcadec input.dts - | flac --ignore-chunk-sizes -o output.flac -
- Demux DTS track #1 from MKV file, decode and re-encode to FLAC:
$ mkvextract tracks input.mkv -r /dev/null 1:/dev/stdout | \
./dcadec - - | flac --ignore-chunk-sizes -o output.flac -