Archive for June, 2009

My HandBrakeCLI Perl Script

Posted by Markus on June 23rd, 2009

I had the dilemma of having 4 seasons of a TV show on DVD, and I wanted it all in iTunes for my AppleTV. I also have a dual-core mac, but a much beefier Ubuntu box running Ubuntu 9.04. I compiled the ever-so-useful HandBrakeCLI 0.9.3 from source on this box. More on that later!

I wanted an automated process that will find each episode on the DVD’s VIDEO_TS folder, and then send that to Handbrake to encode. Problem is, there are tons of titles on a DVD that ARE NOT the actual episodes. Luckily, I noticed that every episode is between 40-49 minutes in length. This is what I came up with:

(email me for file)