maybe this post is offtopic but i didnt find anywhere else answers.

I have written a small mp3 player that works well with mp3 files without a id3v2 tag. mp3 files with id3v2 tag didnt work because i dont know where the tags ends and where the audiodata start.

Can anybody give me an answer? Is there a special id3v2 endtag? Or starttag for the audiodata?

THX for your help


The size of an ID3v2 tag is stored in the ID3v2 header. Please read the ID3v2 specification for details.

Kind regards,


In case the ID3v2 tag is corrupt and the size mentioned in the header does not match the actual size of the tag, the best thing would be to start looking for frame sync words (0xFF 0xF?)