first:
with mplayer you extract the audio with something like this:
mplayer last_samurai.mpeg -vc dummy -vo null -hardframedrop -ao pcm -aofile audio.wav
-this is for an already ripped mpg-stream to a file - in this case I ripped "The last samurai" off a dvd with: mplayer dvd://1 -dumpsteam -dumpfile ./last_samurai.mpg
to rip the audio directly from dvd you would use something like:
mplayer dvd://1 -vc dummy -vo null -hardframedrop -ao pcm -aofile audio.wav
(optionally giving -alang en or -aid 128 or whatever for the desired language)
after you have it as .wav on disk you convert it to whatever you want:
oggenc -q3 -o audio.ogg audio.wav
...to convert it to ogg
-use a similar approach to convert it to mp3
it is more obvious and maybe easier to do with transcode - it is described in the examples the documentation gives...
But doing it with mplayer is also described in docs, but maybe not in so obvious places - in mplayer-source/DOCS/tech/encoding-tips.txt
maybe it's choppy because of the way you ripped it - or maybe because of xmms - I use rythmbox or mplayer itself - but xmms also has no problems...
|