Difference between revisions of "APE Tags Header"

From Hydrogenaudio Knowledgebase
Jump to: navigation, search
(Initial commit)
 
(Category:Metadata)
 
(5 intermediate revisions by 2 users not shown)
Line 8: Line 8:
  
 
{| border="1" cellspacing="0"
 
{| border="1" cellspacing="0"
|width="350px"| Preamble ||width="50px"| 64 bits ||width="200px"|{ 'A', 'P', 'E', 'T', 'A', 'G', 'E', 'X' }
+
|width="210px"| Preamble ||width="50px"| 64 bits ||width="300px"|{ 'A', 'P', 'E', 'T', 'A', 'G', 'E', 'X' }
 
|-
 
|-
|Version Number, Bits 0...7
+
|
 +
Version Number, Bits 0...7<br>
 
Version Number, Bits 8...15<br>
 
Version Number, Bits 8...15<br>
 
Version Number, Bits 16...23<br>
 
Version Number, Bits 16...23<br>
 
Version Number, Bits 24...31
 
Version Number, Bits 24...31
 
|32 bits
 
|32 bits
|1000 = Version 1.000 (old)
+
|
 +
1000 = Version 1.000 (old)<br>
 
2000 = Version 2.000 (new)
 
2000 = Version 2.000 (new)
 
|-
 
|-
|Tag Size, Bits  0... 7  
+
|
 +
Tag Size, Bits  0... 7 <br>
 
Tag Size, Bits  8...15 <br>
 
Tag Size, Bits  8...15 <br>
 
Tag Size, Bits 16...23 <br>
 
Tag Size, Bits 16...23 <br>
Line 25: Line 28:
 
|Tag size in bytes including footer and all tag items excluding the header to be as compatible as possible with APE Tags 1.000
 
|Tag size in bytes including footer and all tag items excluding the header to be as compatible as possible with APE Tags 1.000
 
|-
 
|-
|Item Count, Bits  0... 7  
+
|
 +
Item Count, Bits  0... 7 <br>
 
Item Count, Bits  8...15 <br>
 
Item Count, Bits  8...15 <br>
 
Item Count, Bits 16...23 <br>
 
Item Count, Bits 16...23 <br>
Line 32: Line 36:
 
|Number of items in the Tag (n)
 
|Number of items in the Tag (n)
 
|-
 
|-
|[[Ape tags flags|Tags Flags]], Bits  0... 7  
+
|
[[Ape tags flags|Tags Flags]], Bits  8...15 <br>
+
[[Ape Tags Flags|Tags Flags]], Bits  0... 7 <br>
[[Ape tags flags|Tags Flags]], Bits 16...23 <br>
+
[[Ape Tags Flags|Tags Flags]], Bits  8...15 <br>
[[Ape tags flags|Tags Flags]], Bits 24...31
+
[[Ape Tags Flags|Tags Flags]], Bits 16...23 <br>
 +
[[Ape Tags Flags|Tags Flags]], Bits 24...31
 
|32 bits
 
|32 bits
|Global flags of all items  
+
|
 +
Global flags of all items <br>
 
(there are also private flags for every item)
 
(there are also private flags for every item)
 
|-
 
|-
Line 44: Line 50:
 
|Must be zero
 
|Must be zero
 
|}
 
|}
 +
 +
 +
[[Category:Metadata]]

Latest revision as of 21:18, 11 September 2006

APE Tag Header/Footer Version 2.0

Contains number, length and attributes of all tag items

Header and Footer are different in 1 bit in the Tags Flags to distinguish between them.

Member of APE Tag 2.0

Preamble 64 bits { 'A', 'P', 'E', 'T', 'A', 'G', 'E', 'X' }

Version Number, Bits 0...7
Version Number, Bits 8...15
Version Number, Bits 16...23
Version Number, Bits 24...31

32 bits

1000 = Version 1.000 (old)
2000 = Version 2.000 (new)

Tag Size, Bits 0... 7
Tag Size, Bits 8...15
Tag Size, Bits 16...23
Tag Size, Bits 24...31

32 bits Tag size in bytes including footer and all tag items excluding the header to be as compatible as possible with APE Tags 1.000

Item Count, Bits 0... 7
Item Count, Bits 8...15
Item Count, Bits 16...23
Item Count, Bits 24...31

32 bits Number of items in the Tag (n)

Tags Flags, Bits 0... 7
Tags Flags, Bits 8...15
Tags Flags, Bits 16...23
Tags Flags, Bits 24...31

32 bits

Global flags of all items
(there are also private flags for every item)

Reserved 64 bits Must be zero