Frame Size 2007-01-26 16:16:26 Hi all (1st post;) )My application needs to calculate song lenghtvbr or cbr?bitratesampleratewhat i do is:open mp3 and jump to first frame header read bitrate, sampelrate, paddingcalc framesizeframeCount++jump to next frameheader1)i found the following formula: FrameSize = 144 * BitRate / (SampleRate + Padding)i dont really unterstand the /( ...+padding)it means with padding flag, the frame size is lower. i think with padding flag set, there are 8bits more!?isnt it like: FrameSize = (int) ((144 * BitRate / SampleRate) + Padding)so, for 128kb/s 44khz mp3 its 417byts without padding, and 418 with padding.2)what exactly means "VBR" or "CBR" ?how many frames have to differ from others bitrate, to be VBR? in my test mp3s never all the frames have the same bitrate.3)how can i calculate the framsize in case bitrate bits = 0%0000 (free?) ?thx4help!