I decided not to use Handbrake since I wanted lossless transcoding, but I was daunted by the task of converting 400+ movies one-at-a-time with MakeMkv (as it doesn't offer a batch conversion or queue like Handbrake).
With a little research and a lot of playing around, I've managed to write a script which uses the command line interface of MakeMkv to automate the process.
The program takes a folder full of movies (video_ts folders and iso images) and converts them to mkv format. The process isn't perfect, but it sure reduces the amount of time required babysitting the conversions. If you've got other movie files mixed in the folder, they'll be ignored. I also designed this script to skip any "special features" dvds, (as indicated by {special features, bonus disk, bonus materials} since I don't want my extra materials extracted to mkvs.
Using the program is simple. At run-time it will ask for:
(1) a folder to process
(2) a temporary folder to output mkv files to
(can be the same as the original source folder)
(4) a minimum length of title to extract from the dvd-files (default: 60 minutes to avoid extracting trailers/special features/etc.)
(6) If you want Growl notification on completion.
Prior to running it, you must have MakeMkv on your system and install the command line interface and library (makemkvcon and libmakemkv.dylib) in your usr/bin/ folder. These files are in the MakeMkv app bundle (Contents/MacOS/). This can be accomplished with the sudo /usr/bin/install command. In a terminal window, navigate to the folder which contains the MakeMkv app (likely, the Applications folder). Then run the following commands (feel free to copy and paste):
cd /makemkv.app/contents/macos/ sudo /usr/bin/install makemkvcon /usr/bin/ sudo /usr/bin/install libmakemkv.dylib /usr/bin/ sudo /usr/bin/install libdriveio.dylib /usr/bin/
This should now allow makemkvcon as a shell script, which is necessary for this automator to work.
I am including the source as well. Anyone can feel free to make changes/additions however they choose. I ask only two things: first - give credit where credit is due, and second - post your changes to this thread for the benefit of all.
MakeMkv Automator v1.zip (57.84K)
Number of downloads: 307
MakeMkv Automator Source.zip (49.7K)
Number of downloads: 201
Known Issues:
- some files don't convert : Unfortunately MakeMkv can't handle everything. Apparently it often has troubles with files ripped using MacTheRipper. I used MTR extensively when uploading my DVD library and have still been able to convert a large number of files using this script and MakeMkv.
- more than one file is output : as mentioned above in the section on setting the minimum length, the command line interface for MakeMkv (makemkvcon) will , by default, extract all titles from a video_ts or iso. Setting a reasonable minimum length will minimize the number of garbage files extracted, but if a disk contains multiple versions of the movie (eg. theatrical and director's cut), the only way I know of to decide which one you get is to extract it manually.
- can't cancel conversions once started : the only way to cancel the process once it is running is to force quit.
- there's no logging : it's on my to-do list, but I wanted to get this out there for people to use now that I've got it working (essentially) the way I want it to.
- Forced Subtitles are no longer forced after conversion : Thanks to Compaulsive for pointing this out. It seems to be an known issue with MakeMkv. Hopefully MakeMkv will fix this in a new version.

Help














