Home      Students      Teaching      Publications      Software      Fac-Ad      Linux      Links      Bio

Rip a DVD

Assume without loss of generality that we have Debian installed.
  1. apt-get install vobcopy ffmpeg
  2. put dvd into dvd-drive.
  3. mount dvd. mount /media/cdrom. ls /media/cdrom should show files and folders.
  4. switch to folder where dvd is to be copied. cd /documents/shanti. Make sure this directory has enough space. (Use df -h to check)
  5. vobcopy -b 3500m -i /media/cdrom (skips first 3500MB of data on dvd and copies the rest to the current directory).
  6. This will create a .vob file (like MTK_RECORD_VOLUME1-1.vob)
  7. ffmpeg -i MTK_RECORD_VOLUME1-1.vob -f ogg -vn -acodec vorbis -t 2000 shanti.ogg
  8. Sometimes the ogg produced in this way may have unsatisfactory sound quality. If this is the case, then try: ffmpeg -i MTK_RECORD_VOLUME1-1.vob -f ogg -vn -acodec vorbis -ac 2 -aq 160k -t 2000 shanti.ogg
  9. This will create shanti.ogg which can be played using xmms and clipped using audacity. The -t flag will convert only first 2000 seconds from .vob file.
  10. To get a more precise time interval one may first view .vob file using mplayer etc.
Go back to linux.html

Last modified on August 19, 2019.