> Couldn't it be so that user can (with some command) determine if he wants to
> remove the samples or not (or specify the number of samples he wants to
> remove)? When you decode mp3's made by other encoder (or older version of
> Lame perhaps), the delay is different...
> Caster

It can't be solved in the encoder. What you _could_ do is:

Encode the tracks with some overlap, and in the decoder, start decoding the
2nd while still playing the 1st, throw away the last frames of the 1st
track && the first frames of the 2nd track, and then try to find the
closest match between the 1st end && the 2nd start (something like
cdparanoia/cdda2wav does; only not perfect matching, but least squares
should do nicely, I think), and lastly, glueing those two streams together
(fade em in/out so click will be annihilated).

Solving in the encoder is impossible; mpeg audio works at frame level,
what you need is sample level.

Ciao, HTH,

Segher

--
MP3 ENCODER mailing list ( http://geek.rcc.se/mp3encoder/ )

Reply via email to