While trying to find a bug in my encoder, i came across an error in the spec where it defines the structure of the ident header... the spec defines 100 extra bits which aren't actually in the headers... NSBS, NMBS and NBS don't appear in a 3 2 0 header... the actual structure is as follows //0 - 7 header ident (8 bits) //8 - 55 theora ident (48 bits) //56 - 63 ver major (8 bits) //64 - 71 ver minor (8 bits) //72 - 79 ver revision (8 bits) //80 - 95 numMacroBlocksWide (16 bits) //96 - 111 numMacroBlocksHigh (16 bits) //112 - 135 picturewidth (24 bits read, only 20 used) //136 - 159 pictureheight (24 bits read, only 20 used) //160 - 167 xoffset (8 bits) //168 - 175 yoffset (8 bits) //176 - 207 framerateNum (32 bits) //208 - 239 frameratedenom (32 bits) //240 - 263 aspectNum (24 bits) //264 - 287 aspectdenom (24 bits) //288 - 295 colourspace (8 bits) //296 - 319 targetbitrate (24 bits) //320 - 325 targetqual (6 bits) //326 - 330 keyframeinterlog (5 bits) Giving a theora ident packet a total size of 42 bytes. Cheers Zen.
On Mon, Dec 20, 2004 at 05:30:32PM +0800, illiminable wrote:> While trying to find a bug in my encoder, i came across an error in the spec > where it defines the structure of the ident header... the spec defines 100 > extra bits which aren't actually in the headers... NSBS, NMBS and NBS don't > appear in a 3 2 0 header... the actual structure is as followsThe table you're referring to is confusing. It's actually the output of the described info header decoding proceedure, *not* the actual contents of the header packet. The extra fields you noticed can all be computed from other information in the packet. -r
Apparently Analagous Threads
- [Bug 395] New: ident-protocol gives "root" as connection owner
- [Bug 395] ident-protocol gives "root" as connection owner
- Gettin station Ident played on connectiong to stream
- error using method ls.ranking.capa.ident
- "anvil: Error: connect limit: disconnection for unknown pid 17659 + ident lmtp/backup@backup.invalid"