[ID3 Dev] Padding

Ion Todirel iontodirel at yahoo.co.uk
Mon Aug 22 06:50:39 PDT 2005

Informal standard                                             M. Nilsson
Document: id3v2.4.0-structure.txt                      1st November 2000

ID3 tag version 2.4.0 - Main Structure

3.3.   Padding (http://www.id3.org/id3v2.4.0-structure.txt)

   It is OPTIONAL to include padding after the final frame (at the end of the ID3 tag), making the size of all the frames together smaller  than the size given in the tag header. Tag size included on tag header, dont include padding? 

   A possible purpose of this padding is to allow for adding a few additional frames or enlarge existing frames within the tag without having to rewrite the entire file. If padding is used to add aditional frames, where is the frame ID since ID is four null chars? or if padding is used to enlarge existing frames how to know what frame are enlarged? nothing is said on id3.org! where to get this informations? please help!

And if footer is writting to end of file, is'n possible to write an ID3v1 Tag, right? since ID3v1 tag is located from 0 to 128 bytes at end of file.


Pyt <py.thoulon at gmail.com> wrote:
Padding is the bunch of null chars that lie between the end of the last frame and the end of the tag (the tag size, as given in the tag header, includes padding). A null char where you would expect a frame ID indicates start of padding (unless you're past the end of the tag). 

On 8/20/05, Ion Todirel <iontodirel at yahoo.co.uk> wrote: 

Ion Todirel <iontodirel at yahoo.co.uk> wrote: Please help me, how to detect padding? four zeroed chars?

To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. 

How much free photo storage do you get? Store your holiday snaps for FREE with Yahoo! Photos. Get Yahoo! Photos 

Yahoo! Messenger  NEW - crystal clear PC to PC calling worldwide with voicemail 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.id3.org/pipermail/id3v2/attachments/20050822/4bb03a5d/attachment.html>

More information about the ID3v2 mailing list