<?xml version='1.0' encoding='utf-8'?>
<PRONOM-Report xmlns="http://pronom.nationalarchives.gov.uk">
  <report_format_detail>
    <FileFormat>
      <FormatID>1357</FormatID>
      <FormatName>Matroska</FormatName>
      <FormatVersion>1-4</FormatVersion>
      <FormatAliases> </FormatAliases>
      <FormatFamilies>EBML</FormatFamilies>
      <FormatTypes>Video</FormatTypes>
      <FormatDisclosure> </FormatDisclosure>
      <FormatDescription>The Matroska Multimedia Container is an open standard free container format, based on the Extensible Binary Meta Language (EBML). Matroska file extensions are .MKV for video (with subtitles and audio), .MK3D for stereoscopic video, .MKA for audio-only files, and .MKS for subtitles only. The Internet Engineering Task Force (IETF) Working Group: Codec Encoding for LossLess Archiving and Realtime transmission (cellar) is tasked with the standardisation of Matroska.

The EBML specifications are work-in-progress, and can be found here: https://github.com/Matroska-Org/ebml-specification/blob/master/specification.markdown</FormatDescription>
      <BinaryFileFormat> </BinaryFileFormat>
      <ByteOrders> </ByteOrders>
      <ReleaseDate>06 Dec 2002</ReleaseDate>
      <WithdrawnDate> </WithdrawnDate>
      <ProvenanceSourceID>191</ProvenanceSourceID>
      <ProvenanceName>Axiell / Axiell</ProvenanceName>
      <ProvenanceSourceDate>19 Jul 2013</ProvenanceSourceDate>
      <ProvenanceDescription> </ProvenanceDescription>
      <LastUpdatedDate>03 Feb 2022</LastUpdatedDate>
      <FileFormatIdentifier>
        <Identifier>fmt/569</Identifier>
        <IdentifierType>PUID</IdentifierType>
      </FileFormatIdentifier>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>mkv</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>mk3d</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>mka</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <ExternalSignature>
        <ExternalSignatureID> </ExternalSignatureID>
        <Signature>mks</Signature>
        <SignatureType>File extension</SignatureType>
      </ExternalSignature>
      <InternalSignature>
        <SignatureID>907</SignatureID>
        <SignatureName>Matroska Video</SignatureName>
        <SignatureNote>0x1A45DFA3(EBML-Level 0 element), {0-32}, 0x428288(DocType element), string=matroska, 0x4287(DocTypeVersion element). The specification allows for ASCII text before the EBML header and considers the level 0 EBML header element to be the beginning of the EBML document. For now this signature is offset to 1024 bytes to allow for some ASCII text to precede the header, but to assume the EBML header of a Matroska multimedia format will begin near the beginning of the file and to mitigate against wasteful processing of large files that are not Matroska multimedia.</SignatureNote>
        <ByteSequence>
          <ByteSequenceID>1</ByteSequenceID>
          <PositionType>Absolute from BOF</PositionType>
          <Offset>0</Offset>
          <MaxOffset>1024</MaxOffset>
          <IndirectOffsetLocation> </IndirectOffsetLocation>
          <IndirectOffsetLength> </IndirectOffsetLength>
          <Endianness>Big-endian</Endianness>
          <ByteSequenceValue>1A45DFA3{0-32}4282886D6174726F736B614287</ByteSequenceValue>
        </ByteSequence>
      </InternalSignature>
      <RelatedFormat>
        <RelationshipType>Has priority over</RelationshipType>
        <RelatedFormatID>687</RelatedFormatID>
        <RelatedFormatName>MPEG 1/2 Audio Layer 3</RelatedFormatName>
        <RelatedFormatVersion> </RelatedFormatVersion>
      </RelatedFormat>
    </FileFormat>
  </report_format_detail>
</PRONOM-Report>