Matroska Specifications
draft-ietf-cellar-matroska-04

Document Type Active Internet-Draft (cellar WG)
Last updated 2019-10-27
Stream IETF
Intended RFC status Proposed Standard
Formats plain text html xml pdf htmlized bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Yes
Telechat date
Responsible AD (None)
Send notices to (None)
cellar                                                         S. Lhomme
Internet-Draft                                                          
Intended status: Informational                                 M. Bunkus
Expires: 29 April 2020                                                  
                                                                 D. Rice
                                                         27 October 2019

                        Matroska Specifications
                     draft-ietf-cellar-matroska-04

Abstract

   This document defines the Matroska audiovisual container, including
   definitions of its structural elements, as well as its terminology,
   vocabulary, and application.

Status of This Memo

   This Internet-Draft is submitted in full conformance with the
   provisions of BCP 78 and BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF).  Note that other groups may also distribute
   working documents as Internet-Drafts.  The list of current Internet-
   Drafts is at https://datatracker.ietf.org/drafts/current/.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   This Internet-Draft will expire on 29 April 2020.

Copyright Notice

   Copyright (c) 2019 IETF Trust and the persons identified as the
   document authors.  All rights reserved.

   This document is subject to BCP 78 and the IETF Trust's Legal
   Provisions Relating to IETF Documents (https://trustee.ietf.org/
   license-info) in effect on the date of publication of this document.
   Please review these documents carefully, as they describe your rights
   and restrictions with respect to this document.  Code Components
   extracted from this document must include Simplified BSD License text
   as described in Section 4.e of the Trust Legal Provisions and are
   provided without warranty as described in the Simplified BSD License.

Lhomme, et al.            Expires 29 April 2020                 [Page 1]
Internet-Draft                  Matroska                    October 2019

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   4
   2.  Status of this document . . . . . . . . . . . . . . . . . . .   5
   3.  Security Considerations . . . . . . . . . . . . . . . . . . .   5
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   5
   5.  Notation and Conventions  . . . . . . . . . . . . . . . . . .   6
   6.  Basis in EBML . . . . . . . . . . . . . . . . . . . . . . . .   6
     6.1.  Added Constraints on EBML . . . . . . . . . . . . . . . .   6
     6.2.  Matroska Design . . . . . . . . . . . . . . . . . . . . .   7
       6.2.1.  Language Codes  . . . . . . . . . . . . . . . . . . .   7
       6.2.2.  Physical Types  . . . . . . . . . . . . . . . . . . .   7
       6.2.3.  Block Structure . . . . . . . . . . . . . . . . . . .   8
       6.2.4.  Lacing  . . . . . . . . . . . . . . . . . . . . . . .  10
   7.  Matroska Structure  . . . . . . . . . . . . . . . . . . . . .  14
   8.  Matroska Additions to Schema Element Attributes . . . . . . .  23
   9.  Matroska Schema . . . . . . . . . . . . . . . . . . . . . . .  24
     9.1.  EBMLMaxIDLength Element . . . . . . . . . . . . . . . . .  24
     9.2.  EBMLMaxSizeLength Element . . . . . . . . . . . . . . . .  24
     9.3.  Segment Element . . . . . . . . . . . . . . . . . . . . .  25
       9.3.1.  SeekHead Element  . . . . . . . . . . . . . . . . . .  25
       9.3.2.  Info Element  . . . . . . . . . . . . . . . . . . . .  26
       9.3.3.  Cluster Element . . . . . . . . . . . . . . . . . . .  33
       9.3.4.  Tracks Element  . . . . . . . . . . . . . . . . . . .  45
       9.3.5.  Cues Element  . . . . . . . . . . . . . . . . . . . . 106
       9.3.6.  Attachments Element . . . . . . . . . . . . . . . . . 112
       9.3.7.  Chapters Element  . . . . . . . . . . . . . . . . . . 115
       9.3.8.  Tags Element  . . . . . . . . . . . . . . . . . . . . 127
   10. Matroska Element Ordering . . . . . . . . . . . . . . . . . . 134
     10.1.  Top-Level Elements . . . . . . . . . . . . . . . . . . . 134
     10.2.  CRC-32 . . . . . . . . . . . . . . . . . . . . . . . . . 135
     10.3.  SeekHead . . . . . . . . . . . . . . . . . . . . . . . . 135
     10.4.  Cues (index) . . . . . . . . . . . . . . . . . . . . . . 135
     10.5.  Info . . . . . . . . . . . . . . . . . . . . . . . . . . 135
     10.6.  Chapters Element . . . . . . . . . . . . . . . . . . . . 136
     10.7.  Attachments  . . . . . . . . . . . . . . . . . . . . . . 136
     10.8.  Tags . . . . . . . . . . . . . . . . . . . . . . . . . . 136
     10.9.  Optimum layout from a muxer  . . . . . . . . . . . . . . 136
     10.10. Optimum layout after editing tags  . . . . . . . . . . . 137
Show full document text