Will Maier wrote:
On Wed, Jun 14, 2006 at 12:57:48PM -0700, Bryan wrote:
Does anyone have a good way of taking streams from the web (like music
streams) and record them to whatever format, specifically .ogg or
.mp3? I first tried to use Mplayer and "dd if=/dev/sound
of=/var/audio.raw" like in the FAQ, but it kept saying that the audio
device was busy.
$ man mplayer
[...]
$ mplayer -dumpstream http://your.stream.com/stream.mp3 -dumpfile stream.mp3
I did find that, but the stream is not an .mp3 file.
here is one of links that I connect to... San Diego KIOZ-FM 105.3 FM
http://64.62.193.13:80/D/260/19768/v0001/reflector:42778/
This is an .asf file. Opening this in a browser gives me the same
link. I read the FAQ about that as well. Mplayer has no qualms about
running this file as is.
Can I dump the stream directly as an .mp3 file? I didn't think that
was possible without using some kind of encoder like LAME (which I
have installed).
Bryan