Changes between Version 40 and Version 41 of SV8Specification


Ignore:
Timestamp:
01/04/08 13:54:25 (15 years ago)
Author:
r2d
Comment:

added status for the document

Legend:

Unmodified
Added
Removed
Modified
  • SV8Specification

    v40 v41  
    1818== File magic number ==
    1919
     20[[Image(final.png, nolink)]] [[BR]]
    2021Magic number is on 32bits and is equal to 'MPCK' or 0x4D50434B[[BR]]
    2122
    2223== File extension ==
    2324
     25[[Image(final.png, nolink)]] [[BR]]
    2426The prefered file extension for musepack files is .mpc
    2527
    2628== Packet formatting ==
    2729
     30[[Image(final.png, nolink)]] [[BR]]
    2831All packets are formatted using Key / Size / Payload.[[BR]]
    2932Keys are 16 bits long. It's equivalent to the packet ID or type.[[BR]]
     
    5255Allowed chars in key are [A-Z] (65 <= value <= 90), so 676 keys are valid out of 65536 possible.
    5356
    54 || '''Packet Name''' || '''Key''' || '''Mandatory''' ||
    55 || [wiki:SV8Specification#StreamHeaderPacket Stream Header] || SH || yes ||
    56 || [wiki:SV8Specification#ReplaygainPacket Replaygain] || RG || yes ||
    57 || [wiki:SV8Specification#EncoderInfoPacket Encoder Info] || EI || no ||
    58 || [wiki:SV8Specification#SeekTableOffsetPacket Seek Table Offset] || SO || no ||
    59 || [wiki:SV8Specification#AudioPacket Audio Packet] || AP || yes ||
    60 || [wiki:SV8Specification#SeekTablePacket Seek Table] || ST || no ||
    61 || [wiki:SV8Specification#Chapter-TagPacket Chapter-Tag] || CT || no ||
    62 || [wiki:SV8Specification#StreamEndPacket Stream End] || SE || yes ||
     57|| '''Packet Name''' || '''Key''' || '''Mandatory''' || '''Status''' ||
     58|| [wiki:SV8Specification#StreamHeaderPacket Stream Header] || SH || yes || [[Image(beta.png, nolink)]] ||
     59|| [wiki:SV8Specification#ReplaygainPacket Replaygain] || RG || yes || [[Image(beta.png, nolink)]] ||
     60|| [wiki:SV8Specification#EncoderInfoPacket Encoder Info] || EI || no || [[Image(beta.png, nolink)]] ||
     61|| [wiki:SV8Specification#SeekTableOffsetPacket Seek Table Offset] || SO || no || [[Image(beta.png, nolink)]] ||
     62|| [wiki:SV8Specification#AudioPacket Audio Packet] || AP || yes || [[Image(beta.png, nolink)]] ||
     63|| [wiki:SV8Specification#SeekTablePacket Seek Table] || ST || no || [[Image(beta.png, nolink)]] ||
     64|| [wiki:SV8Specification#Chapter-TagPacket Chapter-Tag] || CT || no || [[Image(alpha.png, nolink)]] ||
     65|| [wiki:SV8Specification#StreamEndPacket Stream End] || SE || yes || [[Image(beta.png, nolink)]] ||
    6366
    6467== Stream Header Packet ==
    6568
     69[[Image(beta.png, nolink)]] [[BR]]
    6670This packet key is "SH".[[BR]]
    6771It contains the informations needed to decode the stream. This block is mandatory and must be written before the first audio packet.[[BR]]
     
    9397== Replaygain Packet ==
    9498
     99[[Image(beta.png, nolink)]] [[BR]]
    95100This packet key is "RG".[[BR]]
    96101It 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]]
     
    112117== Encoder Info Packet ==
    113118
     119[[Image(beta.png, nolink)]] [[BR]]
    114120This packet key is "EI".[[BR]]
    115121
     
    124130== Seek Table Offset Packet ==
    125131
     132[[Image(beta.png, nolink)]] [[BR]]
    126133This packet key is "SO".[[BR]]
    127134It contains an offset to the seek table packet.[[BR]]
     
    134141== Audio Packet ==
    135142
     143[[Image(beta.png, nolink)]] [[BR]]
    136144This packet key is "AP".[[BR]]
    137145It contains audio frames. The first frame is a key frame.[[BR]]
     
    143151== Seek Table Packet ==
    144152
     153[[Image(beta.png, nolink)]] [[BR]]
    145154This packet key is "ST".[[BR]]
    146155
     
    166175== Chapter-Tag Packet ==
    167176
     177[[Image(alpha.png, nolink)]] [[BR]]
    168178This packet key is "CT".[[BR]]
    169179It contains a chapter position and associated tag.[[BR]]
     
    186196== Stream End Packet ==
    187197
     198[[Image(beta.png, nolink)]] [[BR]]
    188199This packet key is "SE".[[BR]]
    189200The packet size must be 3 bytes.[[BR]]
     
    193204== Streaming ==
    194205
     206[[Image(alpha.png, nolink)]] [[BR]]
    195207This file format can be used for streaming. The "SH" block is (can?) used as synchronization marker. The decoder will scan for a "SH" block and check its CRC. Once the decoder is synchronized, it will start decoding. It's up to the streaming server to choose when to send "SH" block.[[BR]]
    196208To send meta data while streaming, the Chapter-Tag packet can be used.
     
    199211== Tags ==
    200212
     213[[Image(beta.png, nolink)]] [[BR]]
    201214No packet must be written after the stream end packet to allow tagging by other applications.[[BR]]
    202215Those 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.