Ik gebruik daarvoor mplayer, zoals je ook in het andere topic kan lezen
voor 128kbps mp3:
mkfifo sndpipe; lame -b 128 sndpipe -o sound_rip.mp3 & mplayer -vo null -vc dummy -quiet -ao pcm:file=sndpipe dvd://1; rm sndpipe
of voor 128kbps (vbr) ogg vorbis:
mkfifo sndpipe; oggenc -b 128 sndpipe -o sound_rip.ogg & mplayer -vo null -vc dummy -quiet -ao pcm:file=sndpipe dvd://1; rm sndpipe
uitleg:
mkfifo sndpipe -> named pipe aanmaken
lame (oggenc) -b 128 sndpipe -o sound_rip.ogg (.mp3) & -> mp3 of ogg vorbis encoder op de achtergrond klaarzetten om de inhoud van named_pipe te rippen naar mp3 of ogg vorbis
mplayer -vo null -vc dummy -quiet -ao pcm:file=sndpipe dvd://1 -> mplayer gebruiken om een dvd (dvd://1) met null video output en dummy video codec af te spelen (gaat veel sneller), quiet zodat er niet veel output wordt getoond, audio output om alles in pcm formaat naar de named pipe "sndpipe" te schrijven
rm sndpipe -> na het rippen/encoderen mag de named pipe weer verwijderd worden