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) 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 > -----Original Message----- > From: Mark Taylor [mailto:[EMAIL PROTECTED]] > Sent: Friday, November 30, 2001 2:07 PM > To: [EMAIL PROTECTED] > Subject: Re: [MP3 ENCODER] Lame encoder input- Help needed > > > > > > Hi, > > I want to encode mp3's at 12kbps (constant bit rate). > Lame presently only > > supports 8, 16, 32kbps and upwards. Does anyone know of the > amount of effort > > which would be involved in modifying the code to support > 12kbps? Any help on > > how to go about it would be greatly appreciated. > > > > Thanks > > Manoj > > You have two choices: > > lame --freeformat 12 > > which will make all frames 12kbps, but only a few fully complient > decoders will be able to handle it, or: > > lame --abr 12 > > which will use a combination of standard bitrate frames to get > an average of 12kbps. > > Mark > > _______________________________________________ > mp3encoder mailing list > [EMAIL PROTECTED] > http://minnie.tuhs.org/mailman/listinfo/mp3encoder > _______________________________________________ mp3encoder mailing list [EMAIL PROTECTED] http://minnie.tuhs.org/mailman/listinfo/mp3encoder