Skip to content

Converting a .mkv with DTS audio to a .mkv with only AC3 audio on OS X

based on L. Preston Sego III’s work, check it out here.

first we need to install some tools:

$ mkdir ConverterTemp
$ cd ConverterTem
$ curl -O
$ tar xvfz cmake-2.8.3.tar.gz
$ cd cmake-2.8.3
$ ./bootstrap
$ make
$ sudo make install
$ svn co Aften
$ cd Aften
$ mkdir default
$ cd default
$ cmake /../../Aften/
$ make
$ sudo make install
$ svn co svn:// libdca
$ cd libdca
$ ./bootstrap
$ ./configure
$ make
$ sudo make install

download MKVtoolNIX from

$ sudo ln -s /Applications/* /usr/local/bin/

install mkvdts2ac3:

$ curl -O
$ chmod 755
$ sudo cp /usr/local/bin/mkvdts2ac3


$ mkvdts3ac3 --new -n -f -wd /Volumes/myDisk/Rips mymovie.mkv

1 thought on “Converting a .mkv with DTS audio to a .mkv with only AC3 audio on OS X”

  1. Marcelo Culotta

    My LG 3d TV will not read DTS so I have to replace the audio with Ac3.

    For that I use two applications:
    WinFF and MKVmerge (it shows as MKV files creator in the Applications menu)

    1. WinFF:For creating the AC3 audio track, I open WinFF, then I Add the MKV file that contains the DTS track. In Output details, I select

    Convet to Audio
    Device Preset Ac3 – 384kbps Stereo
    Output Folder Any folder you like (I use the one containing the MKV file)

    This will create an audio file with the same name as the MKV file, but with the
    ac3 extension

    2. MKV files creator (mkvmerge)

    Input Files: add the MKV file for which you created the ac3 audio track.
    In the Tracks, chapters and tags, UNSELECT the DTS audio file
    Input files again: add the ac3 file that you created with WinFF
    Start muxing

    This creates a file with the same name as the MKV file, except it has a (1) added to it that will have the ac3 audio track for playing as 2 channel stereo.

    I hope this helps!

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.