Linux HOWTOs

About | Home | Search


HOWTO: dvdrip
Description: DVD ripper
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# dvd::rip 0.98.2
# ===============
# Prerequisites:
# Perl >= 5.6.0
# Gtk-Perl
# transcode >= 0.6.14 (>= 1.0.2 suggested)
# ImageMagick >= 4.0.0 (>= 6.2.3 suggested)
# xvid4conf >= 1.6 (optional; see below)
# subtitle2pgm >= 0.3 (optional; for subtitles)
# rar >= 2.71, <= 2.99 (optional; for compressed subtitles)
# MPlayer >= 0.90 (optional; for subtitle vobsub viewing)
# ogmtools >= 1.0.0 (optional; for OGG/Vorbis)
# mjpegtools >= 1.6.0 (optional; for for (S)VCD burning)
# cdrdao (optional; for (S)VCD burning)
# vcdimager >= 0.7.12 (optional; for (S)VCD burning)
# cdrtools' mkisofs >= 1.15, cdrecord >= 0.7.12 (both optional; both for AVI/OGG burning)
# xine >= 0.9.13 (optional; to view DVDs/files)
# fping >= 2.2 (optional; for cluster mode master)

# I've never tried cluster mode, so be aware that I may be missing some
# installation requirements for it.

# If you have trouble downloading dvd::rip with the URL below, you can also
# get it here:
# http://www.cpan.org/modules/by-authors/id/J/JR/JRED/

# Install required Perl modules:
# (and they require Glib, Cairo, GTK+, etc.)
su -c "perl -MCPAN -e shell"
install Locale::TextDomain
install AnyEvent
install Event
install Event::ExecFlow
install Event::RPC
install ExtUtils::Depends
install ExtUtils::PkgConfig
install Glib
install Cairo
install Gtk2
install Gtk2::Ex::FormFactory
exit


# xvid4conf
# ===========
# This is an optional prerequisite.  The web site for it:
# http://zebra.fh-weingarten.de/~transcode/xvid4conf/
# linked to in the dvd::rip documentation is 404.  I found the tarball on a
# Debian FTP mirror.

cd
test -f installed/xvid4conf_1.12.orig.tar.gz &&
 mv installed/xvid4conf_1.12.orig.tar.gz .
test ! -f xvid4conf_1.12.orig.tar.gz &&
 wget http://englanders.cc/pub/linux/misc/xvid4conf_1.12.orig.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "xvid4conf-*" -exec rm -r {} \;
tar xzvf ~/xvid4conf_1.12.orig.tar.gz
cd xvid4conf-1.12
test $UID = 0 && chown -R root:root .
./configure
make
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/xvid4conf??.*.tar.*
mv xvid4conf_1.12.orig.tar.gz installed/


# dvd::rip 0.98.2
# ===============
cd
test -f installed/dvdrip-0.98.2.tar.gz &&
 mv installed/dvdrip-0.98.2.tar.gz .
test ! -f dvdrip-0.98.2.tar.gz &&
 wget http://www.exit1.org/dvdrip/dist/dvdrip-0.98.2.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "Video-DVDRip-*" -exec rm -r {} \;
find -maxdepth 1 -type d -name "dvdrip-*" -exec rm -r {} \;
tar xzvf ~/dvdrip-0.98.2.tar.gz
cd dvdrip-0.98.2
test $UID = 0 && chown -R root:root .
perl Makefile.PL
make
make test
su -c "make install"
cd
mkdir -p -m 0700 installed
rm -f installed/Video-DVDRip-*.tar.* installed/dvdrip-*.tar.*
mv dvdrip-0.98.2.tar.gz installed/

# If you use transcode 1.1.0 like I do, you'll need to open up
# /usr/lib/perl5/site_perl/x.x.x/Video/DVDRip/Depend.pm and change
# "max" for transcode in there to 1.1.0 (or downgrade transcode to 1.0.99)
# and replace occurances of "-M" in Title.pm with "--demuxer_sync".

# /usr/lib/perl5/site_perl/x.x.x/Video/DVDRip/icon.xpm can be used as a
# desktop icon

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>