This is a script that came from my desire to easily back up dvds that I don't have the time to watch now.HandBrake is an awesome program, but it requires user intervention. If I want to use it on a headless Mac, I want to automate it. This script is a wrapper around HandBrakeCLI, the command-line version of Handbrake.. First it locates the DVD, by scanning /Volumes. Next, it scans the titles for the longest feature on the disc (the movie). Finally, it rips the DVD to an mp4 file. I have hard-coded all the options (2048 kbps, 192kbps AAC, pixel aspect ratio). If these settings don't work for you, look in the code and change them.
To use:./rip.py [destination dir]Dependencies:python 2.4+ (Mac OS X ships with 2.3): go to python.orgHandBrakeCLI (place in /usr/local/bin, and make sure your path includes this directory, or change the HANDBRAKE v...