Browsing Posts tagged AppleScript

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

when finished, you can run

$>mkvdts2ac3 path/to/file.mkv

or

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

enjoy!

mkdir /ConverterTemp


This installs CMake

cd /ConverterTemp/

curl -O http://www.cmake.org/files/v2.6/” && cmake_install && tar xvzf  && cmake_install

./configure

make

sudo make install

This installs Aften

cd /ConverterTemp

svn co http://aften.svn.sourceforge.net/svnroot/aften Aften

cd Aften

mkdir default

cd default

cmake /ConverterTemp/Aften/

make

sudo make install

This installs MKVInfo

cd /ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvinfo.zip

unzip mkvinfo.zip

sudo chmod 755 mkvinfo

sudo cp mkvinfo /usr/local/bin

This installs libdca

cd /ConverterTemp

svn co svn://svn.videolan.org/libdca/trunk libdca

cd libdca

sudo ./bootstrap

sudo ./configure

sudo make

sudo make install

This installs MKVDTS2AC3

cd ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvdts2ac3.zip

unzip mkvdts2ac3.zip

cd mkvdts2ac3

sudo chmod 755 mkvdts2ac3.sh

cp /ConverterTemp/mkvdts2ac3/mkvdts2ac3.sh /ConverterTemp/mkvdts2ac3/mkvdts2ac3

sudo cp /ConverterTemp/mkvdts2ac3/mkvdts2ac3 /usr/local/bin/

This installs MKVMerge

cd /ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvmerge

sudo chmod 755 mkvmerge

cp mkvmerge /usr/local/bin/

This installs MKVExtract

cd /ConverterTemp

curl -O http://iamthekiller.net/downloads/mkvextract

sudo chmod 755 mkvextract

If you want to make this into a .sh file, simply add semi-colons after each command for every  section.


When I upgraded from Leopard to Snow Leopard, my contextual menu for using SVN within the Finder died. So here is the first working solution I found. I’m not a fan of using apple script for SVN, but it was quick and easy. Tortoise SVN is a great solution for Windows, but only for Windows… They should make a mac version.

http://svn-finder.sourceforge.net/

Enabling the Apple Script Menu

1. Open AppleScript Editor (Located in /Applications/Utilities/

2. Hit Command + , to bring up the Preferences

3. Make sure “Show Script menu in menu bar” is checked

Installing the scripts

1. Download the scripts from the link above

2. From the Scripts menu in the menu bar, select “Open Scripts Folder” then “Open User Scripts Folder”

3. Make your way to ~/Library/Scripts/Applications/Finder if step 2 didn’t bring you there

4. Drag the downloaded scripts to the folder in step 3 and your done installing!

or, Alternatively, You can install the scripts to /Library/Scripts/SVN if you want all the SVN stuff to be in a sub menu.

Using SVN

The URL for your SVN account is http://USERNAME@SVN_ADDRESS

Terminal will then open and you will be prompted to type your SVN password.

Congratulations! you now have a GUI shortcut for using SVN in Snow Leopard!

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

Powered by WordPress Web Design by SRS Solutions © 2012 L. Preston Sego III Design by SRS Solutions