Changes between Version 44 and Version 45 of SV8Specification
- Timestamp:
- 11/12/08 20:06:28 (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SV8Specification
v44 v45 29 29 All packets are formatted using Key / Size / Payload.[[BR]] 30 30 Keys are 16 bits long. It's equivalent to the packet ID or type.[[BR]] 31 Size is a variable-size field using the same values as [http://svn.mplayerhq.hu/mplayer/trunk/DOCS/tech/nut.txt?view=markup nut]:[[BR]]31 Size is a variable-size field :[[BR]] 32 32 {{{ 33 33 bits, big-endian 34 0xxx xxxx - value 0 to 2^7- 235 1xxx xxxx 0xxx xxxx - value 0 to 2^14- 236 1xxx xxxx 1xxx xxxx 0xxx xxxx - value 0 to 2^21- 237 1xxx xxxx 1xxx xxxx 1xxx xxxx 0xxx xxxx - value 0 to 2^28- 234 0xxx xxxx - value 0 to 2^7-1 35 1xxx xxxx 0xxx xxxx - value 0 to 2^14-1 36 1xxx xxxx 1xxx xxxx 0xxx xxxx - value 0 to 2^21-1 37 1xxx xxxx 1xxx xxxx 1xxx xxxx 0xxx xxxx - value 0 to 2^28-1 38 38 ... 39 39 }}} … … 54 54 55 55 || '''Packet Name''' || '''Key''' || '''Mandatory''' || '''Status''' || 56 || [wiki:SV8Specification#StreamHeaderPacket Stream Header] || SH || yes || [[Image( beta.png, nolink)]] ||57 || [wiki:SV8Specification#ReplaygainPacket Replaygain] || RG || yes || [[Image( beta.png, nolink)]] ||58 || [wiki:SV8Specification#EncoderInfoPacket Encoder Info] || EI || no || [[Image( beta.png, nolink)]] ||59 || [wiki:SV8Specification#SeekTableOffsetPacket Seek Table Offset] || SO || no || [[Image( beta.png, nolink)]] ||60 || [wiki:SV8Specification#AudioPacket Audio Packet] || AP || yes || [[Image( beta.png, nolink)]] ||61 || [wiki:SV8Specification#SeekTablePacket Seek Table] || ST || no || [[Image( beta.png, nolink)]] ||62 || [wiki:SV8Specification#Chapter-TagPacket Chapter-Tag] || CT || no || [[Image( alpha.png, nolink)]] ||63 || [wiki:SV8Specification#StreamEndPacket Stream End] || SE || yes || [[Image( beta.png, nolink)]] ||56 || [wiki:SV8Specification#StreamHeaderPacket Stream Header] || SH || yes || [[Image(final.png, nolink)]] || 57 || [wiki:SV8Specification#ReplaygainPacket Replaygain] || RG || yes || [[Image(final.png, nolink)]] || 58 || [wiki:SV8Specification#EncoderInfoPacket Encoder Info] || EI || no || [[Image(final.png, nolink)]] || 59 || [wiki:SV8Specification#SeekTableOffsetPacket Seek Table Offset] || SO || no || [[Image(final.png, nolink)]] || 60 || [wiki:SV8Specification#AudioPacket Audio Packet] || AP || yes || [[Image(final.png, nolink)]] || 61 || [wiki:SV8Specification#SeekTablePacket Seek Table] || ST || no || [[Image(final.png, nolink)]] || 62 || [wiki:SV8Specification#Chapter-TagPacket Chapter-Tag] || CT || no || [[Image(beta.png, nolink)]] || 63 || [wiki:SV8Specification#StreamEndPacket Stream End] || SE || yes || [[Image(final.png, nolink)]] || 64 64 65 65 == Stream Header Packet == 66 66 67 [[Image( beta.png, nolink)]] [[BR]]67 [[Image(final.png, nolink)]] [[BR]] 68 68 This packet key is "SH".[[BR]] 69 69 It contains the informations needed to decode the stream. This block is mandatory and must be written before the first audio packet.[[BR]] … … 95 95 == Replaygain Packet == 96 96 97 [[Image( beta.png, nolink)]] [[BR]]97 [[Image(final.png, nolink)]] [[BR]] 98 98 This packet key is "RG".[[BR]] 99 99 It contains the necessary data needed to apply replaygain on the current stream. This packet is mandatory and must be written before the first audio packet.[[BR]] … … 115 115 == Encoder Info Packet == 116 116 117 [[Image( beta.png, nolink)]] [[BR]]117 [[Image(final.png, nolink)]] [[BR]] 118 118 This packet key is "EI".[[BR]] 119 119 … … 128 128 == Seek Table Offset Packet == 129 129 130 [[Image( beta.png, nolink)]] [[BR]]130 [[Image(final.png, nolink)]] [[BR]] 131 131 This packet key is "SO".[[BR]] 132 132 It contains an offset to the seek table packet.[[BR]] … … 139 139 == Audio Packet == 140 140 141 [[Image( beta.png, nolink)]] [[BR]]141 [[Image(final.png, nolink)]] [[BR]] 142 142 This packet key is "AP".[[BR]] 143 143 It contains audio frames. The first frame is a key frame.[[BR]] … … 149 149 == Seek Table Packet == 150 150 151 [[Image( beta.png, nolink)]] [[BR]]151 [[Image(final.png, nolink)]] [[BR]] 152 152 This packet key is "ST".[[BR]] 153 153 … … 173 173 == Chapter-Tag Packet == 174 174 175 [[Image( alpha.png, nolink)]] [[BR]]175 [[Image(beta.png, nolink)]] [[BR]] 176 176 This packet key is "CT".[[BR]] 177 177 It contains a chapter position and associated tag.[[BR]] … … 195 195 == Stream End Packet == 196 196 197 [[Image( beta.png, nolink)]] [[BR]]197 [[Image(final.png, nolink)]] [[BR]] 198 198 This packet key is "SE".[[BR]] 199 199 The packet size must be 3 bytes.[[BR]] … … 210 210 == Tags == 211 211 212 [[Image( beta.png, nolink)]] [[BR]]212 [[Image(final.png, nolink)]] [[BR]] 213 213 No packet must be written after the stream end packet to allow tagging by other applications.[[BR]] 214 214 Those tags are global to the file, and defines the default values for all the tag fields. The Chapter-Tag packet can redefine the field value for each chapter.