Re: Automated DVD rip process
- From: CptDondo <yan@xxxxxxxxxxxxxxxx>
- Date: Mon, 30 Apr 2007 08:23:03 -0700
Dances With Crows wrote:
Wendell III staggered into the Black Sun and said:I am looking for a way to make my headless Linux box auto-detect [a]
DVD-video [disc] upon [inserting one] into a drive, [then] proceed
with a ripping process, and then an H.264 encoding process.
Any suggestions on how?
Look up Message-ID
slrncqvbdd.79u.danSPANceswitTRAPhcrows@xxxxxxxxxxxxxxxxxxxxxxxxxxx
and the thread it's part of for solutions to finding whether a medium is
in a DVD/CD-RW drive in C and Perl. You could poll the drive every 5-10
seconds without horking the system up.
Unfortunately, the DISC_STATUS ioctl doesn't return info about whether a
disc is a DVD or CD, but you could dvd+rw-mediainfo the drive and make
sure it's a DVD-ROM. Then rip using vobcopy (or whatever)--checking out
the dvd::rip program for ideas on exact procedures would be a good idea.
Then encode using whatever.
You should also define what you want a little more rigorously. Do you
want to rip and encode all titles on the DVD, or just the first one?
Most commercial movie DVDs have over 10 titles on them, after all, and
most of those titles are not the main feature. TV show DVDs generally
have 1 title per episode, so you'd have to rip all those titles. Ah
well, HTH,
Also things like aspect ratio, actual image size, framerate, and the desired de-interlace method all can be different from one DVD to the next.
And let's not forget those (fortunately rare) DVDs that have *both* a 16:9 title and a 4:3 title on the same disc.
Then there's my favorite - the ones where the main audio track consist of either a) mono english or b) kiswahili or c) inane commentary - and the original English soundtrack is hidden in the 3rd or 4th soundtrack...
Automatically ripping DVDs isn't a really that simple...
Anyway, look at the threads for messages <slrncqvbdd.79u.danSPANceswitTRAPhcrows@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
<1322shs35bs1s56@xxxxxxxxxxxxxxxxxx>
It gives you something to go on...
--Yan
.
- References:
- Automated DVD rip process
- From: Wendell III
- Re: Automated DVD rip process
- From: Dances With Crows
- Automated DVD rip process
- Prev by Date: Installing an additional GCC, and a question about GPC
- Next by Date: pthread_getaffinity_np/pthread_setaffinity_np
- Previous by thread: Re: Automated DVD rip process
- Next by thread: Re: Automated DVD rip process
- Index(es):
Relevant Pages
|