Ogg Encapsulation for the Opus Audio Codec
draft-ietf-codec-oggopus-13

The information below is for an old version of the document
Document Type Active Internet-Draft (codec WG)
Last updated 2016-02-18 (latest revision 2016-02-12)
Replaces draft-terriberry-oggopus
Stream IETF
Intended RFC status Proposed Standard
Formats pdf htmlized bibtex
Reviews
Stream WG state Submitted to IESG for Publication
Document shepherd Mo Zanaty
Shepherd write-up Show (last changed 2015-11-25)
IESG IESG state Approved-announcement sent::Revised I-D Needed
Consensus Boilerplate Yes
Telechat date
Responsible AD Ben Campbell
Send notices to "Mo Zanaty" <mzanaty@cisco.com>
IANA IANA review state IANA OK - Actions Needed
codec                                                      T. Terriberry
Internet-Draft                                       Mozilla Corporation
Updates: 5334 (if approved)                                       R. Lee
Intended status: Standards Track                             Voicetronix
Expires: August 15, 2016                                        R. Giles
                                                     Mozilla Corporation
                                                       February 12, 2016

               Ogg Encapsulation for the Opus Audio Codec
                      draft-ietf-codec-oggopus-13

Abstract

   This document defines the Ogg encapsulation for the Opus interactive
   speech and audio codec.  This allows data encoded in the Opus format
   to be stored in an Ogg logical bitstream.

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 August 15, 2016.

Copyright Notice

   Copyright (c) 2016 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
   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

Terriberry, et al.       Expires August 15, 2016                [Page 1]
Internet-Draft                  Ogg Opus                   February 2016

   the Trust Legal Provisions and are provided without warranty as
   described in the Simplified BSD License.

Table of Contents

   1.  Introduction  . . . . . . . . . . . . . . . . . . . . . . . .   2
   2.  Terminology . . . . . . . . . . . . . . . . . . . . . . . . .   3
   3.  Packet Organization . . . . . . . . . . . . . . . . . . . . .   3
   4.  Granule Position  . . . . . . . . . . . . . . . . . . . . . .   5
     4.1.  Repairing Gaps in Real-time Streams . . . . . . . . . . .   6
     4.2.  Pre-skip  . . . . . . . . . . . . . . . . . . . . . . . .   7
     4.3.  PCM Sample Position . . . . . . . . . . . . . . . . . . .   8
     4.4.  End Trimming  . . . . . . . . . . . . . . . . . . . . . .   9
     4.5.  Restrictions on the Initial Granule Position  . . . . . .   9
     4.6.  Seeking and Pre-roll  . . . . . . . . . . . . . . . . . .  10
   5.  Header Packets  . . . . . . . . . . . . . . . . . . . . . . .  11
     5.1.  Identification Header . . . . . . . . . . . . . . . . . .  11
       5.1.1.  Channel Mapping . . . . . . . . . . . . . . . . . . .  15
     5.2.  Comment Header  . . . . . . . . . . . . . . . . . . . . .  20
       5.2.1.  Tag Definitions . . . . . . . . . . . . . . . . . . .  23
   6.  Packet Size Limits  . . . . . . . . . . . . . . . . . . . . .  25
   7.  Encoder Guidelines  . . . . . . . . . . . . . . . . . . . . .  26
     7.1.  LPC Extrapolation . . . . . . . . . . . . . . . . . . . .  26
     7.2.  Continuous Chaining . . . . . . . . . . . . . . . . . . .  27
   8.  Implementation Status . . . . . . . . . . . . . . . . . . . .  27
   9.  Security Considerations . . . . . . . . . . . . . . . . . . .  28
   10. Content Type  . . . . . . . . . . . . . . . . . . . . . . . .  28
   11. IANA Considerations . . . . . . . . . . . . . . . . . . . . .  29
   12. Acknowledgments . . . . . . . . . . . . . . . . . . . . . . .  29
   13. RFC Editor Notes  . . . . . . . . . . . . . . . . . . . . . .  30
   14. References  . . . . . . . . . . . . . . . . . . . . . . . . .  30
     14.1.  Normative References . . . . . . . . . . . . . . . . . .  30
     14.2.  Informative References . . . . . . . . . . . . . . . . .  30
     14.3.  URIs . . . . . . . . . . . . . . . . . . . . . . . . . .  32
   Authors' Addresses  . . . . . . . . . . . . . . . . . . . . . . .  32

1.  Introduction

   The IETF Opus codec is a low-latency audio codec optimized for both
   voice and general-purpose audio.  See [RFC6716] for technical
   details.  This document defines the encapsulation of Opus in a
   continuous, logical Ogg bitstream [RFC3533].  Ogg encapsulation
   provides Opus with a long-term storage format supporting all of the
   essential features, including metadata, fast and accurate seeking,
Show full document text