----- Original Message -----
From: Sergey A. Maslyakov <[EMAIL PROTECTED]>
To: Mathew Hendry <[EMAIL PROTECTED]>
Sent: Friday, September 24, 1999 10:09 PM
Subject: Re: [MP3 ENCODER] lame 3.29


> MH> I think that's because unlike WAV etc., there is no length
> MH> information in the MP3 header.
>   But in case of constant bitrate the length of the track can be
>   calculated straightforwardly.

Yes, but a stream may still be VBR even if it has no Xing header. Still, a
guess is better than -1. :)

> MH> The whole MP3 (well, the headers of all the frames) would have to
> MH> be pre-scanned to give a time estimate.
>   BTW, is it the only way to calculate the length of the track encoded
>   in VBR mode?

Not if a Xing header is present - the total number of frames is recorded
there.

-- Mat.


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

Reply via email to