On Tuesday 06 December 2005 3:26 pm, Robert Citek wrote:
> Is there a way to automatically capture an audio stream and convert
> it to mp3 or ogg vorbis?

yes.

> I'd prefer if NPR had a podcast but they
> don't.  

http://www.npr.org/rss/podcast/podcast_directory.php

> So, I'd like to download their stream, save it as ogg vorbis, 
> and then listen to it later, e.g. in the car.
>
> Is there a way to do that?  What would I need?  (I'm thinking perl or
> ruby script ;)

mplayer http://url -ao pcm -aofile captured.wav -vc dummy -vo null && lame 
captured.wav captured.mp3

if you don't want to use lame, substitute oggenc.

scott
-- 
R. Scott Granneman
[EMAIL PROTECTED] ~ www.granneman.com
Full list of publications: http://www.granneman.com/publications
  My new book on Firefox: Don't Click on the Blue E!
    Info at: http://www.oreilly.com/catalog/bluee/
  Read the Open Source Blog: http://opensource.weblogsinc.com
  Join GranneNotes! Information at www.granneman.com

"Facts are stupid things."
      ---Ronald Reagan
 
_______________________________________________
CWE-LUG mailing list
[email protected]
http://www.cwelug.org/
http://www.cwelug.org/archives/
http://www.cwelug.org/mailinglist/

Reply via email to