> I tried doing this with the ogg stream from http://www.streamingsoundtracks.com
> but the wav file always ends up with silence. Any ideas?

I'm listening to that now. I have the record script running in 
another console. Recording is OK. Note I have kmix with the red
record light selected on the slider for IGain - depending on
what card and driver you have, that could appear elsewhere, but on
my system it's the one in the middle - there are two of these funny
triangles, select the left one.

Getting to the stream was problematic. Starting the stream and having
kde run 'ogg123' just produced nothing. I had to save the .pls file and
then try a variety of ways to open it. What finally worked was to
direct ogg123 to the url mentioned in the pls file. I tried with
mplayer as well, and it couldn't read the playlist file directly. It
appears that some players can get to the URL in the playlist file, and
others cannot. Sometimes the playlist or ASX file is only one line 
long, and if it can't open it, I use `cat foo.asx` instead :).

Aside - it's interesting in that page has a premium broadcast of a
*lower* quality on live365, and you can listen to the stream for free
there. I tried icecast as well, there doesn't seem to be anything there.

Incidentally, this whole time sink started some months ago as a thread
on expert (or maybe newbie) concerning how to record live streams -
something I've wanted to do for a while. There's even a Twiki page
on it, but I can't remember where it is. 

sox - at least in Mandrake/cooker or 9.1 doesn't have the ability to
record to .ogg directly. There are ways to coax it to do so, and I
believe the Twiki page references that. But that was sometime ago, and
through the different installs and upgrades, I've long since reverted to
the sox in Mandrake.

I still haven't sorted out Audacity - it doesn't seem to want to record
directly off of the soundcard. It used to do that; it was fun to see the
graph of the sound and the bar keep going to the right in real time.
Fine - just record and then import the mp3 into Audacity ;). 

If this method doesn't work, you can dump the stream directly using
mplayer/mencoder's stream dump option. 'mplayer -cache 64 -dumpstream
http:/urlofwhateveritis' should work. The downside - you can't hear it
at the same time. You'll get a file in the current working directory.
When I try it on this URL, I get an ogg vorbis file. And if the URL is
video, guess what -- that dumps the video content too ;).

(I"m going to cc: this back to newbie - it might spark some further
discussion, if you don't mind.)

> Miark
 

------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
[EMAIL PROTECTED]                            change magnetic patterns
[EMAIL PROTECTED]               on your hard disk.
-----------------------------------------------------------------------

Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to