Stuff for Nerds
Apple
Convert DTS to AC3 on Mac OSX
Sep 7th
I have been compressing my DVD’s and Blurays for years to a format that plays on my various media players. After purchasing and falling in love with the Apple TV interface I decided to use it as my primary media playback device. This unfortunately led to the problem of the Apple TV being unable to playback a DTS soundtrack. Up until recently I have been running Windows in a virtual machine just to run some simple buggy applications for the conversion. This process was time consuming and very frustrating.
I decided to do a search to try a find a reasonably easy process on OSX. I found a few different methods but most out of date with broken links so I decided to compile my own howto combining information from many sources. I will try to link back where possible.
Here we go.
Step 1
Install Xcode from Apple. Signup here and register as a developer if you do not have an account.
http://developer.apple.com/programs/register/
Download Xcode when you are logged in and install the default configuration.
Step 2
Install CMake
mkdir /tempcd /tempcurl -O http://www.cmake.org/files/v2.8/cmake-2.8.2.tar.gztar xvzf cmakecd cmake-2.8.2./configuremakesudo make install
cd /tempsvn co http://aften.svn.sourceforge.net/svnroot/aften Aftencd Aftenmkdir defaultcd defaultcmake /temp/Aften/makesudo make install
cd /tempsvn co svn://svn.videolan.org/libdca/trunk libdcacd libcdasudo ./bootstrapsudo ./configuresudo makesudo make install
sudo port install mkvtoolnix
cd to the download location of the mkvdts2ac3.sh scriptchmod 755 mkvdts2ac3.shcp mkvdts2ac3.sh /usr/local/bin
mkvdts2ac3.sh yourfile.mkv