Sunday, March 21, 2010

Turbo.264 HD - Applescript/Automator Workflow

http://www.elgato.com/elgato/int/mainmenu/products/Accessories/Turbo264HD/product1.en.html

If you have some cash to spare, i would recommend getting the Turbo.264 HD from Elgato. If you are like me you are always taking your videos and having to wait hours to convert them so that they can play on your iphone or droid. Well with this little usb dongle, you can convert video with lightning speeds. Below is a script that can let you automatically convert files dropped into a folder, making the process even easier.

on adding folder items to this_folder after receiving added_items
tell application "Turbo.264 HD"
set items_added to get the (count of added_items) + 1
set i to 1
repeat until i = items_added
add file(item i of added_items) exporting as iPhone
set i to i+1
end repeat
encode
end tell
end adding folder items to

Once you create this applescript all you have to do is add it as a "Folder Action" on the particular folder you are wanting to use it for. In snow leopard you can just right click and select "Folder Actions Setup"

1 comment:

  1. Macdroid, how would this script look like if I need all the files from the source folder to be encoded merged together into just one file? (instead of one file per source file)
    Thank you very much!

    ReplyDelete