> > I had a problem with some files to compute the length in second of a
> > frame. I was using various Layer III format and is some cases the formula
> > "frame_time = samples / frame_per_second" wouldn't give me the right
> > length. I assume it might be comming from this LSF.
> 
> How do you calculate frame_per_second?
> 
> A better formula would be
> 
>   frame_time = frame_samples / sampling_frequency
> 
> to get frame_time in seconds.

Actually what I told was wrong. I was using this formula, but sometimes with wrong 
frame_samples values.
 
> The above formula will work regardless of bitrate, free format or otherwise.

Right.

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

Reply via email to