[Ffmpeg-devel] using ffmpeg to encode an internet stream

Cyrus Adkisson cyrus
Wed Aug 31 05:02:25 CEST 2005

I've seen a few posts that mention ffmpeg might have stream-grabbing 
capabilities. Some say it does, some say it doesn't (or is hopelessly 
segfaulting). Can ffmpeg grab a live internet radio feed and encode it 
into an mp3 yet? If not, are there any programs that do? I've tried the 
following commands:

ffmpeg -vn 
http://audio.wtopnews.com/stream/real/prerolls/real_audio/wtop.rm -y 
ffmpeg -vn 
http://audio.wtopnews.com/stream/real/prerolls/real_audio/wtop.rm -ab 
192 -ar 44100 -acodec mp3 outfile.mp3
ffmpeg -vn http://mmslb.eonstreams.com/wbalam?MSWMExt=.asf -ab 192 -ar 
44100 -acodec mp3 outfile.mp3
ffmpeg -vn http://hq.dynalias.com/swayze/champions.mp3 -y outfile.wav 
(just a file, not a stream)

Each time, the output file is just silence. Any ideas what's going on here?

2.6.12 kernel, lastest CVS of ffmpeg (got it 15 minutes ago), alsa 
1.0.8, FC3


phone: 202-465-4359
fax: 703-842-4825
1833 New Hampshire Ave NW
Washington, DC 20009

More information about the ffmpeg-devel mailing list