Re: [codec] draft-ietf-codec-oggopus-01
Ralph Giles <giles@thaumas.net> Tue, 04 June 2013 22:27 UTC
Return-Path: <giles@thaumas.net>
X-Original-To: codec@ietfa.amsl.com
Delivered-To: codec@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FA1621F99DE for <codec@ietfa.amsl.com>; Tue, 4 Jun 2013 15:27:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CLhOsZuJSJdC for <codec@ietfa.amsl.com>; Tue, 4 Jun 2013 15:27:46 -0700 (PDT)
Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by ietfa.amsl.com (Postfix) with ESMTP id ADB2E21F99EC for <codec@ietf.org>; Tue, 4 Jun 2013 15:27:19 -0700 (PDT)
Received: by mail-pd0-f178.google.com with SMTP id w16so877795pde.37 for <codec@ietf.org>; Tue, 04 Jun 2013 15:27:19 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding :x-gm-message-state; bh=wKGGnKJvmA4PXyxcBjX0uTSG/Zo3SLHkWbLXU79AgIY=; b=YBi6qMAVZdlQbK9ABNc/119gr1LBZwSvkKo5ipQm7rfpmAKVQ6jnYMKxH3oBL0N/4k au3xPhuHEchlsNHTs1Z9CpCxmMfAX3FZ9ysWpqKmECY9klW6OQUbaoxRVSicwXkmrQ0D yf8mCgsSam7KwWBaMnRwHv+E0ZBgRcyoOfxSAxUFbONWgckpNeLMScZzTaUVDaQK45gg z5vlh1bjXCV5IARnzSiFjUzKkmnKjpre1WFE9r88PywrvqSysNLQY9stno9DODxnRObH XaZogQ/qnrO+ahfxk9gdhzuQr0KxCArDZ9EHKcYObCh8g6MrDnwqA3+dII2UsNTqrM7m vkJA==
X-Received: by 10.66.219.102 with SMTP id pn6mr2485158pac.123.1370384839720; Tue, 04 Jun 2013 15:27:19 -0700 (PDT)
Received: from Glaucomys.local ([64.213.70.194]) by mx.google.com with ESMTPSA id cr3sm8490287pac.0.2013.06.04.15.27.17 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Jun 2013 15:27:18 -0700 (PDT)
Message-ID: <51AE69C3.7050703@thaumas.net>
Date: Tue, 04 Jun 2013 15:27:15 -0700
From: Ralph Giles <giles@thaumas.net>
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-Version: 1.0
To: Calvin Walton <calvin.walton@kepstin.ca>
References: <519F8A40.3080105@mozilla.com> <519F8B18.9020101@thaumas.net> <1370372214.2931.20.camel@hp-a6734f>
In-Reply-To: <1370372214.2931.20.camel@hp-a6734f>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Gm-Message-State: ALoCoQkmrbAklcFvRiAHctHcw7gHuhlmUAt21tmgkZAeR5uGX5AYBYknMXdgNHmSe3ccR+zGBVNC
Cc: "codec@ietf.org" <codec@ietf.org>
Subject: Re: [codec] draft-ietf-codec-oggopus-01
X-BeenThere: codec@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 04 Jun 2013 22:28:08 -0000
On 13-06-04 11:56 AM, Calvin Walton wrote: > Unfortunately, existing players (some versions of foobar2000, although I > haven't tested the latest) have taken the wording of this section to > mean that the value in the ID header field can be interpreted as per the > EBU-R128 specification, and be used for volume normalization relative to > the R128 reference level. I can see how the spec could be read that way. The output gain from the ID header is combined with, and described as shifting values between, the R128_TRACK_GAIN tag. > This means that if I e.g. put a value such that a track will be the same > volume level as my (89 dB SPL-reference) ReplayGained vorbis files, then > foobar2000 will reinterpret it, and play the file at a different volume > than I desired! (Roughly ~3dB offset.) What do you mean by 'the same volume level' here? Surely if both files are have gains recorded relative to their respective normalization algorithms, they should play with the same level? > Other players (e.g. rockbox and gstreamer-based players) will use the ID > header value as-is, and apply no other correction. And instead, players which don't do any special replaygain handling are should play the files at different levels. I.e. the point of the R128_TRACK_GAIN tag was to encourage players to move to R128; foobar has done so, and the other players you mention have not. > At this point, I'm not sure what my recommendation would be, but I hope > the wording in this section can be clarified somewhat to indicate that > the player cannot assume that the value in the ID header gain field > cannot be interpreted as having any particular semantic meaning - and > should be simply applied as-is. I agree these sections are very confusing, and would like to clear it up. I don't think what you say is true here, because of the way the spec conflates album gain and the output gain header. The spec suggests scaling the audio before encoding, so no gain is necessary. If that's not feasible (e.g. you want to maintain the original amplitude for later burning to CD, or someone else encoded the file wrong) you can fix the overall playback level with the output gain field in the ID header. This adjustment is always applied and should therefore be relative to some fixed reference. If you further want to adjust the playback gain relative to that level, use the R128_TRACK_GAIN comment. This is why the spec says to merge 'album' gain into the output gain field: album-wide normalization is likely to set to overall signal level relative to a fixed reference, so it's very similar to fixing the same problem the gain header addresses. So, how can we make that intention more clear? -r
- [codec] draft-ietf-codec-oggopus-01 Ralph Giles
- Re: [codec] draft-ietf-codec-oggopus-01 Timothy B. Terriberry
- Re: [codec] draft-ietf-codec-oggopus-01 Calvin Walton
- Re: [codec] draft-ietf-codec-oggopus-01 Ralph Giles