Extensible Binary Meta Language
draft-ietf-cellar-ebml-10

Document Type Active Internet-Draft (cellar WG)
Last updated 2019-05-27
Stream IETF
Intended RFC status Proposed Standard
Formats plain text xml pdf html bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Steven Villereal
Shepherd write-up Show (last changed 2018-12-04)
IESG IESG state AD Evaluation::AD Followup
Consensus Boilerplate Yes
Telechat date
Responsible AD Alexey Melnikov
Send notices to Steven Villereal <villereal@gmail.com>
cellar                                                         S. Lhomme
Internet-Draft
Intended status: Standards Track                                 D. Rice
Expires: November 28, 2019
                                                               M. Bunkus
                                                            May 27, 2019

                    Extensible Binary Meta Language
                       draft-ietf-cellar-ebml-10

Abstract

   This document defines the Extensible Binary Meta Language (EBML)
   format as a generalized file format for any type of data in a
   hierarchical form.  EBML is designed as a binary equivalent to XML
   and uses a storage-efficient approach to build nested Elements with
   identifiers, lengths, and values.  Similar to how an XML Schema
   defines the structure and semantics of an XML Document, this document
   defines how EBML Schemas are created to convey the semantics of an
   EBML Document.

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 November 28, 2019.

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

Lhomme, et al.          Expires November 28, 2019               [Page 1]
Internet-Draft                    EBML                          May 2019

   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.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   3
   2.  Notation and Conventions  . . . . . . . . . . . . . . . . . .   4
   3.  Structure . . . . . . . . . . . . . . . . . . . . . . . . . .   6
   4.  Variable Size Integer . . . . . . . . . . . . . . . . . . . .   7
     4.1.  VINT_WIDTH  . . . . . . . . . . . . . . . . . . . . . . .   7
     4.2.  VINT_MARKER . . . . . . . . . . . . . . . . . . . . . . .   7
     4.3.  VINT_DATA . . . . . . . . . . . . . . . . . . . . . . . .   7
     4.4.  VINT Examples . . . . . . . . . . . . . . . . . . . . . .   8
   5.  Element ID  . . . . . . . . . . . . . . . . . . . . . . . . .   9
   6.  Element Data Size . . . . . . . . . . . . . . . . . . . . . .  10
   7.  EBML Element Types  . . . . . . . . . . . . . . . . . . . . .  12
     7.1.  Signed Integer Element  . . . . . . . . . . . . . . . . .  12
     7.2.  Unsigned Integer Element  . . . . . . . . . . . . . . . .  13
     7.3.  Float Element . . . . . . . . . . . . . . . . . . . . . .  13
     7.4.  String Element  . . . . . . . . . . . . . . . . . . . . .  13
     7.5.  UTF-8 Element . . . . . . . . . . . . . . . . . . . . . .  13
     7.6.  Date Element  . . . . . . . . . . . . . . . . . . . . . .  13
     7.7.  Master Element  . . . . . . . . . . . . . . . . . . . . .  14
     7.8.  Binary Element  . . . . . . . . . . . . . . . . . . . . .  14
   8.  EBML Document . . . . . . . . . . . . . . . . . . . . . . . .  14
     8.1.  EBML Header . . . . . . . . . . . . . . . . . . . . . . .  15
     8.2.  EBML Body . . . . . . . . . . . . . . . . . . . . . . . .  15
   9.  EBML Stream . . . . . . . . . . . . . . . . . . . . . . . . .  15
   10. EBML Versioning . . . . . . . . . . . . . . . . . . . . . . .  15
     10.1.  EBML Header Version  . . . . . . . . . . . . . . . . . .  16
     10.2.  EBML Document Version  . . . . . . . . . . . . . . . . .  16
   11. Elements semantic . . . . . . . . . . . . . . . . . . . . . .  16
     11.1.  EBML Schema  . . . . . . . . . . . . . . . . . . . . . .  16
       11.1.1.  EBML Schema Example  . . . . . . . . . . . . . . . .  17
       11.1.2.  <EBMLSchema> Element . . . . . . . . . . . . . . . .  18
       11.1.3.  <EBMLSchema> Attributes  . . . . . . . . . . . . . .  18
       11.1.4.  <element> Element  . . . . . . . . . . . . . . . . .  18
       11.1.5.  <element> Attributes . . . . . . . . . . . . . . . .  19
       11.1.6.  <documentation> Element  . . . . . . . . . . . . . .  24
Show full document text