Where is an ID3v2 tag located in an MP3 file?
It is most likely located at the beginning of the file. Look for the marker “ID3” in the first 3 bytes of the file. If it’s not there, it could be at the end of the file (if the tag is ID3v2.4). Look for the marker “3DI” 10 bytes from the end of the file, or 10 bytes before the beginning of an ID3v1 tag. Finally it is possible to embed ID3v2 tags in the actual MPEG stream, on an MPEG frame boundry. Almost nobody does this.