[mp3encoder] Encode or decode single frame

2003-11-26 Thread Branimir Amidzic
Is it possible to decode one single frame of MP3 data (all of main data from previous frame(s) concatenated) to 1152 samples of PCM, and then encode it to just one MP3 frame with LAME? I'm developing an application that would reencode only those frames that don't have coupled blocks in L R

Re: [mp3encoder] Encode or decode single frame

2003-11-26 Thread Gabriel Bouvigne
Branimir Amidzic wrote: Is it possible to decode one single frame of MP3 data (all of main data from previous frame(s) concatenated) to 1152 samples of PCM, and then encode it to just one MP3 frame with LAME? Well, it is quite problematic because mp3 is using mdct, and this is an overlapping

Re: [mp3encoder] Encode or decode single frame

2003-11-26 Thread Branimir Amidzic
Gabriel Bouvigne wrote: My suggestion would be the following: *Decode the whole bitstream to pcm *correct the offsets if needed in the pcm stream *encode it again in full stereo *do your cooking/mixing between the original mp3 and the new frames that you can grab from the new mp3. OK, thanks for