Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

Ripmake: Command Line Tools


Ripmake (see http://www.lallafa.de/bp/ripmake.html) automates many of the decisions required to generate an avi or svcd from a DVD or a copy of a DVD. It is also heading toward generating DVDs. Its philosophy is to generate a script (using a Makefile) that encapsulates all of the automatic decisions which the user can then choose to override if desired.

Generally, avi is a better format and okay if you only view on computer, but there aren't many DVD players that can play an avi file (although portable media players, such as the iRiver PMP-140, as well as the Sigmatek DVD players play avi files). For backup you could regenerate the DVD (but it will be less quality) and thus if you lose or damage your original DVD at least there is some hope. For viewing the backup on consumer DVD players that support svcd, then of course generating SVCD would be the way to go!

To generate an avi version of the DVD:

  $ ripmake /dev/dvd avi
  $ make -f dvd-avi.mak           (generates a sample)
  $ totem dvd-avi-SAMPLE.avi       (view the sample)
  $ make -f dvd-avi.mak rip       (generates avi collection)
  $ totem dvd-avi-CD1.avi
  $ totem dvd-avi-CD2.avi

To choose a different size for each of the output files (the default is 700MB) use the -C option:

  $ ripmake -C 650 /dev/dvd avi

To select title 2 rather than the defualt (longest) title use the -t option: option:

  $ ripmake -t 2 /dev/dvd avi

To include English subtitles use the -s option:

  $ ripmake -s en /dev/dvd avi

To convert an avi to an svcd:

  $ ripmake -n pal dvd.avi svcd  (-n pal to ensure PAL SVCD)
  $ make -f dvd-svcd.mak
  $ totem dvd-svcd-SAMPLE.mpg
  $ make -f dvd-svcd.mak rip

To generate an svcd from a DVD the process is:

  $ ripmake /dev/dvd svcd         (-s 650 to set CD-R size)
  $ make -f dvd-svcd.mak          (generates a sample)
  $ totem dvd-svcd-SAMPLE.mpg      (view the sample)
  $ make -f dvd-svcd.mak rip      (generates disks)
  $ cdrdao write dvd-svcd-CD1.cue (burn a CD-R)
  $ cdrdao write dvd-svcd-CD2.cue
  $ ...

If you have a copy of a DVD in the folder xyz (which contains the VTS_01_1.VOB file, for example) and want to generate an SVCD then replace /dev/dvd above with the name of the folder (e.g., xyz) and replace dvd in the other lines with xyz.

Note that the size of a CD is usually quoted as the size of a CD in data mode (whitch uses 2048 bytes/sector). When mastering a VCD/SVCD we are usually talking in terms of raw mode (2324 bytes/sector). Note also that ripmake uses the common data mode size and internally converts to raw mode so that 700MB is usually the correct size for a 800MB VCD/SVCD (in raw mode). We introduce a number of associated command line tools for dealing with DVDs. These tools are actually the foundations of other front-ends, including ripmake, acidrip, and dvdrip.

Copyright © 1995-2006 Graham.Williams@togaware.com
Contribue and access the PDF Version