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

Document Type Active Internet-Draft (cellar WG)
Last updated 2017-07-03
Stream IETF
Intended RFC status Informational
Formats plain text xml pdf html bibtex
Stream WG state WG Document
Document shepherd No shepherd assigned
IESG IESG state I-D Exists
Consensus Boilerplate Unknown
Telechat date
Responsible AD (None)
Send notices to (None)
cellar                                                         S. Lhomme
Internet-Draft
Intended status: Standards Track                                 D. Rice
Expires: January 3, 2018
                                                               M. Bunkus
                                                            July 2, 2017

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

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 http://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 January 3, 2018.

Copyright Notice

   Copyright (c) 2017 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
   (http://trustee.ietf.org/license-info) in effect on the date of
   publication of this document.  Please review these documents

Lhomme, et al.           Expires January 3, 2018                [Page 1]
Internet-Draft                    EBML                         July 2017

   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.  Security Considerations . . . . . . . . . . . . . . . . . . .   6
   4.  IANA Considerations . . . . . . . . . . . . . . . . . . . . .   7
   5.  Structure . . . . . . . . . . . . . . . . . . . . . . . . . .   7
   6.  Variable Size Integer . . . . . . . . . . . . . . . . . . . .   7
     6.1.  VINT_WIDTH  . . . . . . . . . . . . . . . . . . . . . . .   8
     6.2.  VINT_MARKER . . . . . . . . . . . . . . . . . . . . . . .   8
     6.3.  VINT_DATA . . . . . . . . . . . . . . . . . . . . . . . .   8
     6.4.  VINT Examples . . . . . . . . . . . . . . . . . . . . . .   9
   7.  Element ID  . . . . . . . . . . . . . . . . . . . . . . . . .   9
   8.  Element Data Size . . . . . . . . . . . . . . . . . . . . . .  11
   9.  EBML Element Types  . . . . . . . . . . . . . . . . . . . . .  12
     9.1.  Signed Integer Element  . . . . . . . . . . . . . . . . .  13
     9.2.  Unsigned Integer Element  . . . . . . . . . . . . . . . .  13
     9.3.  Float Element . . . . . . . . . . . . . . . . . . . . . .  13
     9.4.  String Element  . . . . . . . . . . . . . . . . . . . . .  14
     9.5.  UTF-8 Element . . . . . . . . . . . . . . . . . . . . . .  14
     9.6.  Date Element  . . . . . . . . . . . . . . . . . . . . . .  14
     9.7.  Master Element  . . . . . . . . . . . . . . . . . . . . .  14
     9.8.  Binary Element  . . . . . . . . . . . . . . . . . . . . .  15
   10. Terminating Elements  . . . . . . . . . . . . . . . . . . . .  15
   11. Guidelines for Updating Elements  . . . . . . . . . . . . . .  16
     11.1.  Reducing a Element Data in Size  . . . . . . . . . . . .  16
       11.1.1.  Adding a Void Element  . . . . . . . . . . . . . . .  16
       11.1.2.  Extending the Element Data Size  . . . . . . . . . .  16
       11.1.3.  Terminating Element Data . . . . . . . . . . . . . .  17
     11.2.  Considerations when Updating Elements with CRC . . . . .  17
   12. EBML Document . . . . . . . . . . . . . . . . . . . . . . . .  18
     12.1.  EBML Header  . . . . . . . . . . . . . . . . . . . . . .  18
     12.2.  EBML Body  . . . . . . . . . . . . . . . . . . . . . . .  18
   13. EBML Stream . . . . . . . . . . . . . . . . . . . . . . . . .  19
Show full document text