Changes between Version 8 and Version 9 of SV8Specification
- Timestamp:
- 10/25/06 00:51:01 (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SV8Specification
v8 v9 9 9 New value so old decoders will happily skip such files. 10 10 11 12 11 == Block formatting == 13 12 14 13 All blocks are formated using Key / Length / Value.[[BR]] 15 14 Key is 16 bits long. It's the block ID.[[BR]] 16 Variable block length encoding ([http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/nut.txt?view=markup NUT] way) : 15 Length is a variable size field using the same values as [http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/nut.txt?view=markup nut] :[[BR]] 17 16 {{{ 18 17 bits, big-endian … … 37 36 38 37 This block key is "SI".[[BR]] 39 This block contain the informations needed to decode the stream. This block is mandatory and must be written before the first audio block.[[BR]]38 This block contains the informations needed to decode the stream. This block is mandatory and must be written before the first audio block.[[BR]] 40 39 41 40 || '''Field''' || '''length (bits)''' || '''Value''' || '''comment''' || 42 41 || CRC || 32 || || CRC 32 of the block (this field excluded). 0 = invalid || 42 || Version || 8 || 0x08 || bitstream version || 43 43 || Sample count || n*8; 0 < n < 10 || || number of samples in the stream. 0 = unknow || 44 44 || Sample Frequency || 4 || || see table below || … … 83 83 || profile used || 4 || 0..15 || || 84 84 || unused || 4 || || || 85 || encoder version || 24 || 0-255.0-255.a-z || || 86 87 ( 32 bits for encoder version like MajorNumber.MinorNumber.Implementation.Build ? ) 85 || encoder version || 32 || || MajorNumber.MinorNumber.Implementation.Build || 88 86 89 87 == Audio block == 90 88 91 89 This block key is "AB".[[BR]] 92 This block contain audio frames. The first frame is a key frame.[[BR]]90 This block contains audio frames. The first frame is a key frame.[[BR]] 93 91 94 92 The seek elements allow to jump back or forward. The block size can be used to seek 1 block forward.[[BR]] … … 96 94 97 95 || '''Field''' || '''length (bits)''' || '''Value''' || '''comment''' || 96 || header length || 8 || 4 || number of bytes before audio data (after this byte) || 98 97 || ~~seek block nb~~ || 4 || 2..17 || the number of blocks that can be skiped is 2^Value^ || 99 98 || ~~seek offset~~ || 28 || -2^27^..2^27^-1 || number of bytes to jump the blocks from the beginning of this block. 0 = invalid || … … 112 111 To be defined later. May be better to keep security features external only. 113 112 113 114 114 == Tags == 115 115