> 
> Thanks a lot Mark. I have some more questions and would be very grateful if
> someone can answer them.
> 
> 1. When lame combines standard bitrates to get the required average, over
> what range is this average achieved? ( For ex : does lame achieve the
> average over a specified number of frames or is it over a specified time or
> is it the entire file)
> 
the average is not guaranteed.  I think it usually comes within 95%,
and almost always on the low side.  It's an easy fix to 
tweak the algorithm to get this to come out exact, but right now it
is close enough no one has bothered to fix it.


> 2. I encoded a file in two ways. One - using the lame encoder command line
> options and the other by writing a small program to read data from a file
> and then using libmp3lame functions to encode. In both cases I used the ABR
> (average bitrate mode) at 12kbps. The only difference being that in the
> second case the encoder doesnt know the filesize( and hence doesnt know the
> total number of samples to be encoded either).
>  When playing back on WinAmp the command line encoded mp3 file bitrate keeps
> switching between 8 and 16kbps (as displayed in the player window). But the
> player shows a bitrate of 13kbps for the second file. 
> Am I doing something wrong or does the encoder need to know the filesize
> beforehand?
> 
> Thanks
> 

play the files with "lame --decode" and see what it does.  

One difference might be that the libmp3lame version will not
have the Xing VBR tag unless you specifically called the routine
from the LAME API to add the tag.  Maybe someone who uses WinAmp will
know if it treats VBR files with and without the VBR tag differently?

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

Reply via email to