Re: Automated DVD rip process
- From: Sam <sam@xxxxxxxxxxxxxx>
- Date: Sat, 28 Apr 2007 19:22:35 -0500
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
- References:
- Automated DVD rip process
- From: Wendell III
- Automated DVD rip process
- Prev by Date: Re: Accidental deletion. Help please!
- Next by Date: Re: X doesn't start on boot, can't tell X to start
- Previous by thread: Automated DVD rip process
- Next by thread: Re: Automated DVD rip process
- Index(es):
Relevant Pages
|