Step 1: Detect your DVD information
mplayer dvd://1 -frames 0 -identify
Maybe you need to adjust the number after dvd://. A good strategy is start from 0, that will guarantee you knowing how many titles(separate movies, generally) on the DVD. If the number is not 0, you can see informations of specified title.Then you can see following information, such as
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1) language: en aid: 128.
ID_AUDIO_ID=128
ID_AID_128_LANG=en
number of audio channels on disk: 1.
subtitle ( sid ): 0 language: en
ID_SUBTITLE_ID=0
ID_SID_0_LANG=en
Step 2: Rip the audio into PCM file
mplayer dvd://# -aid # -vo null -ao pcm:file="filename"
For example mplayer dvd://1 -aid 128 -vo null -ao pcm:file='ice2.wav'
Step 3: Convert WAV into OGG or MP3 using oggenc or lame
The oggenc is included in vorbis-tools. You can use
sudo apt-get install vorbis-tools
to install it.Examples:
oggenc ice.wav -o ice.ogg
Other maybe useful stuff
RipperX
StreamRipper
Dekagen
No comments:
Post a Comment