Capturing an rstp, mms or ogg audio stream and coverting to MP3

Sami Haahtinen ressu at ressukka.net
Sun Apr 3 09:24:38 UTC 2005


Eric Dunbar wrote:
> I'd like to download streams of OGG and RealPlayer from a radio
> station, convert them to MP3 or AAC (if I get an iPod shuffle), and
> play them back on an MP3 player at my leisure.

A quickie would be to install gstreamer0.8-lame 
(http://www.ubuntulinux.org/wiki/RestrictedFormats) and using gstreamer 
to convert any stream supported by gstreamer to mp3.

gst-launch-0.8 gnomevfssrc \
location=http://oggtrial.nm.cbc.ca:80/cbcr1-toronto.ogg ! decodebin ! \
lame ! filesink location=test.mp3

Simple, yet effective. Same can be done with the faac plugin for 
gstreamer to make AAC files.

- S





More information about the ubuntu-users mailing list