In this guide I will describe you how to backup your DVDs under Linux. I will use k9copy, which is an open source program. k9copy supports Video compression for fit onto a 4.7GB single layer DVD (just like dvdschrink does), xvid, x264 and mpeg-4 compression as well as it has options for selecting the menus, audio and subtitles you like. Let's move on to the installation and use part.
You can download k9copy from here .

For Fedora users:
You must have the livna repository enabled. If you don't take a look here on how to do it.

Next type:

$ sudo yum install k9copy

Now you can launch k9copy from Multimedia > k9copy - Video DVD Backup if you are using KDE or Applications > Sound & Video > k9copy if you are using Gnome.

This screen will appear.


Here you can see the input device (your dvd-rom) and the ouput device. You can select between ISO image and your dvd-rom in case you want to burn the shrinked dvd immediately. At the top buttons panel you can see the MPG4 and DVD buttons. Now insert the dvd you want to copy.



At the left of the window you see the dvd structure in tree mode. You can select the entire movie or just the titlesets you want to backup. You can also select the subtitles and audio you'd like to include in the final video.

But first let's take a look at the program settings. Go to Settings -> Configure k9copy.

Settings

DVD


Output directory
: This is the temporary directory where all files will be kept. Be sure that it has many GBs free always depending on the length of the movie you wan to copy.

DVD size: The size of the dvd you want to copy the movie to. The default value is ok if you want to use single layer dvds.

Burn with k3b: By default k9copy uses its own burning method. However you can use k3b if you prefer it.

Auto burn: If you enable auto burn the dvd burning will start without a notification.

Quick scan: If this option is enabled k9copy will not analyze the dvd title to estimate the sizes of each stream. The dvd analyze can take a long time if dvd contains many features so you can leave this enabled.

Use dvdauthor for copy without menus: dvdauthor is an external program that allows the menu creation. Leave it enabled.

MPEG-4 Encoding

mpeg4_encoding

Video codec
: All the supported codecs are listed here. Default codecs are xvid and lavc MPEG-4 but you can add other codecs that are supported by MEncoder such as x264. You can also select the number of passes. 2 passes gives you better result but it takes longer to complete.

File size: Here you can choose the size of the video files that will be created. The default value is 700MB which is the size of a single cd. If the movie is very long you can choose to split it in 2 files. This way the compression won't be as noticeable as if you use only 1 cd. But you choose. Generally 1x700MB is ok.

Width: You can resize the movie if you want. 640 is ok. Leave keep aspect ratio enabled.

Audio bitrate: You can also adjust the audio bitrate to suit your needs.

MEncoder

mencoder

Here you can add your own settings if you are familiar with mencoder.

Preview

preview

In this window you can choose between the default player for the preview of the movie and mplayer in case you have it installed.


DVD Copy

First select the titles you want to back or just select the whole movie from the left window.


At the right you see three tabs. The first one is "DVD playbak options". This tab is usefull only if you want to copy the movie to a new single layer dvd. If you just want to rip it in xvid don't change anything here. In this tab you can select "Keep original menus" or disable it and just select whatever part you want from the movie. When a title is selected from the left window it is listed here. You can rearrange the order of the titles and also you can select the preferable audio and subtitles you want to include in the new dvd.

When you are finished with the options select from the output directory either "ISO Image" if you want to save an iso image of the dvd in your hard disk or your DVD-rom device in case you want to burn immediatelly the new dvd.

Next click the DVD button. If have chosen "ISO Image" you will be prompted to select a folder to save the iso whereas if you have chosen the dvd rom the back up progress will start.



DVD rip

Now let's say that you want to rip the movie in xvid, mpeg4 etc. Make the settings you like as mention above in the settings section. Then select the movie parts you want to rip from the left window. Select also the subtitles and audio stream you want to include in your movie.


When you are ready press the MPG4 button and select a place for the video file to be saved. Click Ok and the transcoding will start.


In a while you will have your xvid ready. Have fun!

Comments (17)

Subscribe to this comment's feed
...
0
Thanks for the guide.

I had installed k9copy a long time ago but had not messed with it. I used XP in a VM to make my backups.

Saw your guide on an upcoming digg and tried it out.

The first try freaked me out. It took about 15 minutes when I was used to a 3 hour process.

I still have a couple issues, but am sold.

Thanks
beerorkid , September 15, 2007 | url
is this also in Xp-Vista (windows form available?)
0
is this also available in Windows version?
like 32bit or for Xp or Vista?

tellme,
samenmetjou@hotmail.com
Thanxx
andre , August 07, 2008
...
axel
No, this is Linux software only.

For Windows you can try DVDFab
How to copy, split or customize a DVD-9 using DVDFab

or RipIt4Me
How to copy a DVD-9 using Ripit4Me and DVD Shrink 3.2
axel , August 08, 2008
k9copy
0
outstanding software !

I 've always searched for an easy way to rip DVDs to h264
to backup my DVD collection under linux.
This program is the perfect solution.

now i'm never using windows anymore !
john doe , December 14, 2008
...
axel
I am glad to hear this "john doe"! smilies/cheesy.gif
axel , December 14, 2008
Just a little comment
0
I've been looking for a program that can rip my DVDs in a descent time - and it seems like I found it. Only Q now is: What format? I need it to be played on my XBOX360 as well as my PC, and PVR, but what is the difference between the codecs? Space isn't a problem, but MAXIMUM size for a DVD I want to encode must be 1400Mb. Any and all help appreciated! Thanx! smilies/smiley.gif
TinusB , December 25, 2008
...
axel
As far as I know xbox360 supports both h.264 and xvid formats. So choose one of them in the mpeg4 encoding options and give it a try.
axel , December 26, 2008
Xbox
0
I've made a couple of backups of some of my DVDs but my XBOX360 does not want to read the h.264 encoded ones - apparently not supported. I do have the latest Dashboard/Operating System updated on my Xbox360. Any ideas?
TinusB , December 28, 2008
...
axel
Which distribution are you using?

Try first to rip a DVD into your hard disk using k9copy and then convert it again using the following command.

ffmpeg -y -i INPUTVIDEO.AVI -vcodec libx264 -b 500k -flags +loop -cmp +chroma -partitions +parti4x4+partp8x8+partb8x8 -flags2 +mixed_refs -me umh -subq 5 -trellis 1 -refs 5 -bf 3 -b_strategy 1 -coder 1 -me_range 16 -g 250 -keyint_min 25 -sc_threshold 40 -i_qfactor 0.71 -bt 500k -rc_eq 'blurCplx^(1-qComp)' -qcomp 0.6 -qmin 10 -qmax 51 -qdiff 4 -level 41 -acodec libfaac -ac 2 -ar 48000 -ab 128k -f mov OUTPUTVIDEO.MOV

Finally burn the .mov file to a dvd and check if xbox360 plays it. Sorry but I don't have an xbox to test it myself. smilies/sad.gif
axel , December 28, 2008
XBOX is finiky
0
xbox360 only supports WMV (suprise, suprise) or XVID with mp3 in an avi for streaming (with latest update), or xvid or h264 in mp4 with AAC-LC (only LC) for loading off of a connected USB drive.

I could never get an avi for streaming that it liked, i would recomend mp4 if you have a USB device it will recognize (again, good luck), or are willing to burn all your movies to CD/DVD.
pheonix , March 01, 2009
...
axel
Nice info. Thanks pheonix. smilies/smiley.gif
axel , March 02, 2009
What about Dual Layer
0
Nice guide but I've got one question for the guru: I've got a DL burner on my ubuntu machine. What would the settings be to rip with no compression?
JamesB , April 21, 2009
...
axel
It's been a long time since I last tried k9copy and unfortunatelly I don't have a Dual Layer burner.

I took a look at a new version of k9copy and I saw there is an option to just copy the original DVD. If you use this insted of a codec, such as xvid or h264, you will rip the DVD without any compression.

I liked the new version of k9copy. A new guide is scheduled. smilies/wink.gif Thanks JamesB.
axel , April 21, 2009
Streaming to 360
0
Just use a good codec, then use TVersity media server to serve your videos to your 360, then you dont have to sacrifice quality for shitty compression smilies/wink.gif
Liquid- , July 19, 2009
...
axel
Thanks Liquid. I hadn't heard TVersity before. smilies/smiley.gif
axel , July 24, 2009
how can I just rip without compression?
0
hello axel, could you please explain me how to rip DVD without compression? I wasn't able to get this. I always come to the screen where I get a compression factor and I am not able to set it to "1"

Thanks
toni , August 27, 2009
...
axel
toni if you set the output to mpeg-4 or mpeg-2 the dvd will be compressed by default. Maybe you could try to output to ISO format.

However you should have in mind that ripping the DVD without compression will result to a video file of many GBs.
axel , August 31, 2009

Write comment

smaller | bigger
security image
Write the displayed characters

busy

Linux DVD Video

Login Form

Follow me on...

  • Facebook
  • Twitter
  • Google+: u/0/b/113039112812192417058/
  • Digg
  • Reddit: myguides
  • RSS Feed
  • e-mail

Member Login