HOWTO_DVD-Ripping
| Installation • Kernel & Hardware • Networks • Portage • Software • System • X Server • Gaming • Non-x86 • Emulators • Misc |
Contents |
Intro
Knowing how to rip DVDs is useful for backing up your movies and storing them for easy access on your hard drive. Why search through all those stacks of DVD cases when you can simply cd to a directory? The average 8.5GB DVD can be compressed down to 1.4GB (2 CDs) and retain near-perfect quality. This article describes how to rip DVDs using transcode and dvd::rip.
Setup
First you need to enable some USE flags, namely the ones used for DVD authoring. Fire up your favorite text editor and add the following USE flags to your /etc/make.conf: a52, avi, dvdread, divx, dv, encode, fame, mjpeg, mpeg, ogg, quicktime, subtitles, vorbis, xvid.
Install dvd::rip and transcode. Make sure the above USE flags are set. If you have not already installed xvid, libvorbis and libquicktime, they will be installed now:
# emerge -av dvdrip transcode
To get subtitles you have to install subtitleripper:
# emerge -av subtitleripper
If you get following error when starting dvd::rip
# [filterlist] (re)scanning transcode's module path /usr/lib/transcode...
dvd::rip configuration
As dvd::rip is fairly easy to navigate, this part of the wiki goes over the settings that give the best quality video for most projects.
Then choose either Rip data to harddisk before encoding or Encode DVD on the fly as is appropriate for your situation.
RIP Title Tab
Click Read DVD Table of Contents and wait while dvd::rip scans the DVD. Select the title you'd like to rip. If it is a movie, then it is usually the first track, and the longest.
Click RIP Selected Title(s)/Chapter(s).
Wait a long time. This process could take a two or three hours for a movie.
Clip & Zoom tab
Under Adjust Clip and Zoom Parameters, for the Presets option choose Autoadjust, Small Frame Size, HQ Resize. There are many options to choose from, if you have time try a couple different ones and see how they affect the quality of your encode. Click on Apply Preset Values.
Transcode Tab
One thing I find lacking is support for the MKV container format. It handles multiple audio and subtitle streams like ogg.
Video options
There are a lot of choices here. Some of the more popular codecs, for general DVD backup, are DivX and XviD (the open source version of DivX). If you want to research this further indepth, there is plenty of debate and forum out there. A place to check is the doom9 forum, as most of this info is pulled from there. There are no "best" settings for all projects, as it depends heavily on the target size of the encode and the source. The defaults are pretty good, but the changes here are generally good ones.
XviD
XviD is a highly configurable codec, and a nightmare for the unprepared. Fortunately, this wiki page is here to help. Select xvid4 and click Configure. It should launch a program called "xvid4conf".
Features:
- Quant Type: mpeg: MPEG provides a nice, crisp picture for high bitrate encodes (greater than 1000 kbps). Assuming you are ripping from a DVD source, this is what you want. This is optionally changed later with a custom quantization matrix, which is better than the mpeg default.
- Motion: 6 - Ultra High, VHQ: 4 - Wide Search: both of these modify the quality. The encode will take longer, but just leave it on overnight :)
Select Chroma ME, HigQ AC, Trellis Quantizer and Turbo Mode. Select Cartoon Mode if you're encoding cartoon-ish things. Leave the B-Frame numbers alone, the defaults are fine. Enable Quarterpel and Closed Gop, and turn Packed off.
- Quantizers: leave the settings for I-Frame, P-Frame and B-Frame.
- Intra and Inter Matrix Files: this is an optional step, as the "Quant Type" setting provides reasonable defaults. Don't mess with this unless you know what you're doing. There are some matrixes available for pasting into the Matrix Editor at doom9 if you search around a bit. The famous ones are 6of9 (SixOfNine).
Leave the Single Pass and Two Pass tabs alone. Go to Save/Load, and save this config somewhere and quit.
Select Two Pass encoding and no deinterlacing. Filters can provide a visually better picture, but we aren't going to go over them here. It's okay to leave them off.
Video bitrate calculation
A standard for a DVD movie is a 2 CD (2 x 700MB) rip. It's usually pretty good. If you're encoding episodes, or things smaller than a movie, you don't need 2 CDs.
Audio Options / Target Track
Select an audio track. Unless you want the dual audio, just choose the one in your native language and disable the rest. Using MP3 or Vorbis is personal preference, but Vorbis requires you to use the OGG container. Generally, I would recommend using MP3. 128 kbps bitrate is plenty. Use the highest quality setting, Quality - 0 for mp3, and leave it at 3 or 4 if using Vorbis.
Final Steps
Click on the Transcode button at the bottom, and go do something else. It takes a while.
Alternative: Using MEncoder
It is also possible to use MEncoder to rip a DVD. While you'll have to use the command line, it definitely has its uses. For instance, MEncoder can encode some buggy video files which transcode refuses to read. See MEncoder/Rip DVD for more information.
References
- Encoding with cluster
- Ripping with MEncoder
- High-quality video encoding with MEncoder
- DVD Ripping with K3b
See also
- HOWTO DVD to Matroska - Excellent guide for ripping DVDs using mplayer, H.264 and Matroska
- MEncoder
- MEncoder/Rip DVD
External links
- Advanced Video Coding on Linux - Article describing the advantages of the H.264 video codec
Browse categories > Hardware > Storage > Removable media > DVD
Browse categories > Hardware > Storage > Removable media > DVDR
Created by NickStallman.net, Luxury Homes Australia
Real estate agents should be using interactive floor plans and list their apartments, townhouses and units.
