Transcode DTS with FFmpeg

Because of DTS licensing, several products cannot (legally) read DTS audio track. I am sure it’s a great format but I often need a reliable way to listen to audio track, whatever the terminal I am using.

Fortunately, the great ffmpeg can convert DTS to another format.

AC3’s patent expired in March 2017 and generally works everywhere, making it a not so bad lossy choice.

ffmpeg -i <input_video> \
    -acodec ac3         \
    -vcopy  copy        \

For a free, lossless choice, flac is a great choice (but even with maximum compression level, the resulting file is often huge).

ffmpeg -i <input_video>                \
    -acodec flac -compression_level 10 \
    -vcopy  copy                       \

Free All The Videos!

Using flac with ffv1 to free your videos is great, if you have enough storage space:

ffmpeg -i <input_video>                  \
    -acodec   flac -compression_level 10 \
    -vcodec   ffv1 -level 3              \
    -threads  8                          \
    -coder    1                          \
    -slices   4                          \

For more information see here.

See also FLAC Compression Levels with FFmpeg.