Changes between Version 8 and Version 9 of SV8Specification


Ignore:
Timestamp:
10/25/06 00:51:01 (15 years ago)
Author:
r2d
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SV8Specification

    v8 v9  
    99New value so old decoders will happily skip such files.
    1010
    11 
    1211== Block formatting ==
    1312
    1413All blocks are formated using Key / Length / Value.[[BR]]
    1514Key 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) :
     15Length is a variable size field using the same values as [http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/nut.txt?view=markup nut] :[[BR]]
    1716{{{
    1817bits, big-endian
     
    3736
    3837This 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]]
     38This block contains the informations needed to decode the stream. This block is mandatory and must be written before the first audio block.[[BR]]
    4039
    4140|| '''Field''' || '''length (bits)''' || '''Value''' || '''comment''' ||
    4241|| CRC || 32 ||  || CRC 32 of the block (this field excluded). 0 = invalid ||
     42|| Version || 8 || 0x08 || bitstream version ||
    4343|| Sample count || n*8; 0 < n < 10 ||  || number of samples in the stream. 0 = unknow ||
    4444|| Sample Frequency || 4 ||  || see table below ||
     
    8383|| profile used || 4 || 0..15 ||  ||
    8484|| 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 ||
    8886
    8987== Audio block ==
    9088
    9189This block key is "AB".[[BR]]
    92 This block contain audio frames. The first frame is a key frame.[[BR]]
     90This block contains audio frames. The first frame is a key frame.[[BR]]
    9391
    9492The seek elements allow to jump back or forward. The block size can be used to seek 1 block forward.[[BR]]
     
    9694
    9795|| '''Field''' || '''length (bits)''' || '''Value''' || '''comment''' ||
     96|| header length || 8 || 4 || number of bytes before audio data (after this byte) ||
    9897|| ~~seek block nb~~ || 4 || 2..17 || the number of blocks that can be skiped is 2^Value^ ||
    9998|| ~~seek offset~~ || 28 || -2^27^..2^27^-1 || number of bytes to jump the blocks from the beginning of this block. 0 = invalid ||
     
    112111To be defined later. May be better to keep security features external only.
    113112
     113
    114114== Tags ==
    115115