Recording Real Audio streams in Linux
mplayer -v -cache 128 -rtsp-stream-over-tcp -dumpstream -dumpfile dump.ra rtsp://rmv8.bbc.net.uk/radio4/comedy/wed1830.raConvert it to WAV/PCM format.
mplayer -vc dummy -vo null -ao pcm -ao pcm:file=dump.pcm dump.raAnd finally, encode it to OGG and delete the pcm file..
oggenc --managed -m 96 -M 225 -q 3.0 dump.pcm && rm dump.raFor some reasons the ogg is twice the size of the dump of the stream. But frankly, I can't be bothered to work out why. Bandwidth and diskspace are cheap.