hello, i am using mad decoder to decode my MPEG3 file . but every time it is giving me errrors File pointer is at 4671920 decoding error 0x0101 (lost synchronization) decoding error 0x0103 (forbidden bitrate value) decoding error 0x0103 (forbidden bitrate value) decoding error 0x0103 (forbidden bitrate value) decoding error 0x0103 (forbidden bitrate value) decoding error 0x0104 (reserved sample frequency value) decoding error 0x0103 (forbidden bitrate value) decoding error 0x0104 (reserved sample frequency value) decoding error 0x0103 (forbidden bitrate value) decoding error 0x0101 (lost synchronization) decoding error 0x0104 (reserved sample frequency value).
presently i am using a buffer of size (8000) ,but when it decodes the1st frame,it gives me error of lost synchronization. it is not able to find that sync bit ................................................................................................................
can any one help me in this problem. shikha
______________________________________________________________________
Perhaps your file starts with an ID3 tag, and you're not skipping it. You can use libid3tag to parse them, and skip over to where the MP3 data starts.
Mike Crawford mdcrawford at gmail dot com
On 1/9/07, Shikha Patoria Shikha.Patoria@lntinfotech.com wrote:
hello, i am using mad decoder to decode my MPEG3 file . but every time it is giving me errrors ...
presently i am using a buffer of size (8000) ,but when it decodes the1st frame,it gives me error of lost synchronization. it is not able to find that sync bit ................................................................................................................
can any one help me in this problem. shikha ______________________________________________________________________