Rip a DVD
Assume without loss of generality that we have Debian installed.
- apt-get install vobcopy ffmpeg
- put dvd into dvd-drive.
- mount dvd. mount /media/cdrom. ls /media/cdrom should show files and
folders.
- switch to folder where dvd is to be copied. cd /documents/shanti.
Make sure this directory has enough space. (Use df -h to
check)
- vobcopy -b 3500m -i /media/cdrom (skips first 3500MB of data on dvd and
copies the rest to the current directory).
- This will create a .vob file (like MTK_RECORD_VOLUME1-1.vob)
- ffmpeg -i MTK_RECORD_VOLUME1-1.vob -f ogg -vn -acodec vorbis -t 2000 shanti.ogg
- 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
- 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.
- 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.