Re: re-encoding few frames at a time

"Jaroslav Lukesh" <[email protected]> Wed, 14 Jan 2009 23:31:56 +0100
Newsgroups gmane.comp.audio.mp3.encoders
Message-ID <249501c97697$e98d4a60$6164a8c0@xp>
----- Original Message ----- 
From: "Tomas Creemers" <[email protected]>

> I am currently writing a combination of programs to do the following:
> - Transmitter: read an MP3 file from disk, send it in separate data
> chunks (still encoded, preferably smaller than 5 kB) through the
> network to the transformer;
> - Transformer: decode the received data chunk, re-encode it at a
> lower bitrate or as mono, send it to the receiver;
> - Receiver: decode & play the received data chunk.

Use Linux commandline and you should not programming that pipeline

lame --decode file - | lame - - | lame --decode - ->/dev/dsp

(not all needed parameters shown)

Regards, JL.