2025-10-17 20:02:29 +08:00

240 lines
43 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<Schema name="Matroska">
<MasterElement name="EBML" id="0x1A45DFA3" mandatory="1" multiple="1" minver="1">Set the EBML characteristics of the data to follow. Each EBML document has to start with this.
<UIntegerElement name="EBMLVersion" id="0x4286" mandatory="1" default="1" minver="1">The version of EBML parser used to create the file.</UIntegerElement>
<UIntegerElement name="EBMLReadVersion" id="0x42F7" mandatory="1" default="1" minver="1">The minimum EBML version a parser has to support to read this file.</UIntegerElement>
<UIntegerElement name="EBMLMaxIDLength" id="0x42F2" mandatory="1" default="4" minver="1">The maximum length of the IDs you'll find in this file (4 or less in Matroska).</UIntegerElement>
<UIntegerElement name="EBMLMaxSizeLength" id="0x42F3" mandatory="1" default="8" minver="1">The maximum length of the sizes you'll find in this file (8 or less in Matroska). This does not override the element size indicated at the beginning of an element. Elements that have an indicated size which is larger than what is allowed by EBMLMaxSizeLength shall be considered invalid.</UIntegerElement>
<StringElement name="DocType" id="0x4282" mandatory="1" default="matroska" minver="1">A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files.</StringElement>
<UIntegerElement name="DocTypeVersion" id="0x4287" mandatory="1" default="1" minver="1">The version of DocType interpreter used to create the file.</UIntegerElement>
<UIntegerElement name="DocTypeReadVersion" id="0x4285" mandatory="1" default="1" minver="1">The minimum DocType version an interpreter has to support to read this file.</UIntegerElement>
<BinaryElement name="Void" level="-1" id="0xEC" minver="1">Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use.</BinaryElement>
<BinaryElement name="CRC-32" level="-1" id="0xBF" minver="1" webm="0">The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian</BinaryElement>
<MasterElement name="SignatureSlot" level="-1" id="0x1B538667" multiple="1" webm="0">Contain signature of some (coming) elements in the stream.
<UIntegerElement name="SignatureAlgo" id="0x7E8A" webm="0">Signature algorithm used (1=RSA, 2=elliptic).</UIntegerElement>
<UIntegerElement name="SignatureHash" id="0x7E9A" webm="0">Hash algorithm used (1=SHA1-160, 2=MD5).</UIntegerElement>
<BinaryElement name="SignaturePublicKey" id="0x7EA5" webm="0">The public key to use with the algorithm (in the case of a PKI-based signature).</BinaryElement>
<BinaryElement name="Signature" id="0x7EB5" webm="0">The signature of the data (until a new.</BinaryElement>
</MasterElement>
<MasterElement name="SignatureElements" id="0x7E5B" webm="0">Contains elements that will be used to compute the signature.
<MasterElement name="SignatureElementList" id="0x7E7B" multiple="1" webm="0">A list consists of a number of consecutive elements that represent one case where data is used in signature. Ex: <i>Cluster|Block|BlockAdditional</i> means that the BlockAdditional of all Blocks in all Clusters is used for encryption.
<BinaryElement name="SignedElement" id="0x6532" multiple="1" webm="0">An element ID whose data will be used to compute the signature.</BinaryElement>
</MasterElement>
</MasterElement>
</MasterElement>
<MasterElement name="Segment" id="0x18538067" mandatory="1" multiple="1" minver="1">This element contains all other top-level (level 1) elements. Typically a Matroska file is composed of 1 segment.
<MasterElement name="SeekHead" cppname="SeekHeader" id="0x114D9B74" multiple="1" minver="1">Contains the <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">position</a> of other level 1 elements.
<MasterElement name="Seek" cppname="SeekPoint" id="0x4DBB" mandatory="1" multiple="1" minver="1">Contains a single seek entry to an EBML element.
<BinaryElement name="SeekID" id="0x53AB" mandatory="1" minver="1">The binary ID corresponding to the element name.</BinaryElement>
<UIntegerElement name="SeekPosition" id="0x53AC" mandatory="1" minver="1">The <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">position</a> of the element in the segment in octets (0 = first level 1 element).</UIntegerElement>
</MasterElement>
</MasterElement>
<MasterElement name="Info" id="0x1549A966" mandatory="1" multiple="1" minver="1">Contains miscellaneous general information and statistics on the file.
<BinaryElement name="SegmentUID" id="0x73A4" minver="1" webm="0" range="not 0" bytesize="16">A randomly generated unique ID to identify the current segment between many others (128 bits).</BinaryElement>
<UnicodeElement name="SegmentFilename" id="0x7384" minver="1" webm="0">A filename corresponding to this segment.</UnicodeElement>
<BinaryElement name="PrevUID" id="0x3CB923" minver="1" webm="0" bytesize="16">A unique ID to identify the previous chained segment (128 bits).</BinaryElement>
<UnicodeElement name="PrevFilename" id="0x3C83AB" minver="1" webm="0">An escaped filename corresponding to the previous segment.</UnicodeElement>
<BinaryElement name="NextUID" id="0x3EB923" minver="1" webm="0" bytesize="16">A unique ID to identify the next chained segment (128 bits).</BinaryElement>
<UnicodeElement name="NextFilename" id="0x3E83BB" minver="1" webm="0">An escaped filename corresponding to the next segment.</UnicodeElement>
<BinaryElement name="SegmentFamily" id="0x4444" multiple="1" minver="1" webm="0" bytesize="16">A randomly generated unique ID that all segments related to each other must use (128 bits).</BinaryElement>
<MasterElement name="ChapterTranslate" id="0x6924" multiple="1" minver="1" webm="0">A tuple of corresponding ID used by chapter codecs to represent this segment.
<UIntegerElement name="ChapterTranslateEditionUID" id="0x69FC" multiple="1" minver="1" webm="0">Specify an edition UID on which this correspondance applies. When not specified, it means for all editions found in the segment.</UIntegerElement>
<UIntegerElement name="ChapterTranslateCodec" id="0x69BF" mandatory="1" minver="1" webm="0">The <a href="http://www.matroska.org/technical/specs/index.html#ChapProcessCodecID">chapter codec</a> using this ID (0: Matroska Script, 1: DVD-menu).</UIntegerElement>
<BinaryElement name="ChapterTranslateID" id="0x69A5" mandatory="1" minver="1" webm="0">The binary value used to represent this segment in the chapter codec data. The format depends on the <a href="http://www.matroska.org/technical/specs/chapters/index.html#ChapProcessCodecID">ChapProcessCodecID</a> used.</BinaryElement>
</MasterElement>
<UIntegerElement name="TimecodeScale" id="0x2AD7B1" mandatory="1" minver="1" default="1000000">Timecode scale in nanoseconds (1.000.000 means all timecodes in the segment are expressed in milliseconds).</UIntegerElement>
<FloatElement name="Duration" id="0x4489" minver="1" range="&gt; 0">Duration of the segment (based on TimecodeScale).</FloatElement>
<DateElement name="DateUTC" id="0x4461" minver="1">Date of the origin of timecode (value 0), i.e. production date.</DateElement>
<UnicodeElement name="Title" id="0x7BA9" minver="1" webm="0">General name of the segment.</UnicodeElement>
<UnicodeElement name="MuxingApp" id="0x4D80" mandatory="1" minver="1">Muxing application or library ("libmatroska-0.4.3").</UnicodeElement>
<UnicodeElement name="WritingApp" id="0x5741" mandatory="1" minver="1">Writing application ("mkvmerge-0.3.3").</UnicodeElement>
</MasterElement>
<MasterElement name="Cluster" id="0x1F43B675" multiple="1" minver="1">The lower level element containing the (monolithic) Block structure.
<UIntegerElement name="Timecode" cppname="ClusterTimecode" id="0xE7" mandatory="1" minver="1">Absolute timecode of the cluster (based on TimecodeScale).</UIntegerElement>
<MasterElement name="SilentTracks" cppname="ClusterSilentTracks" id="0x5854" minver="1" webm="0">The list of tracks that are not used in that part of the stream. It is useful when using overlay tracks on seeking. Then you should decide what track to use.
<UIntegerElement name="SilentTrackNumber" cppname="ClusterSilentTrackNumber" id="0x58D7" multiple="1" minver="1" webm="0">One of the track number that are not used from now on in the stream. It could change later if not specified as silent in a further Cluster.</UIntegerElement>
</MasterElement>
<UIntegerElement name="Position" cppname="ClusterPosition" id="0xA7" minver="1" webm="0">The <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">Position</a> of the Cluster in the segment (0 in live broadcast streams). It might help to resynchronise offset on damaged streams.</UIntegerElement>
<UIntegerElement name="PrevSize" cppname="ClusterPrevSize" id="0xAB" minver="1">Size of the previous Cluster, in octets. Can be useful for backward playing.</UIntegerElement>
<BinaryElement name="SimpleBlock" id="0xA3" multiple="1" minver="2" webm="1" divx="1">Similar to <a href="http://www.matroska.org/technical/specs/index.html#Block">Block</a> but without all the extra information, mostly used to reduced overhead when no extra feature is needed. (see <a href="http://www.matroska.org/technical/specs/index.html#simpleblock_structure">SimpleBlock Structure</a>)</BinaryElement>
<MasterElement name="BlockGroup" id="0xA0" multiple="1" minver="1">Basic container of information containing a single Block or BlockVirtual, and information specific to that Block/VirtualBlock.
</MasterElement>
<BinaryElement name="EncryptedBlock" id="0xAF" multiple="1" webm="0">Similar to <a href="http://www.matroska.org/technical/specs/index.html#SimpleBlock">SimpleBlock</a> but the data inside the Block are Transformed (encrypt and/or signed). (see <a href="http://www.matroska.org/technical/specs/index.html#encryptedblock_structure">EncryptedBlock Structure</a>)</BinaryElement>
</MasterElement>
<MasterElement name="Tracks" id="0x1654AE6B" multiple="1" minver="1">A top-level block of information with many tracks described.
<MasterElement name="TrackEntry" id="0xAE" mandatory="1" multiple="1" minver="1">Describes a track with all elements.
<UIntegerElement name="TrackNumber" id="0xD7" mandatory="1" minver="1" range="not 0">The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number).</UIntegerElement>
<UIntegerElement name="TrackUID" id="0x73C5" mandatory="1" minver="1" range="not 0">A unique ID to identify the Track. This should be kept the same when making a direct stream copy of the Track to another file.</UIntegerElement>
<UIntegerElement name="TrackType" id="0x83" mandatory="1" minver="1" range="1-254">A set of track types coded on 8 bits (1: video, 2: audio, 3: complex, 0x10: logo, 0x11: subtitle, 0x12: buttons, 0x20: control).</UIntegerElement>
<UIntegerElement name="FlagEnabled" cppname="TrackFlagEnabled" id="0xB9" mandatory="1" minver="2" webm="1" default="1" range="0-1">Set if the track is used. (1 bit)</UIntegerElement>
<UIntegerElement name="FlagDefault" cppname="TrackFlagDefault" id="0x88" mandatory="1" minver="1" default="1" range="0-1">Set if that track (audio, video or subs) SHOULD be used if no language found matches the user preference. (1 bit)</UIntegerElement>
<UIntegerElement name="FlagForced" cppname="TrackFlagForced" id="0x55AA" mandatory="1" minver="1" default="0" range="0-1">Set if that track MUST be used during playback. There can be many forced track for a kind (audio, video or subs), the player should select the one which language matches the user preference or the default + forced track. Overlay MAY happen between a forced and non-forced track of the same kind. (1 bit)</UIntegerElement>
<UIntegerElement name="FlagLacing" cppname="TrackFlagLacing" id="0x9C" mandatory="1" minver="1" default="1" range="0-1">Set if the track may contain blocks using lacing. (1 bit)</UIntegerElement>
<UIntegerElement name="MinCache" cppname="TrackMinCache" id="0x6DE7" mandatory="1" minver="1" webm="0" default="0">The minimum number of frames a player should be able to cache during playback. If set to 0, the reference pseudo-cache system is not used.</UIntegerElement>
<UIntegerElement name="MaxCache" cppname="TrackMaxCache" id="0x6DF8" minver="1" webm="0">The maximum cache size required to store referenced frames in and the current frame. 0 means no cache is needed.</UIntegerElement>
<UIntegerElement name="DefaultDuration" cppname="TrackDefaultDuration" id="0x23E383" minver="1" range="not 0">Number of nanoseconds (i.e. not scaled) per frame.</UIntegerElement>
<FloatElement name="TrackTimecodeScale" id="0x23314F" mandatory="1" minver="1" webm="0" default="1.0" range="&gt; 0">The scale to apply on this track to work at normal speed in relation with other tracks (mostly used to adjust video speed when the audio length differs).</FloatElement>
<IntegerElement name="TrackOffset" id="0x537F" webm="0" default="0">A value to add to the Block's Timecode. This can be used to adjust the playback offset of a track.</IntegerElement>
<UIntegerElement name="MaxBlockAdditionID" id="0x55EE" mandatory="1" minver="1" webm="0" default="0">The maximum value of <a href="http://www.matroska.org/technical/specs/index.html#BlockAddID">BlockAddID</a>. A value 0 means there is no <a href="http://www.matroska.org/technical/specs/index.html#BlockAdditions">BlockAdditions</a> for this track.</UIntegerElement>
<UnicodeElement name="Name" cppname="TrackName" id="0x536E" minver="1">A human-readable track name.</UnicodeElement>
<StringElement name="Language" cppname="TrackLanguage" id="0x22B59C" minver="1" default="eng">Specifies the language of the track in the <a href="http://www.matroska.org/technical/specs/index.html#languages">Matroska languages form</a>.</StringElement>
<StringElement name="CodecID" id="0x86" mandatory="1" minver="1">An ID corresponding to the codec, see the <a href="http://www.matroska.org/technical/specs/codecid/index.html">codec page</a> for more info.</StringElement>
<BinaryElement name="CodecPrivate" id="0x63A2" minver="1">Private data only known to the codec.</BinaryElement>
<UnicodeElement name="CodecName" id="0x258688" minver="1">A human-readable string specifying the codec.</UnicodeElement>
<UIntegerElement name="AttachmentLink" cppname="TrackAttachmentLink" id="0x7446" minver="1" webm="0" range="not 0">The UID of an attachment that is used by this codec.</UIntegerElement>
<UnicodeElement name="CodecSettings" id="0x3A9697" webm="0">A string describing the encoding setting used.</UnicodeElement>
<StringElement name="CodecInfoURL" id="0x3B4040" multiple="1" webm="0">A URL to find information about the codec used.</StringElement>
<StringElement name="CodecDownloadURL" id="0x26B240" multiple="1" webm="0">A URL to download about the codec used.</StringElement>
<UIntegerElement name="CodecDecodeAll" id="0xAA" mandatory="1" minver="2" webm="0" default="1" range="0-1">The codec can decode potentially damaged data (1 bit).</UIntegerElement>
<UIntegerElement name="TrackOverlay" id="0x6FAB" multiple="1" minver="1" webm="0">Specify that this track is an overlay track for the Track specified (in the u-integer). That means when this track has a gap (see <a href="http://www.matroska.org/technical/specs/index.html#SilentTracks">SilentTracks</a>) the overlay track should be used instead. The order of multiple TrackOverlay matters, the first one is the one that should be used. If not found it should be the second, etc.</UIntegerElement>
<UIntegerElement name="CodecDelay" id="0x56AA" mandatory="1" minver="2" webm="0" default="1" range="0-1">CodecDelay is The codec-built-in delay in nanoseconds. This value MUST be subtracted from each block timestamp in order to get the actual timestamp. The value SHOULD be small so the muxing of tracks with the same actual timestamp are in the same Cluster.</UIntegerElement>
<MasterElement name="TrackTranslate" id="0x6624" multiple="1" minver="1" webm="0">The track identification for the given Chapter Codec.
<UIntegerElement name="TrackTranslateEditionUID" id="0x66FC" multiple="1" minver="1" webm="0">Specify an edition UID on which this translation applies. When not specified, it means for all editions found in the segment.</UIntegerElement>
<UIntegerElement name="TrackTranslateCodec" id="0x66BF" mandatory="1" minver="1" webm="0">The <a href="http://www.matroska.org/technical/specs/index.html#ChapProcessCodecID">chapter codec</a> using this ID (0: Matroska Script, 1: DVD-menu).</UIntegerElement>
<BinaryElement name="TrackTranslateTrackID" id="0x66A5" mandatory="1" minver="1" webm="0">The binary value used to represent this track in the chapter codec data. The format depends on the <a href="http://www.matroska.org/technical/specs/index.html#ChapProcessCodecID">ChapProcessCodecID</a> used.</BinaryElement>
</MasterElement>
<MasterElement name="Video" cppname="TrackVideo" id="0xE0" minver="1">Video settings
<UIntegerElement name="FlagInterlaced" cppname="VideoFlagInterlaced" id="0x9A" mandatory="1" minver="2" webm="1" default="0" range="0-1">Set if the video is interlaced. (1 bit)</UIntegerElement>
<UIntegerElement name="StereoMode" cppname="VideoStereoMode" id="0x53B8" minver="3" webm="1" default="0">Stereo-3D video mode (0: mono, 1: side by side (left eye is first), 2: top-bottom (right eye is first), 3: top-bottom (left eye is first), 4: checkboard (right is first), 5: checkboard (left is first), 6: row interleaved (right is first), 7: row interleaved (left is first), 8: column interleaved (right is first), 9: column interleaved (left is first), 10: anaglyph (cyan/red), 11: side by side (right eye is first), 12: anaglyph (green/magenta)) . There are some more details on <a href="http://www.matroska.org/technical/specs/notes.html#3D">3D support in the Specification Notes</a>.</UIntegerElement>
<UIntegerElement name="OldStereoMode" id="0x53B9" maxver="0" webm="0" divx="0">Bogus StereoMode value used in old versions of libmatroska. DO NOT USE. (0: mono, 1: right eye, 2: left eye, 3: both eyes).</UIntegerElement>
<UIntegerElement name="PixelWidth" cppname="VideoPixelWidth" id="0xB0" mandatory="1" minver="1" range="not 0">Width of the encoded video frames in pixels.</UIntegerElement>
<UIntegerElement name="PixelHeight" cppname="VideoPixelHeight" id="0xBA" mandatory="1" minver="1" range="not 0">Height of the encoded video frames in pixels.</UIntegerElement>
<UIntegerElement name="PixelCropBottom" cppname="VideoPixelCropBottom" id="0x54AA" minver="1" default="0">The number of video pixels to remove at the bottom of the image (for HDTV content).</UIntegerElement>
<UIntegerElement name="PixelCropTop" cppname="VideoPixelCropTop" id="0x54BB" minver="1" default="0">The number of video pixels to remove at the top of the image.</UIntegerElement>
<UIntegerElement name="PixelCropLeft" cppname="VideoPixelCropLeft" id="0x54CC" minver="1" default="0">The number of video pixels to remove on the left of the image.</UIntegerElement>
<UIntegerElement name="PixelCropRight" cppname="VideoPixelCropRight" id="0x54DD" minver="1" default="0">The number of video pixels to remove on the right of the image.</UIntegerElement>
<UIntegerElement name="DisplayWidth" cppname="VideoDisplayWidth" id="0x54B0" minver="1" default="PixelWidth" range="not 0">Width of the video frames to display. The default value is only valid when <a href="http://www.matroska.org/technical/specs/index.html#DisplayUnit">DisplayUnit</a> is 0.</UIntegerElement>
<UIntegerElement name="DisplayHeight" cppname="VideoDisplayHeight" id="0x54BA" minver="1" default="PixelHeight" range="not 0">Height of the video frames to display. The default value is only valid when <a href="http://www.matroska.org/technical/specs/index.html#DisplayUnit">DisplayUnit</a> is 0.</UIntegerElement>
<UIntegerElement name="DisplayUnit" cppname="VideoDisplayUnit" id="0x54B2" minver="1" default="0">How DisplayWidth &amp; DisplayHeight should be interpreted (0: pixels, 1: centimeters, 2: inches, 3: Display Aspect Ratio).</UIntegerElement>
<UIntegerElement name="AspectRatioType" cppname="VideoAspectRatio" id="0x54B3" minver="1" default="0">Specify the possible modifications to the aspect ratio (0: free resizing, 1: keep aspect ratio, 2: fixed).</UIntegerElement>
<BinaryElement name="ColourSpace" cppname="VideoColourSpace" id="0x2EB524" minver="1" webm="0" bytesize="4">Same value as in AVI (32 bits).</BinaryElement>
<FloatElement name="GammaValue" cppname="VideoGamma" id="0x2FB523" webm="0" range="&gt; 0">Gamma Value.</FloatElement>
<FloatElement name="FrameRate" cppname="VideoFrameRate" id="0x2383E3" range="&gt; 0">Number of frames per second. <strong>Informational</strong> only.</FloatElement>
</MasterElement>
<MasterElement name="Audio" cppname="TrackAudio" id="0xE1" minver="1">Audio settings.
<FloatElement name="SamplingFrequency" cppname="AudioSamplingFreq" id="0xB5" mandatory="1" minver="1" default="8000.0" range="&gt; 0">Sampling frequency in Hz.</FloatElement>
<FloatElement name="OutputSamplingFrequency" cppname="AudioOutputSamplingFreq" id="0x78B5" minver="1" default="Sampling Frequency" range="&gt; 0">Real output sampling frequency in Hz (used for SBR techniques).</FloatElement>
<UIntegerElement name="Channels" cppname="AudioChannels" id="0x9F" mandatory="1" minver="1" default="1" range="not 0">Numbers of channels in the track.</UIntegerElement>
<BinaryElement name="ChannelPositions" cppname="AudioPosition" id="0x7D7B" webm="0">Table of horizontal angles for each successive channel, see <a href="http://www.matroska.org/technical/specs/index.html#channelposition">appendix</a>.</BinaryElement>
<UIntegerElement name="BitDepth" cppname="AudioBitDepth" id="0x6264" minver="1" range="not 0">Bits per sample, mostly used for PCM.</UIntegerElement>
</MasterElement>
<MasterElement name="TrackOperation" id="0xE2" minver="3" webm="0">Operation that needs to be applied on tracks to create this virtual track. For more details <a href="http://www.matroska.org/technical/specs/notes.html#TrackOperation">look at the Specification Notes</a> on the subject.
<MasterElement name="TrackCombinePlanes" id="0xE3" minver="3" webm="0">Contains the list of all video plane tracks that need to be combined to create this 3D track
<MasterElement name="TrackPlane" id="0xE4" mandatory="1" multiple="1" minver="3" webm="0">Contains a video plane track that need to be combined to create this 3D track
<UIntegerElement name="TrackPlaneUID" id="0xE5" mandatory="1" minver="3" webm="0" range="not 0">The trackUID number of the track representing the plane.</UIntegerElement>
<UIntegerElement name="TrackPlaneType" id="0xE6" mandatory="1" minver="3" webm="0">The kind of plane this track corresponds to (0: left eye, 1: right eye, 2: background).</UIntegerElement>
</MasterElement>
</MasterElement>
<MasterElement name="TrackJoinBlocks" id="0xE9" minver="3" webm="0">Contains the list of all tracks whose Blocks need to be combined to create this virtual track
<UIntegerElement name="TrackJoinUID" id="0xED" mandatory="1" multiple="1" minver="3" webm="0" range="not 0">The trackUID number of a track whose blocks are used to create this virtual track.</UIntegerElement>
</MasterElement>
</MasterElement>
<UIntegerElement name="TrickTrackUID" id="0xC0" divx="1"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/Smooth_FF_RW">DivX trick track extenstions</a></UIntegerElement>
<BinaryElement name="TrickTrackSegmentUID" id="0xC1" divx="1" bytesize="16"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/Smooth_FF_RW">DivX trick track extenstions</a></BinaryElement>
<UIntegerElement name="TrickTrackFlag" id="0xC6" divx="1" default="0"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/Smooth_FF_RW">DivX trick track extenstions</a></UIntegerElement>
<UIntegerElement name="TrickMasterTrackUID" id="0xC7" divx="1"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/Smooth_FF_RW">DivX trick track extenstions</a></UIntegerElement>
<BinaryElement name="TrickMasterTrackSegmentUID" id="0xC4" divx="1" bytesize="16"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/Smooth_FF_RW">DivX trick track extenstions</a></BinaryElement>
<MasterElement name="ContentEncodings" id="0x6D80" minver="1" webm="0">Settings for several content encoding mechanisms like compression or encryption.
<MasterElement name="ContentEncoding" id="0x6240" mandatory="1" multiple="1" minver="1" webm="0">Settings for one content encoding like compression or encryption.
<UIntegerElement name="ContentEncodingOrder" id="0x5031" mandatory="1" minver="1" webm="0" default="0">Tells when this modification was used during encoding/muxing starting with 0 and counting upwards. The decoder/demuxer has to start with the highest order number it finds and work its way down. This value has to be unique over all ContentEncodingOrder elements in the segment.</UIntegerElement>
<UIntegerElement name="ContentEncodingScope" id="0x5032" mandatory="1" minver="1" webm="0" default="1" range="not 0">A bit field that describes which elements have been modified in this way. Values (big endian) can be OR'ed. Possible values:<br/> 1 - all frame contents,<br/> 2 - the track's private data,<br/> 4 - the next ContentEncoding (next ContentEncodingOrder. Either the data inside ContentCompression and/or ContentEncryption)</UIntegerElement>
<UIntegerElement name="ContentEncodingType" id="0x5033" mandatory="1" minver="1" webm="0" default="0">A value describing what kind of transformation has been done. Possible values:<br/> 0 - compression,<br/> 1 - encryption</UIntegerElement>
<MasterElement name="ContentCompression" id="0x5034" minver="1" webm="0">Settings describing the compression used. Must be present if the value of ContentEncodingType is 0 and absent otherwise. Each block must be decompressable even if no previous block is available in order not to prevent seeking.
<UIntegerElement name="ContentCompAlgo" id="0x4254" mandatory="1" minver="1" webm="0" default="0">The compression algorithm used. Algorithms that have been specified so far are:<br/> 0 - zlib,<br/> <del>1 - bzlib,</del><br/> <del>2 - lzo1x</del><br/> 3 - Header Stripping</UIntegerElement>
<BinaryElement name="ContentCompSettings" id="0x4255" minver="1" webm="0">Settings that might be needed by the decompressor. For Header Stripping (ContentCompAlgo=3), the bytes that were removed from the beggining of each frames of the track.</BinaryElement>
</MasterElement>
<MasterElement name="ContentEncryption" id="0x5035" minver="1" webm="0">Settings describing the encryption used. Must be present if the value of ContentEncodingType is 1 and absent otherwise.
<UIntegerElement name="ContentEncAlgo" id="0x47E1" minver="1" webm="0" default="0">The encryption algorithm used. The value '0' means that the contents have not been encrypted but only signed. Predefined values:<br/> 1 - DES, 2 - 3DES, 3 - Twofish, 4 - Blowfish, 5 - AES</UIntegerElement>
<BinaryElement name="ContentEncKeyID" id="0x47E2" minver="1" webm="0">For public key algorithms this is the ID of the public key the the data was encrypted with.</BinaryElement>
<BinaryElement name="ContentSignature" id="0x47E3" minver="1" webm="0">A cryptographic signature of the contents.</BinaryElement>
<BinaryElement name="ContentSigKeyID" id="0x47E4" minver="1" webm="0">This is the ID of the private key the data was signed with.</BinaryElement>
<UIntegerElement name="ContentSigAlgo" id="0x47E5" minver="1" webm="0" default="0">The algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values:<br/> 1 - RSA</UIntegerElement>
<UIntegerElement name="ContentSigHashAlgo" id="0x47E6" minver="1" webm="0" default="0">The hash algorithm used for the signature. A value of '0' means that the contents have not been signed but only encrypted. Predefined values:<br/> 1 - SHA1-160<br/> 2 - MD5</UIntegerElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
<MasterElement name="Cues" id="0x1C53BB6B" minver="1">A top-level element to speed seeking access. All entries are local to the segment. Should be mandatory for non <a href="http://www.matroska.org/technical/streaming/index.hmtl">"live" streams</a>.
<MasterElement name="CuePoint" id="0xBB" mandatory="1" multiple="1" minver="1">Contains all information relative to a seek point in the segment.
<UIntegerElement name="CueTime" id="0xB3" mandatory="1" minver="1">Absolute timecode according to the segment time base.</UIntegerElement>
<MasterElement name="CueTrackPositions" id="0xB7" mandatory="1" multiple="1" minver="1">Contain positions for different tracks corresponding to the timecode.
<UIntegerElement name="CueTrack" id="0xF7" mandatory="1" minver="1" range="not 0">The track for which a position is given.</UIntegerElement>
<UIntegerElement name="CueClusterPosition" id="0xF1" mandatory="1" minver="1">The <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">position</a> of the Cluster containing the required Block.</UIntegerElement>
<UIntegerElement name="CueBlockNumber" id="0x5378" minver="1" default="1" range="not 0">Number of the Block in the specified Cluster.</UIntegerElement>
<UIntegerElement name="CueCodecState" id="0xEA" minver="2" webm="0" default="0">The <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">position</a> of the Codec State corresponding to this Cue element. 0 means that the data is taken from the initial Track Entry.</UIntegerElement>
<MasterElement name="CueReference" id="0xDB" multiple="1" minver="2" webm="0">The Clusters containing the required referenced Blocks.
<UIntegerElement name="CueRefTime" id="0x96" mandatory="1" minver="2" webm="0">Timecode of the referenced Block.</UIntegerElement>
<UIntegerElement name="CueRefCluster" id="0x97" mandatory="1" webm="0">The <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">Position</a> of the Cluster containing the referenced Block.</UIntegerElement>
<UIntegerElement name="CueRefNumber" id="0x535F" webm="0" default="1" range="not 0">Number of the referenced Block of Track X in the specified Cluster.</UIntegerElement>
<UIntegerElement name="CueRefCodecState" id="0xEB" webm="0" default="0">The <a href="http://www.matroska.org/technical/specs/notes.html#Position_References">position</a> of the Codec State corresponding to this referenced element. 0 means that the data is taken from the initial Track Entry.</UIntegerElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
<MasterElement name="Attachments" id="0x1941A469" minver="1" webm="0">Contain attached files.
<MasterElement name="AttachedFile" id="0x61A7" mandatory="1" multiple="1" minver="1" webm="0">An attached file.
<UnicodeElement name="FileDescription" id="0x467E" minver="1" webm="0">A human-friendly name for the attached file.</UnicodeElement>
<UnicodeElement name="FileName" id="0x466E" mandatory="1" minver="1" webm="0">Filename of the attached file.</UnicodeElement>
<StringElement name="FileMimeType" id="0x4660" mandatory="1" minver="1" webm="0">MIME type of the file.</StringElement>
<BinaryElement name="FileData" id="0x465C" mandatory="1" minver="1" webm="0">The data of the file.</BinaryElement>
<UIntegerElement name="FileUID" id="0x46AE" mandatory="1" minver="1" webm="0" range="not 0">Unique ID representing the file, as random as possible.</UIntegerElement>
<BinaryElement name="FileReferral" id="0x4675" webm="0">A binary value that a track/codec can refer to when the attachment is needed.</BinaryElement>
<UIntegerElement name="FileUsedStartTime" id="0x4661" divx="1"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/World_Fonts">DivX font extension</a></UIntegerElement>
<UIntegerElement name="FileUsedEndTime" id="0x4662" divx="1"><a href="http://developer.divx.com/docs/divx_plus_hd/format_features/World_Fonts">DivX font extension</a></UIntegerElement>
</MasterElement>
</MasterElement>
<MasterElement name="Chapters" id="0x1043A770" minver="1" webm="0">A system to define basic menus and partition data. For more detailed information, look at the <a href="http://www.matroska.org/technical/specs/chapters/index.html">Chapters Explanation</a>.
<MasterElement name="EditionEntry" id="0x45B9" mandatory="1" multiple="1" minver="1" webm="0">Contains all information about a segment edition.
<UIntegerElement name="EditionUID" id="0x45BC" minver="1" webm="0" range="not 0">A unique ID to identify the edition. It's useful for tagging an edition.</UIntegerElement>
<UIntegerElement name="EditionFlagHidden" id="0x45BD" mandatory="1" minver="1" webm="0" default="0" range="0-1">If an edition is hidden (1), it should not be available to the user interface (but still to Control Tracks). (1 bit)</UIntegerElement>
<UIntegerElement name="EditionFlagDefault" id="0x45DB" mandatory="1" minver="1" webm="0" default="0" range="0-1">If a flag is set (1) the edition should be used as the default one. (1 bit)</UIntegerElement>
<UIntegerElement name="EditionFlagOrdered" id="0x45DD" minver="1" webm="0" default="0" range="0-1">Specify if the chapters can be defined multiple times and the order to play them is enforced. (1 bit)</UIntegerElement>
<MasterElement name="ChapterAtom" recursive="1" id="0xB6" mandatory="1" multiple="1" minver="1" webm="0">Contains the atom information to use as the chapter atom (apply to all tracks).
<UIntegerElement name="ChapterUID" id="0x73C4" mandatory="1" minver="1" webm="0" range="not 0">A unique ID to identify the Chapter.</UIntegerElement>
<UIntegerElement name="ChapterTimeStart" id="0x91" mandatory="1" minver="1" webm="0">Timecode of the start of Chapter (not scaled).</UIntegerElement>
<UIntegerElement name="ChapterTimeEnd" id="0x92" minver="1" webm="0">Timecode of the end of Chapter (timecode excluded, not scaled).</UIntegerElement>
<UIntegerElement name="ChapterFlagHidden" id="0x98" mandatory="1" minver="1" webm="0" default="0" range="0-1">If a chapter is hidden (1), it should not be available to the user interface (but still to Control Tracks). (1 bit)</UIntegerElement>
<UIntegerElement name="ChapterFlagEnabled" id="0x4598" mandatory="1" minver="1" webm="0" default="1" range="0-1">Specify wether the chapter is enabled. It can be enabled/disabled by a Control Track. When disabled, the movie should skip all the content between the TimeStart and TimeEnd of this chapter. (1 bit)</UIntegerElement>
<BinaryElement name="ChapterSegmentUID" id="0x6E67" minver="1" webm="0" range="&gt;0" bytesize="16">A segment to play in place of this chapter. Edition ChapterSegmentEditionUID should be used for this segment, otherwise no edition is used.</BinaryElement>
<BinaryElement name="ChapterSegmentEditionUID" id="0x6EBC" minver="1" webm="0" range="not 0" bytesize="16">The edition to play from the segment linked in ChapterSegmentUID.</BinaryElement>
<UIntegerElement name="ChapterPhysicalEquiv" id="0x63C3" minver="1" webm="0">Specify the physical equivalent of this ChapterAtom like "DVD" (60) or "SIDE" (50), see <a href="http://www.matroska.org/technical/specs/index.html#physical">complete list of values</a>.</UIntegerElement>
<MasterElement name="ChapterTrack" id="0x8F" minver="1" webm="0">List of tracks on which the chapter applies. If this element is not present, all tracks apply
<UIntegerElement name="ChapterTrackNumber" id="0x89" mandatory="1" multiple="1" minver="1" webm="0" range="not 0">UID of the Track to apply this chapter too. In the absense of a control track, choosing this chapter will select the listed Tracks and deselect unlisted tracks. Absense of this element indicates that the Chapter should be applied to any currently used Tracks.</UIntegerElement>
</MasterElement>
<MasterElement name="ChapterDisplay" id="0x80" multiple="1" minver="1" webm="0">Contains all possible strings to use for the chapter display.
<MasterElement name="ChapProcess" cppname="ChapterProcess" id="0x6944" multiple="1" minver="1" webm="0">Contains all the commands associated to the Atom.
<UIntegerElement name="ChapProcessCodecID" cppname="ChapterProcessCodecID" id="0x6955" mandatory="1" minver="1" webm="0" default="0">Contains the type of the codec used for the processing. A value of 0 means native Matroska processing (to be defined), a value of 1 means the <a href="http://www.matroska.org/technical/specs/chapters/index.html#dvd">DVD</a> command set is used. More codec IDs can be added later.</UIntegerElement>
<BinaryElement name="ChapProcessPrivate" cppname="ChapterProcessPrivate" id="0x450D" minver="1" webm="0">Some optional data attached to the ChapProcessCodecID information. <a href="http://www.matroska.org/technical/specs/chapters/index.html#dvd">For ChapProcessCodecID = 1</a>, it is the "DVD level" equivalent.</BinaryElement>
<MasterElement name="ChapProcessCommand" cppname="ChapterProcessCommand" id="0x6911" multiple="1" minver="1" webm="0">Contains all the commands associated to the Atom.
<UIntegerElement name="ChapProcessTime" cppname="ChapterProcessTime" id="0x6922" mandatory="1" minver="1" webm="0">Defines when the process command should be handled (0: during the whole chapter, 1: before starting playback, 2: after playback of the chapter).</UIntegerElement>
<BinaryElement name="ChapProcessData" cppname="ChapterProcessData" id="0x6933" mandatory="1" minver="1" webm="0">Contains the command information. The data should be interpreted depending on the ChapProcessCodecID value. <a href="http://www.matroska.org/technical/specs/chapters/index.html#dvd">For ChapProcessCodecID = 1</a>, the data correspond to the binary DVD cell pre/post commands.</BinaryElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
<MasterElement name="Tags" id="0x1254C367" multiple="1" minver="1" webm="0">Element containing elements specific to Tracks/Chapters. A list of valid tags can be found <a href="http://www.matroska.org/technical/specs/tagging/index.html">here.</a>
<MasterElement name="Tag" id="0x7373" mandatory="1" multiple="1" minver="1" webm="0">Element containing elements specific to Tracks/Chapters.
<MasterElement name="Targets" cppname="TagTargets" id="0x63C0" mandatory="1" minver="1" webm="0">Contain all UIDs where the specified meta data apply. It is empty to describe everything in the segment.
<UIntegerElement name="TargetTypeValue" cppname="TagTargetTypeValue" id="0x68CA" minver="1" webm="0" default="50">A number to indicate the logical level of the target (see <a href="http://www.matroska.org/technical/specs/tagging/index.html#targettypes">TargetType</a>).</UIntegerElement>
<StringElement name="TargetType" cppname="TagTargetType" id="0x63CA" minver="1" webm="0">An <strong>informational</strong> string that can be used to display the logical level of the target like "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc (see <a href="http://www.matroska.org/technical/specs/tagging/index.html#targettypes">TargetType</a>).</StringElement>
<UIntegerElement name="TagTrackUID" id="0x63C5" multiple="1" minver="1" webm="0" default="0">A unique ID to identify the Track(s) the tags belong to. If the value is 0 at this level, the tags apply to all tracks in the Segment.</UIntegerElement>
<UIntegerElement name="TagEditionUID" id="0x63C9" multiple="1" minver="1" webm="0" default="0">A unique ID to identify the EditionEntry(s) the tags belong to. If the value is 0 at this level, the tags apply to all editions in the Segment.</UIntegerElement>
<UIntegerElement name="TagChapterUID" id="0x63C4" multiple="1" minver="1" webm="0" default="0">A unique ID to identify the Chapter(s) the tags belong to. If the value is 0 at this level, the tags apply to all chapters in the Segment.</UIntegerElement>
<UIntegerElement name="TagAttachmentUID" id="0x63C6" multiple="1" minver="1" webm="0" default="0">A unique ID to identify the Attachment(s) the tags belong to. If the value is 0 at this level, the tags apply to all the attachments in the Segment.</UIntegerElement>
</MasterElement>
<MasterElement name="SimpleTag" cppname="TagSimple" recursive="1" id="0x67C8" mandatory="1" multiple="1" minver="1" webm="0">Contains general information about the target.
<UnicodeElement name="TagName" id="0x45A3" mandatory="1" minver="1" webm="0">The name of the Tag that is going to be stored.</UnicodeElement>
<StringElement name="TagLanguage" id="0x447A" mandatory="1" minver="1" webm="0" default="und">Specifies the language of the tag specified, in the <a href="http://www.matroska.org/technical/specs/index.html#languages">Matroska languages form</a>.</StringElement>
<UIntegerElement name="TagDefault" id="0x4484" mandatory="1" minver="1" webm="0" default="1" range="0-1">Indication to know if this is the default/original language to use for the given tag. (1 bit)</UIntegerElement>
<UnicodeElement name="TagString" id="0x4487" minver="1" webm="0">The value of the Tag.</UnicodeElement>
<BinaryElement name="TagBinary" id="0x4485" minver="1" webm="0">The values of the Tag if it is binary. Note that this cannot be used in the same SimpleTag as TagString.</BinaryElement>
</MasterElement>
</MasterElement>
</MasterElement>
</MasterElement>
</Schema>