Re: [codec] draft-ietf-codec-oggopus: attached pictures

"Timothy B. Terriberry" <> Wed, 24 September 2014 20:14 UTC

Return-Path: <>
Received: from localhost ( []) by (Postfix) with ESMTP id 8B8C91A044F for <>; Wed, 24 Sep 2014 13:14:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.378
X-Spam-Status: No, score=-1.378 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HELO_MISMATCH_ORG=0.611, HOST_MISMATCH_COM=0.311, RCVD_IN_DNSWL_MED=-2.3, SPF_FAIL=0.001] autolearn=ham
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id UBw7nYVx0bVL for <>; Wed, 24 Sep 2014 13:14:22 -0700 (PDT)
Received: from ( []) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by (Postfix) with ESMTPS id BC7CB1A03D0 for <>; Wed, 24 Sep 2014 13:14:22 -0700 (PDT)
Received: from [] ( []) (Authenticated sender: by (Postfix) with ESMTPSA id 1DC9DF2742 for <>; Wed, 24 Sep 2014 13:14:21 -0700 (PDT)
Message-ID: <>
Date: Wed, 24 Sep 2014 13:14:18 -0700
From: "Timothy B. Terriberry" <>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:29.0) Gecko/20100101 SeaMonkey/2.26
MIME-Version: 1.0
To: "" <>
References: <> <> <> <20140830072745.GF326@hex.shelbyville.oz> <> <> <>
In-Reply-To: <>
Content-Type: text/plain; charset="ISO-8859-1"; format="flowed"
Content-Transfer-Encoding: 7bit
Subject: Re: [codec] draft-ietf-codec-oggopus: attached pictures
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Codec WG <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Wed, 24 Sep 2014 20:14:25 -0000

Mark Harris wrote:
> None of my proposals should break already-encoded files, so that
> should not be an issue.  I think that the only potential issue is that
> insufficient guidance in the Ogg Opus draft may lead to newly encoded
> files being handled poorly by older tools that are not aware of later
> extensions.  It would be best for this document to provide additional
> guidance even if details such as anything specific to attached
> pictures is specified later in another document.

To resolve this, I'm proposing (as an individual) the following text, to 
be added in a new paragraph at the end of Section 4.2:

"The comment header MAY contain additional binary data which is not 
specified here. If the least-significant bit of the first byte of this 
data is 1, then editors SHOULD attempt to preserve the contents of this 
data when updating the tags, but if this bit is 0, all such data MAY be 
treated as padding, and be truncated or discarded as desired."

Any binary extension for album art, etc., is going to have to be 
compatible with the Vorbis framing bit if we're going to use it for 
Vorbis as well, so I think this gives us a good extension mechanism with 
minimal restrictions while still allowing people to pad the comment 
header for in-place editing (so you can, e.g., update the comments 
without rewriting the whole file). Current tools use all-zero bytes for 
this padding, so they wouldn't have to change.