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

Michael Niedermayer michaelni
Wed Aug 31 10:27:33 CEST 2005


Hi

On Tue, Aug 30, 2005 at 11:02:25PM -0400, Cyrus Adkisson wrote:
> 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 
> outfile.wav
> 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?

you didnt RTFM, you must put -i before the input

[...]
-- 
Michael





More information about the ffmpeg-devel mailing list