Project: Hands-free (or as close as possible) DVD Backup #2

So after huge amounts of frustration, it has come down to lots of Diagnostics.Process calls with StandardError and StandardOutput redirected to files which then get ReEx-ed to work out the contents of a dvd, rip specific streams (demux), then recombine specific streams (mux).

This, however, is proving incredibly difficult so I thought I’d share my annoyances:

1. DvdDecrypter – has proven fantastic for me in the past, so tried to use it here to demux the dvd into streams on my HD.
Tip: make sure you change the settings to not write anything to registry else it will fail to close cleanly.
Pro: Great command line functionality
Con: is out of date and does not handle current dvd encryption.

2. DvdFab – apparently the best thing since Decrypter went out of date.
Pro: Command line is almost as easy as Decrypter’s
Con: doesn’t work. It just dies on my pc, so this is a non-starter

3. SmartRipper
Pro: Decent command line support
Con: Throws up a “could not unlock dvd” upon opening which means it won’t rip. you have to be playing the dvd at the time that you open SmartRipper for it to get access to the contents of the dvd. This is fiddly, but doesn’t totally remove it from the running (could use “mplayer dvd:// -endpos 00:00:10” just as I kick off SmartRipper if necessary)

4. mencoder – After masses of trial and error with the various options, I’m now using this to mux the streams back into one file. Can I use this to also rip the dvd in the first place? It seems like I can, but once again – not recent dvds.

This is SO annoying! I just want to backup my dvd collection with some nice command line tomfoolery! ARGH!

Project: Hands-free (or as close as possible) DVD Backup

 

I’ve recently bought a 2TB LaCie LaCinema Classic HD Media HDD as the solution to my overly complex home media solution. The previous solution involved a networked Mac Mini hooked to the TV, streaming videos from an NSLU2 Linksys NAS (unslung, obviously) or my desktop in another room, using my laptop to VNC in to the Mac and control VLC.

Not exactly a solution my wife could easily use.

The LaCinema is a wonderful piece of kit; very simple interface, small but mighty remote control, is recognised as a media device on your network, can handle HD video, and pretty reasonable for the capacity and functionality. Plus it’s so easy to use I can throw the remote to the missus and she’ll be happy to use it.

Now comes the hard part: transferring a couple of hundred DVDs to the LaCinema internal HD. Ripping CDs is easy, since you can configure even Windows Media Player to detect a CD being inserted, access the CDDB, create the correct folders, rip the CD, even eject it when done.

Nothing comparable seems to exist for DVDs, which is extremely frustrating. You always need to have manual interaction to either specify the name of the DVD you’re ripping, the streams you want to rip, the size and format of the output video file, etc.

I can’t be arsed with all that faffing around for my sprawling DVD collection, so I thought about creating a solution.

I’ve gone for a windows service with a workflow-esque model that has the following steps:

1. Detect a DVD being inserted
2. Look up the film/series name, year, genre, related images online
3. Determine which sections and streams to rip
4. Rip to local PC
5. Move to media centre

Over the next few posts I’ll go into a bit more detail on the challenges each stage posed and the solutions I came up with. I’ll post the code online and would love for some constructive feedback!

This isn’t about me making something that everyone should look at and go “oooh, he’s so clever”, it’s about having a solution for ripping a DVD library that everyone can use and tweak to suit their own requirements. As such, help is always appreciated.