So, this is a script that will automate the installation required for converting mkv dts to ac3 for use on the tv.

original article with full installation and use instructions:

http://iamthekiller.net/2009/03/convert-mkv-video-for-the-appletv/

The only problem that might arise is the script not knowing where the progress bar is. It is in /Applications/BP Progress Bar.app it is downloaded for installation, and removed after.

when finished, you can run

$>mkvdts2ac3 path/to/file.mkv

or

$>mkvdts2ac3 -n path/to/file.mkv to remove the original dts track.

enjoy!

http://dl.getdropbox.com/u/331982/Downloads/ConvertmkvDTS2AC3.zip