I managed once to record a file directly to mp3: I told mplayer to dump the file as wave instead of an asf, but instead of writing to a file, I set up a fifo node. then I ran lame to that fifo to compress it live to an mp3.
On Tue, 02 Nov 2004 11:59:31 +0200, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Ira Abramov wrote: > > Quoting [EMAIL PROTECTED], from the post of Tue, 02 Nov: > > > >>Just to update the list for the benefit of others: > >> > >>1. To record Galatz I now use: > >> > >>mplayer -noconsolecontrols -nojoystick -nolirc -nomouseinput \ > >> -really-quiet -dumpstream -dumpfile $1 http://213.8.143.165/glz-stream > > > > > > maybe I am missing a thingy or two, but what's wrong with -ao pcm to > > dump WAV directly? > > 1. There is a good chance I'm missing something myself so I'm glad > you asked this. > > 2. As far as I understand - the MS encoding is used > already to transport the stuff over the net (am I right about that?) > so saving it in compressed format as-is until I get around to edit it > saves 95% of the disk space without loosing any quality (actual file > sizes: 15Mb of .asf file for one hour of recording vs. 303Mb of .wav > file after decompression with ffmpeg). If I'm wrong about this then > I'd like to know how to fix it. > > 3. Not completly related to your question but it took me a few evenings > of googling and looking for various programs to decompress the saved > file before I found ffmpeg to do this. Is it possible with > mplayer? Mplayer fails to play the .asf file, only "aviplay" manages to > play it, and it does it very well but I couldn't find a way to tell > "aviplay" or any of its companions to just output to a file instead of > the audio device. > > I couldn't understand how to use mplayer for this (i.e. to decompress an > existing .asf file on my local disk into a .wav file (or anything > uncompressed and editable with an interactive program). > Also - I saw at least one place which recommands ffmpeg in particular > as a very fast decoder (45 seconds to decompress 15Mb of ASF on an > Athlon 2500+). > > 4. (Makes point 3 even more important now) - trying to decompess one of > the older files with ffmpeg (in order to give you speed estimate) > has failed. I guess I'm back to looking up ways to do it. > > Thanks, > > --Amos > > > > > ================================================================= > To unsubscribe, send mail to [EMAIL PROTECTED] with > the word "unsubscribe" in the message body, e.g., run the command > echo unsubscribe | mail [EMAIL PROTECTED] > > ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
