Re: Automated DVD rip process



Wendell III writes:

Hi all,

I am looking for a way to make my headless Linux box auto-detect DVD-video upon insert into a drive, proceed with a ripping process, and then an H.264 encoding process.

Any suggestions on how to proceed? Obivously the latter parts are easier if I can figure out the former...

Most Desktop-oriented Linux distributions will automounted inserted DVDs/CDs. Fedora Core 6, for examples, tends to automount DVDs as /media/<label>, where <label> comes from the disk's internal label.

You'll need to have a script running that wakes up every 10-15 seconds and checks if something was mounted, then it can proceed to do it's thing.

When you're done, you can run "unmount" to remove the mount, and "eject" to eject the disk tray.

I suppose it's possible to dig inside Gnome's code and figure out how it detects inserted disks, and automounts them, so you can replicate all of that yourself. It looks to me like a painful excersize, with very little to gain from it. If this is going to be a dedicated, headless, box, this polling-based approach offers the path of least resistance.

Attachment: pgp4kw4HByK7P.pgp
Description: PGP signature



Relevant Pages

  • Re: Automated DVD rip process
    ... I am looking for a way to make my headless Linux box auto-detect ... DVD-video upon insert into a drive, proceed with a ripping process, and ... I think you can configure mplayer to automatically play ... You can write a script that starts mencoder to encode the DVD to h.264 ...
    (comp.os.linux.misc)
  • Re: Automated DVD-ripping process w/Linux
    ... I am looking for a way to make my headless Linux box auto-detect DVD-video ... upon insert into a drive, proceed with a ripping process, and then an ... You don't even want to recompile your Colonel part way through? ...
    (alt.video.dvd)
  • Re: Automated DVD-ripping process w/Linux
    ... I am looking for a way to make my headless Linux box auto-detect DVD-video ... upon insert into a drive, proceed with a ripping process, and then an ... You don't even want to recompile your Colonel part way through? ...
    (alt.video.dvd)
  • Automated DVD-ripping process w/Linux
    ... I am looking for a way to make my headless Linux box auto-detect DVD-video upon insert into a drive, proceed with a ripping process, and then an H.264 encoding process. ... I'm looking for a solution where I have to do nothing but insert the disc. ...
    (alt.video.dvd)