All, I am developing an application to play MP3 files encoded with VBR content. For this purpose,it is required to know the number of frames in the mp3 file to calculate file time duration and also for rewind,forward functionality. I understand that since VBR does not have fixed bitrate on a frame basis it is difficult to calculate file duration.One approach would be to find the syncword and hence the bitrate in the frame header for each frame and build a table of frame sizes.
However in a embedded application (say a mp3 player on a mobile),this takes relatively considerable complexity.So a technique with reasonable real time complexity is preferred. Any pointers on a better technique to handle this problem would be appreciated. Regards, C.S. Srinivasan "SASKEN RATED Among THE Top 3 BEST COMPANIES TO WORK FOR IN INDIA - SURVEY 2005 conducted by the BUSINESS TODAY - Mercer - TNS India" SASKEN BUSINESS DISCLAIMER This message may contain confidential, proprietary or legally Privileged information. In case you are not the original intended Recipient of the message, you must not, directly or indirectly, use, Disclose, distribute, print, or copy any part of this message and you are requested to delete it and inform the sender. Any views expressed in this message are those of the individual sender unless otherwise stated. Nothing contained in this message shall be construed as an offer or acceptance of any offer by Sasken Communication Technologies Limited ("Sasken") unless sent with that express intent and with due authority of Sasken. Sasken has taken enough precautions to prevent the spread of viruses. However the company accepts no liability for any damage caused by any virus transmitted by this email _______________________________________________ mp3encoder mailing list mp3encoder@minnie.tuhs.org http://minnie.tuhs.org/mailman/listinfo/mp3encoder