In this step-by-step tutorial I will explain how to transcode a DVD using DVD::Rip. DVD::Rip is a graphical DVD ripper based on Transcode for Linux users. In other words it is a fully DVD copy program written in Perl that allows you to control all aspects of the ripping and transcoding process. Transcode is yet another linux text-console utility to encode raw video/audio streams extracted from, for example, DVD or Digital Video sources to DivX;-) or OpenDivX AVI files.

By default this free ripping software doesn't support copying encrypted DVD's which is illegal in many countries. If there are no legal issues in your country you can install libdvdcss2 to decrypt encrypted DVD's. Here are two tutorials for Ubuntu Intrepid Ibex 8.10 and Fedora Cambridge 10.


How to install libdvdcss2 in Ubuntu

How to install libdvdcss in Fedora


Install DVD::Rip from your distribution's repositories and run it. This is the program's main window.


First you must check if you have all the needed dependencies install. Go to Debug -> Check Dependencies (or press Ctrl+D). Here as you can see I am missing xvid4conf and rar. Just use your PMS (Package Management System) e.g. Synaptic or Yum, to install anything that is missing. Once you do just restart DVDRip.




Now let's make some settings. Go to Edit -> Edit Preferences (or press Ctrl+P).

The first tab is Basic Settings. Choose your DVD device and the directories where all data will be saved. Also set the preffered languages for the subtitles.



In the Commands tap leave everything as it is unless you know what you are doing.



Same in the Cluster options tab. The cluster is only useful if you have many computers you want to use to rip a DVD movie simultaneouslly thus making the ripping process faster.


Finally in the Miscellaneous options you can select the video codec for the ripping. Here I am going to use the XviD codec, but there are other options available such as DivX, VCD and ffmpeg (which gives mpeg4 and h264 output). The available container formats are avi, mpeg and ogg. I will use avi. If you want to rip the DVD for a mobile device select ogg. If you select ogg you can choose between .ogg and .ogm file extensions depending on what your mobile device, phone etc. uses. Finally you can either grab subtitles of your preffered language, grab all subtitles or grab no subtitles at all.



When you are done with all the settings just press the Ok button. Now insert a DVD movie into your DVD-rom drive. In the main program window click File -> New Project (or press Ctrl+N). Give your project a name, let's say MyMovie, and press the Create Project button. Just press Ok in the pop up window. Apart from the DVD device you can select a DVD image directory from you hard disk to encode into Divx/XviD. It is recommended to Copy data from DVD to your hard disk before encoding so as not to stretch your DVD drive plus it's faster.



Now go to the Rip Title tab and press Read DVD table of Contents. The longest Title is the main movie (1). Select the Audio track (2) you want to rip and the viewing Angle (3), if there are angles included in the movie. Again you can select which subtitles you want to grab (4). In the Specify chapter mode (5) if you select None all chapters will be encoded into a single video files, if you choose All the output will be a different video file for each Chapter in the Title, and if you select Selection you can rip only one or more (by holding the Ctrl key) Chapters. You can also use the View Selected Title/Chapters button (5) to make sure you have selected the correct one. When you are ready click the Rip selected Titles/Chapters button (6) and wait until the DVD is ripped into your hard disk.



Once the ripping is finished go to the Clip and Zoom tab. Here dvd::rip should have taken a preview frame from the movie. If not or if you think the image isn't representative enough grab a new one by entering a frame number and pressing Grab frame (1). The grabbed image will appear in the preview section three times. The first shows the image after the first clipping, the second after resizing and the third after the second clipping. Normally you don't have to make something else in here. However if you want to make some changes manually you are advised to use the default presets (2). If you check the available presets you will see Fast Resizing and HQ Resize. The difference isn't so visible so just leave Fast Resize or make your own tests and decide. If you want to have a specific width or height for your movie while keeping the correct aspect ratio, you can use these buttons (3). E.g. you want to define the height, then enter your value to the Height entry and press Calc width afterwards. The same applies vice versa, if you want to define the width and like to have the proper height calculated.



Let's continue to the Subtitles tab. dvd::rip supports two subtitle modes: rendering and vobsub generation. If you render the subtitle e.g. hardcode them on them you can't switch them off or change their appearance afterwards. So if you don't mind having subtitles in a different vobsub file this is the best option. The quality remains the same as the original DVD and you can switch them off if you want. dvd::rip doesn't support ripping subtitles into .srt format. You can read my guide How to rip DVD subtitles to .srt in Linux if you are interested on this.

 

So if you want to hardcode your subtitle tick Activate this subtitle for rendering (1). If haven't previously clipped the movie a value of 0 is good for the Vertical offset, however if you had you'd better increase this value. Also turn on Antialiasing (2) to get smoother subtitles. You can also change the color of the subtitles if you like (3). To test what you have done select the number of frames you want to preview and click the Open button (4).




In case you want to create a VobSub file just press the Create now (1) button.


Now we are ready for the encoding part. Go to the Transcode tab. First you must set the container (1). Avi is ok. Next select the Video Codec (2). Here I will use xvid but you can select ffmpeg and set h264 for the ffmpeg/af6 codec which gives smaller output files for the same video quality. Next select the size of the output video (3). Normally 700MB files are fine. In the Audio options you can choose between the mp3 and ac3 formats. Here I will use mp3 with 128bits samplerate which gives a good sound quality. When you are ready press the Transcode button (4). Of course there are many other options to play with but explaining here would need a lot more of pages. However you can play a little yourself and check what your eyes and ears like better. ;)




Now let your CPU do the rest. You final encoded video will be ready in a "few" minutes!

How to install libdvdcss2 in Ubuntu


The libdvdcss2 package is not available from the Ubuntu repositories due to licensing and legal restrictions. So, open a terminal and type:

sudo wget http://www.medibuntu.org/sources.list.d/intrepid.list --output-document=/etc/apt/sources.list.d/medibuntu.list
Next, add the GPG Key:

sudo apt-get update
sudo apt-get install medibuntu-keyring
sudo apt-get update
For i386 and amd64 Users install the Codecs by typing:

sudo apt-get install libdvdcss2Note that using the above download locations you can install most of the multimedia codecs such as w32codecs, w64codecs, amrnb, amrnb etc. for ubuntu.

How to install libdvdcss in Fedora


To install libdvdcss in Fedora (Cambridge) 10 you must use the external livna repository. Just type:

su -
rpm -Uvh http://rpm.livna.org/livna-release.rpm

Comments (22)

Subscribe to this comment's feed
...
0
So many home DVDs, so people need to copy home DVD to video file, or we can say rip DVD to video file to play on PC or ipod, iphone, psp, BB Storm and so on.
But is it legal or not?

Personally, if you rip dvd personally without any commercial purposes, then I think it's legal, otherwise, it's ilgeal.

There are many third party dvd ripping software which can copy or rip dvd to video file such as

http://www.convert-video-dvd.com/dvd-ripper.html#115

How can we deal with them?
tiffanyacz , January 09, 2009
...
axel
The legal part is a big issue. I also believe that if you rip a dvd for personal reasons should be legal but this isn't correct from what I have read through the net.

Always it depends on which country you live. In US it is illegal for example to rip a DVD. So anyone ripping or copying dvd's should be held responsible for his own actions.

What do you mean how can deal with them? (apart from the spamming attention?)
axel , January 10, 2009
bdguru
0
hello
this softy seems very good
now can i upload my dvd and output to bluray
if so, is this dvd will accept the whole disc imean with menu's or movie only
please provide the info
djkris , January 13, 2009
...
axel
Well BluRay is more complicated and I don't have one to try it. BluRay disks have different kind of protection. I don't think this software can rip a BluRay dvd. smilies/sad.gif
axel , January 13, 2009
hm
0
hi,
yeah but avi is an old container...
and h264 is more efficient than xvid
saf , January 24, 2009
...
axel
I agree saf. I just used avi and xvid in this guide because more people are familiar with them. Of course it would be better to use h264 and mkv as a container. h264 is supported from dvd::rip. matroska container isn't. :/
axel , January 24, 2009
...
0
I agree. MKV would be a much better container. Alas, I still will try this guide, but I will give k9copy a try too.
Acid_1 , May 20, 2009
A Slight reccommendation to axel
0
xvid/avi are rather obsolete in terms of good video compression. I reccomend you revamp the tutorial to include MKV container and x264/H264 codec. MKV is really flexible and allows chapter support multiple subtitles multiple audio streams...etc.... pluse h264 is just superior video in general
RandomGuy , September 23, 2009
lol @ mkv
0
RandomGuy
xvid/avi are rather obsolete in terms of good video compression. I reccomend you revamp the tutorial to include MKV container and x264/H264 codec. MKV is really flexible and allows chapter support multiple subtitles multiple audio streams...etc.... pluse h264 is just superior video in general


LMAO, umm no offence but mkv is only good for ppl that actually watch movies on there pc, when standalone dvd players support mkv then avi{xvid} may be outdated but until that day comes...
notyou , October 21, 2009
How about a Cluster Guide.
0
I could really use a guide for setting up the cluster mode in DVD:RIP.
UBNewbie , November 22, 2009
How to install libdvdcss2 in Ubuntu
0
libdvdcss2 installed and the DVDs are playing correctly
thank you very much smilies/cheesy.gif smilies/cool.gif
acun , November 22, 2009
...
axel
UBNewbie,
I haven't used DVD:Rip in a cluster mode. I can't help. smilies/sad.gif smilies/sad.gif smilies/sad.gif

acun,
I'm glad for helping you. smilies/smiley.gif
axel , November 22, 2009
I get error Output: transcode: unrecognized option '--use_rgb'
0
Hello,

when I try to transcode, I get this error:

Job 'Transcode video - title #1, pass 1' failed with error message:
Command exits with failure code:
Command: mkdir -m 0775 -p '/home/nick/dvdrip-data/brother/tmp' && cd /home/nick/dvdrip-data/brother/tmp && mkdir -p /home/nick/dvdrip-data/brother/avi/001 && execflow -n 19 transcode -H 10 -a 1 -x vob,null -i /home/nick/dvdrip-data/brother/vob/001/ -w 2302,25 -A -N 0x2000 --use_rgb -k -I 3 -f 25.000 -j 87,0,73,0 --export_par 106,100 -R 1 -y xvid,null --psu_mode --nav_seek /home/nick/dvdrip-data/brother/tmp/brother-001-nav.log --no_split -o /dev/null --progress_meter 2 --progress_rate 25 && echo EXECFLOW_OK

Output: transcode: unrecognized option '--use_rgb'
'transcode -h | more' shows a list of available command line options.

How I disable this misterious --use_rgb option?

Thank you very much in advance...
Otriades , November 12, 2010
Cool tutorial
0
Thanks buddy for this nice info. about DVD rip.
James Richard , November 23, 2011
...
axel
You are welcome James!
axel , November 27, 2011
Article's title? :)
0
So, the article's title says it shows how to rip to xVid/h264. And yes, the DVD::Rip steps are similar for h264 - except that it doesn't actually work on Ubuntu. The ffmpeg shipped with Ubuntu does not work with h264, and has not for quite dsome time. You still apparently have to download the ffmpeg source and rebuild it to use h264. Just FYI - the guide needs a few more steps to show how to encode to h264. smilies/smiley.gif
Danny , January 20, 2012
...
axel
You are correct Danny. Ubuntu has a thing with ffmpeg and indeed it has to be rebuild from source. Maybe I should write a guide about it!
axel , January 23, 2012
Which directory is the ogg file saved in after transcoding??
0
Hi after transcoding my video (I've already ripped it), i'm having trouble finding the finished file, which directory is it usualy found in? I'm using Ubuntu 12.4. Thanks in advance
William , May 26, 2012
...
0
Actually ignore that, I'm trying to rip my DVD to one ogg file but I'm ending up with a file for each chapter. How can I sort this out?? I did it before a while back but I havn't used this program in a while and have forgotten.

Thanks
William , May 26, 2012
...
axel
William, I haven't used this program for a long time now, so I can't really help you. smilies/sad.gif
axel , May 27, 2012
...
0
To convert DVD to 16:9 DivX, Aunsoft Blu-ray Video Converter Ultimate is best with the croup function with the locked 16:9 aspect . The program supports various kinds of video aspect ratio including 16:9, 4:3 and full screen. Besides, the settings function allows you to customize video size, bitrate, frame rate, sample rate and audio channel as you need.
http://www.aunsoft.com/blu-ray-video-converter-ultimate/
Shirley1990 , February 18, 2014
...
0
To convert DVD to 16:9 DivX, Aunsoft Blu-ray Video Converter Ultimate is best with the croup function with the locked 16:9 aspect . The program supports various kinds of video aspect ratio including 16:9, 4:3 and full screen. Besides, the settings function allows you to customize video size, bitrate, frame rate, sample rate and audio channel as you need.
Shirley1990 , February 18, 2014

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