Branimir Amidzic 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 advices. But I need few more. :-)
Should I reencode VBR files with exact bitrates for every frame and with same order as in original file, or should I reencode with one average bitrate?

Well, the bitrate should not really matter.



What about repeating previous frame, instead of reencoding?

Why not, but you will probably produce some audible glitches:
*a part of the track is missing and replaced by the previous frame, so the sound should change
*mdct is overlapping, and the result might probably be strange if the content of the overlapped parts is different.


Depending on the audibility of the glitches produced by your decoder when encountering different blocks between channels, you might perhaps just remove the problematic frames. It could improve quality (and should be easier to program).

Regards,


--


Gabriel Bouvigne
www.mp3-tech.org
personal page: http://gabriel.mp3-tech.org

_______________________________________________
mp3encoder mailing list
[EMAIL PROTECTED]
http://minnie.tuhs.org/mailman/listinfo/mp3encoder

Reply via email to