Hardware Reference
In-Depth Information
Rip As Movie Files
This method occupies the bulk of “DVD ripping” software, with many available versions for both the command line
and the GUI. Although the GUI versions provide screenshots of the titles and chapters and an array of configurable
options, they are (almost without exception) merely front ends to a set of standard back-end tools, such as mencoder .
You can remove the resources and time utilized by this middleman by going straight to the metal.
UnDVD ( http://sourceforge.net/projects/undvd/ ) is a Perl script that provides a simple command-line
method to rip DVDs into their component titles, taking whichever language or subtitles you want at the same time.
A typical invocation to rip the first three tracks, with English audio, might be as follows:
undvd -t 1,2,3 -a en
The number of tracks available can be determined with the associated tool, scandvd . Because most households
will speak a common language, the necessity for the full ISO is reduced, making this a consistent process. The following
script provides a full rip of the disc into its own subdirectory. It could even be triggered from a link on the household
web page, for example.
#!/usr/bin/perl
my $language = "en";
my $subtitles = "off";
my $output = `lsdvd`;
$output =~ /Disc Title\:\s+(.*?)\n/s;
my $title = lc $1;
$title =~ s/\b(\w)/\U$1/g;
$title =~ s/_(\w)/ \U$1/g;
my $cmd = "undvd -t 1";
my $count = $output=~s/\nTitle\://g;
foreach(2..$count) {
$cmd .= ",$_";
}
mkdir($title);
chdir($title);
$cmd .= " -a $language -s $subtitles -e 2";
system($cmd);
chdir("..");
Issues with Movies
With so many codecs and players available, it's inevitable that you will occasionally find one that has a problem, such
as being unable to play the movie, crashing partway through, losing synchronization between video and audio, unable
to fast-forward, and so on. Even the commercial offerings have these problems, so they're not unique to the open
Search WWH ::




Custom Search