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

Ron <ron@debian.org> Mon, 08 September 2014 20:36 UTC

Return-Path: <ron@debian.org>
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 AFCF81A0372 for <codec@ietfa.amsl.com>; Mon, 8 Sep 2014 13:36:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.001
X-Spam-Level:
X-Spam-Status: No, score=-0.001 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, 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 w2pQVWND3awG for <codec@ietfa.amsl.com>; Mon, 8 Sep 2014 13:36:09 -0700 (PDT)
Received: from ipmail05.adl6.internode.on.net (ipmail05.adl6.internode.on.net [150.101.137.143]) by ietfa.amsl.com (Postfix) with ESMTP id 3C02B1A0354 for <codec@ietf.org>; Mon, 8 Sep 2014 13:36:09 -0700 (PDT)
Received: from ppp14-2-41-157.lns21.adl2.internode.on.net (HELO mailservice.shelbyville.oz) ([14.2.41.157]) by ipmail05.adl6.internode.on.net with ESMTP; 09 Sep 2014 06:06:08 +0930
Received: from localhost (localhost [127.0.0.1]) by mailservice.shelbyville.oz (Postfix) with ESMTP id 5418AFFE07 for <codec@ietf.org>; Tue, 9 Sep 2014 06:06:06 +0930 (CST)
X-Virus-Scanned: Debian amavisd-new at mailservice.shelbyville.oz
Received: from mailservice.shelbyville.oz ([127.0.0.1]) by localhost (mailservice.shelbyville.oz [127.0.0.1]) (amavisd-new, port 10024) with LMTP id vV4kjboLc6BR for <codec@ietf.org>; Tue, 9 Sep 2014 06:06:04 +0930 (CST)
Received: from hex.shelbyville.oz (hex.shelbyville.oz [192.168.1.6]) by mailservice.shelbyville.oz (Postfix) with ESMTPS id 89748FF88F for <codec@ietf.org>; Tue, 9 Sep 2014 06:06:04 +0930 (CST)
Received: by hex.shelbyville.oz (Postfix, from userid 1000) id 77BA680470; Tue, 9 Sep 2014 06:06:04 +0930 (CST)
Date: Tue, 09 Sep 2014 06:06:04 +0930
From: Ron <ron@debian.org>
To: codec@ietf.org
Message-ID: <20140908203604.GC32116@hex.shelbyville.oz>
References: <53FBC299.1070008@thaumas.net> <20140827153043.2ff5e031@crunchbang> <53FE0054.5080207@thaumas.net> <20140827212655.GW326@hex.shelbyville.oz> <20140907163126.GZ326@hex.shelbyville.oz> <20140907180607.290f13ba@crunchbang> <20140907203345.GA326@hex.shelbyville.oz> <20140908164602.2320a8c1@crunchbang> <20140908175741.GB32116@hex.shelbyville.oz> <20140908191932.14706180@crunchbang>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20140908191932.14706180@crunchbang>
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: http://mailarchive.ietf.org/arch/msg/codec/e1xBL4Q6Xr0WwLMrNLJ3s3-SQ4Y
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: Mon, 08 Sep 2014 20:36:11 -0000

On Mon, Sep 08, 2014 at 07:19:32PM +0100, Ian Nartowicz wrote:
> 
> I would be entirely happy if it was recommended that R128 gain values were
> stored in their tags and not normally in the output gain field, but I've felt
> resistance to that idea before.

The original push-back as I recall it was against the idea of needing
a separate R128_ALBUM_GAIN tag at all -- since the original thinking
was header gain could be used for that, if it wasn't already done
during the initial encode, so only a separate R128_TRACK_GAIN was
needed for "alternative normalisation".

But now that we've also added R128_ALBUM_GAIN, it would be silly not
to recommend using it in the way that the people who wanted it, wanted
to be able to use it.

I think any remaining language that indicates otherwise is mostly an
oversight, partly because the people who proposed the changes to the
text weren't the people who pushed to have this added, and partly
because it was done by making minimal changes to the existing text.

"We knew what we meant", but if it doesn't actually say that to others,
then yes we ought to fix that.  This is the problem with being too
close to your own writing :/


> The spec itself advised the opposite and explained the reason:
> everyone will apply the output gain, not everyone will apply the
> tag gain.

Right, but that's only a reason to do it that way if it's important
to you that *everyone* always applies the gain you set.  Which is an
important use case, but not the one you've been concerned about.

In the case where the gain you are indicating really is advisory,
as you've said you really want the R128 normalisation to be (and
which it makes sense to me that in many cases they should be),
then it's absolutely appropriate to only use the tags for that.

The spec doesn't currently say you *can't* do that, or even that
you SHOULD NOT do it, but I agree the example given might mislead
some people into doing that when it's probably not what they really
wanted, or what's best for the case you describe.


> Do we agree about this?  Might be best to wait for some other comments.

I think Ralph now also sees this in a similar way, and I think I
can fairly safely say without fear of contradiction that it was
never intended for R128 normalisation to be mandatory.

It just took us a while to convert the Solution you were proposing
into an actual Problem we could wrap our heads around, since we
were reading the text as already allowing you to do this, and blind
to the example's urging that maybe you shouldn't - so we couldn't
see what your objection to the header gain MUST really was.

I think mostly now someone just needs to proofread the troublesome
bits again, and propose some text that more plainly says what we
mean, what is required and why, and gives some better guidance as
to what Best Practice for optional normalisation tags should be.

When we can agree on that, we'll know we're really all on the same
page about all of this :)

  Thanks!
  Ron