On Tue, 2005-12-06 at 13:43, Michel Bardiaux wrote:
Colin Rosenthal wrote:
Hi all,
mencoder and mplayer can take their input from a url, rather than a local file. I would like to be able to encode (actually just cut) .wav audio files accessed via a url. This is not possible with mencoder (-novideo is just there to tease). So far as I can see, ffmpeg does not have this functionality either, right?
Wrong:
Cool. I think I just had a broken url before. Is this neat feature documented? thanks, Colin
ffmpeg -i http://sounds.wavcentral.com/movies/starwars/chew_roar2.mp3 z.wav ffmpeg version CVS, build 3277056, Copyright (c) 2000-2004 Fabrice Bellard configuration: --enable-amr_nb --enable-amr_wb --enable-mp3lame built on Nov 8 2005 12:14:34, gcc: 2.95.4 20011002 (Debian prerelease) Input #0, mp3, from 'http://sounds.wavcentral.com/movies/starwars/chew_roar2.mp3': Duration: N/A, bitrate: 64 kb/s Stream #0.0: Audio: mp3, 11025 Hz, mono, 64 kb/s Output #0, wav, to 'z.wav': Stream #0.0: Audio: pcm_s16le, 11025 Hz, mono, 176 kb/s Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding size= 28kB time=1.3 bitrate= 176.7kbits/s video:0kB audio:28kB global headers:0kB muxing overhead 0.152778%
Does anyone know of any other linux software that can do this?
Otherwise I may be reduced to wget --output-document=- myurl | ffmpeg -ss <> -t<> out.wav which is not terribly efficient for getting chunks from near the end of large files.
regards, Colin