Here's an example of ripping SomaFM's Groove Salad MP3 stream (a nicely chilled plate of ambient beats and grooves):
mplayer -cache 100 -dumpstream \
http://scfire-chi0l-2.stream.aol.com:80/stream/1018 \
-dumpfile soma_fm.mp3
BTW, this method also works for saving RealVideo streams (RSTP).
mplayer -cache 100 -dumpstream \
rtsp://rxn08.example.com/video/video1.rm \
-dumpfile video.rm
-dumpstream (MPlayer only)
Dumps the raw stream to ./stream.dump. Useful when ripping from DVD or network. If you give more than one of -dumpaudio, -dumpvideo, -dumpstream on the command line only the last one will work.
-dumpfile <filename> (MPlayer only)
Specify which file MPlayer should dump to. Should be used together with -dumpaudio / -dumpvideo / -dumpstream.
-cache <kBytes>
This option specifies how much memory (in kBytes) to use when precaching a file or URL. Especially useful on slow media.


Did you find this post helpful, or at least, interesting?