MP3 gurus?

"Roger Binns" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <000901c4fb7c$15af8f40$3501a8c0@rogersqyvr14d3>
If anyone out there is an MP3 guru, I would appreciate you taking
a look at the code in fileinfo for MP3Frame.  The problem is
that it sometimes doesn't get the frame length right and
I can't figure out why.  In particular use ffmpeg and output
using a sample rate of 22060 and a bitrate of 16 kbits/second.
There is already some disgusting code in there that looks one
back as it seems to always be wrong for ffmpeg output.

If you aren't an MP3 guru and want to have a look anyway (Hi Joe!)
then it is actually pretty simple.  It consists of frames just
concatenated together.  Sometimes there is a tag at the begining
or end, but the code already copes with that.

You can see the description of a frame at this link (scroll down)
http://mpgedit.org/mpgedit/mpeg_format/mpeghdr.htm

Roger



-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.