I want to be able to drop a DVD into the drive and rip it automatically to my library. Are there any tools that will let me do this?
asked Feb 21 '10 at 11:35
Here's a fully-automated DVD ripping solution I've put together. It is still a little rough around the edges, but will create an accurately named MKV file with associated metadata and resources such as cover art. As much as possible I've used existing applications, and have used some automation tools to glue those together. The script is based on Adam Pash's original DVD Ripping script, but takes the filename from Yammm and adds some additional steps to ensure the settings for ripping are consistent.
Note these instructions are for Windows XP as I don't have a Windows 7 box with an optical drive
The overall process is as follows:
Follow these instructions to download and configure each application to automate the ripping process.
Set up AutoHotkey
Download the AutoHotkey installer from the download page. You could download the zip version instead, but you'd need to make sure you've configured your PATH environment variable so you can invoke AutoHotkey from the Autorun launcher.
Download the autodvdrip script
Download this script and save it to your PC, for example to c:\autodvdrip\autodvdrip.ahk
Download DVD Shrink from Softpedia.
Handbrake is used to convert the ripped DVD files to the final format.
Download Handbrake, we only need the CLI for this process, but you may as well get the GUI version (Windows XP/Vista/7 - GUI).
We use Yammm to automatically retrieve metadata for DVDs. One of the configuration options allows you to retrieve the metadata when a DVD is inserted. The script will then find that metadata file and use the name for the final file. It will also retrieve artwork and some other gubbins.
Set up EventGhost
We use EventGhost to monitor the "Movies" location. If it detects any file changes it will obtain the latest dvdid.xml file and check to see if a rip is required. It assumes that the latest dvdid.xml has just been downloaded by Yammm, and will use that to rip a DVD if the script hasn't already been run on that disc. When the script is run it creates a .dorip marker file in the directory to indicate that the DVD has been ripped. This isn't particularly elegant, so I'm happy to hear of a better alternative.
We now want to configure EventGhost to launch on startup so the DVD drive is monitored.
If all the steps have been followed (and there aren't any errors in these instructions...), you should now be able to put a DVD in the drive and some time later have an MKV file and its associated metadata appear in your media library as if by magic.
There are a few issues with this setup that I'd like to refine.
Update I've updated the EventGhost script to escape the paths containing spaces with escaped quotes after reviewing the issues in this question. If any path is used containing spaces it needs to be escaped like this:
There's a program called DVD Rip that orchestrates DVD Shrink to rip the DVD. It doesn't automatically run when the DVD is put in the drive though.
For Windows 7 and Vista I found Default Programs Editor that allows you to add a new Autoplay item to the menu. If you use this to add DVD Rip then you'd have a completely automated solution.
With either of the two later options, rather than use DVD Rip you could instead add an autoplay option that invokes a script that calls Handbrake's Command Line Interface.
I've also found out about Gracenote's VideoID, if an API is available this could be used in a script to obtain the movie's title and cover art automatically as part of the ripping process. I can't find anything about it right now, so I've asked this question for help on getting started with this.
The My Movies software is designed to integrate into a Windows Home Server, or a home theatre PC running Windows Media Centre. This offers no-click DVD and CD ripping. As long as the software is running it keeps an eye out for DVDs/CDs inserted into the drive, rips them, adds metadata and saves in the specified formats (will also downscale a second version of the movie for use on portable players) and then ejects the disc.
Tranquil PC also bundle a customised version of this on their Windows Home Server based AVA Media servers.
answered Mar 19 '10 at 13:48
Is the EventGhost Script no longer available? I get a 404.
answered May 17 '12 at 06:48
sry for bumbing this old thread, but the ahk script gives a 404 :(
answered May 31 '12 at 15:58