Template:Article summary start Template:Article summary text Template:Article summary heading Template:Article summary wiki Template:Article summary wiki Template:Article summary wiki Template:Article summary end
There are several ways to backup DVD videos; see DVD Ripping. Many methods are slow, and require several steps to accomplish. Template:Package AUR provides a simpler method (with some help from Template:Package Official). The Template:Codeline program is elegant because it does not demux/remux/transcode/reformat the movie. This means the backup process is done in one step.
# pacman -S dvdauthor
# pacman -S libdvdcss
Examining the DVD
First, determine which title to backup. The following command retrieves information about the DVD:
$ dvdbackup -i /dev/dvd -I
This indicates that the main feature is in title set 1. Next a list of title sets is displayed: Template:Command
The main feature in this example is title 1. Sometimes a title set will include more than one title, sometimes not. Title sets can also include menus, which will no longer work if not backing up the entire DVD.
Ripping the DVD
A single title
The Template:Codeline option allows you to extract a specific title:
$ dvdbackup -i /dev/dvd -o ~ -t 1
You will now see a number of VOB files on the hard drive (in Template:Filename). These files can be played in MPlayer or VLC, but are insufficient to create a DVD copy! This is where Template:Codeline is useful.
$ mkdir ~/dvd $ cd ~/MOVIE_NAME/VIDEO_TS $ dvdauthor -t -o ~/dvd *.VOB
Template:Codeline will create a copy of the movie. If it outputs anything like "SCR moves backwards, remultiplex input" there might be trouble. Before deleting any files, check the file sizes of the original VOB files compared to the copied ones. If all roughly the same size, you may be alright. You can use MPlayer to test the affected VOB files to see if anything is missing.
$ cd ~/dvd/VIDEO_TS $ dvdauthor -o ~/dvd -T
The main feature
The Template:Codeline option automatically detects the main feature (though not always correctly!) and copies the entire title set:
$ dvdbackup -i /dev/dvd -o ~ -F
$ cd ~/MOVIE_NAME/VIDEO_TS $ dvdauthor -o ~/MOVIE_NAME -T
The whole DVD
The Template:Codeline option will backup the entire DVD structure, including menus, special features, etc. This requires approximately 7 GB of disk space for most DVDs:
$ dvdbackup -i /dev/dvd -o ~ -M
Writing to disc
See DVD Writing.
Creating an ISO
The advantage of creating the ISO file is that you can test that everything works fine with MPlayer before continuing. The disadvantage is that the ISO consumes hard drive space.
$ mkisofs -dvd-video -udf -o ~/dvd.iso ~/dvd # if a single title was extracted
$ mkisofs -dvd-video -udf -o ~/dvd.iso ~/MOVIE_NAME
To test the image with MPlayer, simply:
$ mplayer dvd:// -dvd-device ~/dvd.iso
If everything seems fine, burn the image:
$ growisofs -Z /dev/dvd=~/dvd.iso
Burning straight to DVD
If confident in our skills, creating and testing an image is a waste of time and hard drive space! Basically, one can merge the mkisofs with the growisofs command listed above:
$ growisofs -dvd-video -udf -Z /dev/dvd ~/dvd # if a single title was extracted
$ growisofs -dvd-video -udf -Z /dev/dvd ~/MOVIE_NAME