Audio
A_MPEG/L3 MPEG Audio 1, 2, 2.5 Layer III The private data is void. The data contain everything needed for playback in the MPEG Audio header of each frame.
Corresponding ACM wFormatTag : 0x0055
A_MPEG/L2 MPEG Audio 1, 2 Layer II The private data is void. The data contain everything needed for playback in the MPEG Audio header of each frame.
Corresponding ACM wFormatTag : 0x0050
A_MPEG/L1 MPEG Audio 1, 2 Layer I The private data is void. The data contain everything needed for playback in the MPEG Audio header of each frame.
Corresponding ACM wFormatTag : 0x0050
A_PCM/INT/BIG PCM Integer Big Endian The private data is void. The bitdepth has to be read and set from KaxAudioBitDepth element
Corresponding ACM wFormatTag : ???
A_PCM/INT/LIT PCM Integer Little Endian The private data is void. The bitdepth has to be read and set from KaxAudioBitDepth element
Corresponding ACM wFormatTag : 0x0001
A_PCM/FLOAT/IEEE Floating Point, IEEE compatible The private data is void. The bitdepth has to be read and set from KaxAudioBitDepth element (32 bit in most cases). The float are stored in little endian order (most common float format).
Corresponding ACM wFormatTag : 0x0003
A_MPC MPC (musepack) SV8 The main developer for musepack has requested that we wait until the SV8 framing has been fully defined for musepack before defining how to store it in Matroska.
A_AC3
A_AC3/BSID9
A_AC3/BSID10
(Dolbyâ„¢) AC3 BSID <= 8 !! The private data is void ??? Corresponding ACM wFormatTag : 0x2000 ; channel number have to be read from the corresponding audio element
AC3/BSID9 and AC3/BSID10 (DolbyNet) :
The ac3 frame header has, similar to the mpeg-audio header a version field. Normal ac3 is defiened as bitstream id 8 (5 Bits, numbers are 0-15). Everything below 8 is still compatible with all decoders that handle 8 correctly. Everything higher are additions that break decoder compatibility.
For the samplerates 24kHz (00); 22,05kHz (01) and 16kHz (10) the BSID is 9
For the samplerates 12kHz (00); 11,025kHz (01) and 8kHz (10) the BSID is 10
A_DTS Digital Theatre System The private data is void. Corresponding ACM wFormatTag : 0x2001
A_VORBIS Vorbis The private data contains the first three Vorbis packet in order. The lengths of the packets precedes them. The actual layout is:
Byte 1: number of distinct packets '#p' minus one inside the CodecPrivate block. This should be '2' for current Vorbis headers.
Bytes 2..n: lengths of the first '#p' packets, coded in Xiph-style lacing. The length of the last packet is the length of the CodecPrivate block minus the lengths coded in these bytes minus one.
Bytes n+1..: The Vorbis identification header, followed by the Vorbis comment header followed by the codec setup header.
A_FLAC FLAC (Free Lossless Audio Codec) The private data contains all the header/metadata packets before the first data packet. These include the first header packet containing only the word fLaC as well as all metadata packets.
A_REAL/???? Realmedia Audio codecs The stream contains one of the following audio codecs:
A_REAL/14_4 Real Audio 1
A_REAL/28_8 Real Audio 2
A_REAL/COOK Real Audio Cook Codec (codename: Gecko)
A_REAL/SIPR Sipro Voice Codec
A_REAL/RALF Real Audio Lossless Format
A_REAL/ATRC Sony Atrac3 Codec
A_MS/ACM Microsoft(tm) Audio Codec Manager (ACM) The private data contains the ACM structure WAVEFORMATEX including the extra private bytes, as defined by Microsoft. The data are stored in little endian format (like on IA32 machines).
A_AAC/?????/??? AAC Profile Audio The stream complies with, and uses the CodecID for, one of the AAC profiles listed below. AAC audio always uses wFormatTag 0xFF
A_AAC/MPEG2/MAIN MPEG2 Main Profile The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG2/LC Low Complexity The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG2/LC/SBR Low Complexity with Spectral Band Replication The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG2/SSR Scalable Sampling Rate The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG4/MAIN MPEG4 Main Profile The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG4/LC Low Complexity The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG4/LC/SBR Low Complexity with Spectral Band Replication The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG4/SSR Scalable Sampling Rate The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_AAC/MPEG4/LTP Long Term Prediction The private data is void. Channel number and sample rate have to be read from the corresponding audio element. Audio stream is stripped from ADTS headers and normal matroska frame based muxing scheme is applied.
A_QUICKTIME/???? QuickTime audio codecs The stream contains one of the following audio codecs. The CodecPrivate contains all additional data that is stored in the 'stsd' (sample description) atom in the QuickTime file after the mandatory sound descriptor structure. For an explanation of the QuickTime file format read Apple's PDF on QuickTime.
A_QUICKTIME/QDMC QDesign Music
A_QUICKTIME/QDM2 QDesign Music v2
A_TTA1 The True Audio lossles audio compressor TTA format description
Each frame is kept intact, including the CRC32.
The header and seektable are dropped.
The private data is void. SamplingFrequency, Channels and BitDepth are used in the TrackEntry.
wFormatTag = 0x77A1
A_WAVPACK4 WavPack lossles audio compressor The Wavpack packets consist of a stripped header followed by the frame data. For multi-track (> 2 tracks) a frame consists of many packets. For hybrid files (lossy part + correction part), the correction part is stored in an additional block (level 1). For more details, check the WavPack muxing description.