Re: [codec] draft-ietf-codec-oggopus and "album" gain

Ian Nartowicz <flac@nartowicz.co.uk> Wed, 13 August 2014 21:22 UTC

Return-Path: <flac@nartowicz.co.uk>
X-Original-To: codec@ietfa.amsl.com
Delivered-To: codec@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8A61A1A0058 for <codec@ietfa.amsl.com>; Wed, 13 Aug 2014 14:22:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.8
X-Spam-Level:
X-Spam-Status: No, score=0.8 tagged_above=-999 required=5 tests=[BAYES_50=0.8, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id IwuZcYC1bOS8 for <codec@ietfa.amsl.com>; Wed, 13 Aug 2014 14:22:05 -0700 (PDT)
Received: from know-smtprelay-omc-5.server.virginmedia.net (know-smtprelay-omc-5.server.virginmedia.net [80.0.253.69]) by ietfa.amsl.com (Postfix) with ESMTP id D91721A0049 for <codec@ietf.org>; Wed, 13 Aug 2014 14:22:04 -0700 (PDT)
Received: from crunchbang ([81.103.170.84]) by know-smtprelay-5-imp with bizsmtp id eMN21o02u1pcAUZ01MN2Ed; Wed, 13 Aug 2014 22:22:03 +0100
X-Originating-IP: [81.103.170.84]
X-Spam: 0
X-Authority: v=2.1 cv=JIm1sq6b c=1 sm=1 tr=0 a=bYNBYWS+Sj0o/bRbN9Xjqw==:117 a=bYNBYWS+Sj0o/bRbN9Xjqw==:17 a=KEKbkQfv9EEA:10 a=ud0LK1MCnV8A:10 a=RoPK8JaNmp0A:10 a=kj9zAlcOel0A:10 a=hU221NPEAAAA:8 a=oJQSLd2CPyHzMiiBLcMA:9 a=ud5QLtxWJEuS_oWs:21 a=NzeGKWN5YTOL0YCe:21 a=CjuIK1q_8ugA:10
Date: Wed, 13 Aug 2014 22:22:01 +0100
From: Ian Nartowicz <flac@nartowicz.co.uk>
To: codec@ietf.org
Message-ID: <20140813222201.54fe7910@crunchbang>
X-Mailer: Claws Mail 3.10.1 (GTK+ 2.24.10; i486-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: 7bit
Archived-At: http://mailarchive.ietf.org/arch/msg/codec/5uXLtxKjqnOUqo_6jZRznD2o4wg
X-Mailman-Approved-At: Thu, 14 Aug 2014 09:56:10 -0700
Subject: Re: [codec] draft-ietf-codec-oggopus and "album" gain
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Codec WG <codec.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/codec>, <mailto:codec-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/codec/>
List-Post: <mailto:codec@ietf.org>
List-Help: <mailto:codec-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/codec>, <mailto:codec-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Aug 2014 21:24:47 -0000

After much discussion on IRC, we've come up with some further clarifications to
the use of the output gain field and R128 tags.

In section 5.1:
        Virtually all players and media frameworks should apply it by
-       default.  If a player chooses to apply any volume adjustment or
-       gain modification, such as the R128_TRACK_GAIN, R128_ALBUM_GAIN
-       (see Section 5.2) or a user-facing volume knob, the adjustment
-       MUST be applied in addition to this output gain in order to
-       achieve playback at the desired volume.
+       default.  If a player chooses to apply any gain modification,
+       such as the R128_TRACK_GAIN or R128_ALBUM_GAIN (see Section 5.2),
+       the adjustment MUST be applied in addition to this output
+       gain in order to achieve playback at the normalised volume.


In section 5.2.1:
-   If an encoder wishes to use R128 normalization, and the output gain
-   is not otherwise constrained or specified, the encoder SHOULD write
-   the R128 gain into the 'output gain' field and store a tag containing
-   "R128_TRACK_GAIN=0".  That is, it should assume that by default tools
+   The encoder should assume that by default tools
    will respect the 'output gain' field, and not the comment tag.  If a
    tool modifies the ID header's 'output gain' field, it MUST also
    update or remove the R128_TRACK_GAIN and R128_ALBUM_GAIN comment tags

--ian