dvdtoogg is a script for converting the audio content of a DVD to a multi-channel Ogg Vorbis file. (From 2 to 6 channels are supported.)
dvdtoogg uses mplayer to find and extract DVD tracks, and uses oggenc to encode to a stereo or 5.1 Ogg Vorbis file.
I created this script because transcode is not able to rip in 5.1 channels I tried to keep this script as simple as possible. The script is just a simple frontend to player/oggenc.
There is nothing magic, but I spent many hours to find the clever way to do that. I hope this script will help you to save some time in converting DVD to OGG. If you like this script and/or if you have some comments/patches, email me.
$0 [--dev=< dvd_device >] [--channels=< channels >] [--detect]
[--format=< audio_format >] [--quality=< ogg_quality >] [--first-chapter=< chapter >]
[--last-chapter=< chapter] [--basename=< chapter_name >] [--keep-temp] [--help]
--dev Select the dvd device to rip (Default: $dvd_dev)
--channels Select the number of channels to encode from 2 to 6 (Default: $channels)
--detect Detect the available audio format and exit
--format Select the audio format to rip in ogg (Default: $input_format)
--quality Select the ogg quality: -1 to 10 (Default: $ogg_quality)
--first-chapter Select the first chapter (Default: $first_chapter)
--last-chapter Select the first chapter (Default: the last chapter available)
--basename Select the basename for the chapter's naming (Default : $basename)
--keep-rip Do not delete ripped tracks
--help This help
Example of use:
To encode a full dvd in ogg 2.0 using an ogg quality set to 6
To encode a full dvd (/dev/dvd1) in ogg 5.1 using ogg quality set to the max
$0 --dev=/dev/dvd1 --channels 6 --quality 10
To encode the chapter 6 and 7 in ogg 5.1
$0 --first-chapter=6 --last-chapter=7 --channels 6
To detect all audio format available
What's New in This Release:
· MPEG1 support was added with aid=0.