Re: [Cellar] Last call on FLAC specification

Martin Leese <martin.leese@stanfordalumni.org> Fri, 30 September 2022 16:24 UTC

Return-Path: <mjleese@gmail.com>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 831ABC1522CF for <cellar@ietfa.amsl.com>; Fri, 30 Sep 2022 09:24:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.508
X-Spam-Level:
X-Spam-Status: No, score=-6.508 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com header.b=UJilcdIM; dkim=pass (2048-bit key) header.d=stanfordalumni-org.20210112.gappssmtp.com header.b=FcpASYWc
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id wEZR3TeM72IC for <cellar@ietfa.amsl.com>; Fri, 30 Sep 2022 09:24:42 -0700 (PDT)
Received: from mail-oa1-x35.google.com (mail-oa1-x35.google.com [IPv6:2001:4860:4864:20::35]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 28121C1522A7 for <cellar@ietf.org>; Fri, 30 Sep 2022 09:24:42 -0700 (PDT)
Received: by mail-oa1-x35.google.com with SMTP id 586e51a60fabf-131dda37dddso5045908fac.0 for <cellar@ietf.org>; Fri, 30 Sep 2022 09:24:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :references:in-reply-to:sender:mime-version:from:to:cc:subject:date; bh=Cgjc4m9ipGsrQoyR0DJTUjWj46khDUook3e3LiOc0BE=; b=UJilcdIMhu+CIiHYRx8VOaiujTRXeIIy6qYASCdfAhwU7WEOpbCG/Q/zQYvPHigP89 fnvrPdwfRXXmFJ7xoM1tS3OP1XQFrSPyKBkTf1q91/w8vFqufkfEqxXC8YKZ3au0YH1k EjyX5UJxdbZ8kACwaXY++0/6Zrt2hNQO8jWAOkeSIsCW7mC5n7pJNxQtMIewlj5907Ij m8ATZLtrAgZwVhR01ihkzsNkOeDcHAdlaRHT1tBYbE7K1rau+TmnFZWqeDvMaSbnM3jX YwTMLAHNyONck2EwNFO8lvvZS69Joi4iw0E+39c6NXSpaNCJuZm1jv/zZVYRIRX+9AXE EDsw==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=stanfordalumni-org.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :references:in-reply-to:sender:mime-version:from:to:cc:subject:date; bh=Cgjc4m9ipGsrQoyR0DJTUjWj46khDUook3e3LiOc0BE=; b=FcpASYWcZshw+u/7b5QbTtsSeY8ckMxleH+8HnnZZMJbjrCBF2RtVJuVColGejv4M/ KkfLOd910tR1Mkz1qZEjEMcPigy7EKDU2LCyc/WtDgt+zIRvAFzEoM4lEPEQXyfzqF7i +4guKietKs+Ttq45mx++rJzfKmvwSohJ2fT0+9ypdZ/UqD3AcoUsRDrew50w6j4r1kco b8kLRcdDmrydXRrl0ar4UiMhoKQqW0qy6Z/XDdLHNlLVPzuQ2s46wA2NCY5IU7yxcBo+ LjxaaSbTBurp3iogbeuuoI+/KmkCBeHsUcHCqsWMYla/AEHI+oXt7M38xD8w+Z487DKI M8Aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:to:subject:message-id:date:from :references:in-reply-to:sender:mime-version:x-gm-message-state:from :to:cc:subject:date; bh=Cgjc4m9ipGsrQoyR0DJTUjWj46khDUook3e3LiOc0BE=; b=m6CCCdti5j/5aKbc5RYLK1HX7v9Gxi4Vm7ycN//clGYZ9xNl9tYNKb2KHGdwe3KxqA 6xNXW2MlFddRvDYfee/Z3iGNFmBs05eCaJ8qo2PHMjjgGAF4MTr3yZ7GsUGCNq92/Api P62tI/bheOG0jlUOifV2qy0PhCUnZKY0nL/H2F+KBDUePzqCnLBPNOpgcx8v6l+r1dv7 yoWVfbpZ/aJNgaUEl+tYoXOnrngpWNQH+ZVdPXNIrc6siEgVAfAIHa+qy2W4I39AksnB 0EYU0pPOwIrqDIw6dHitrfA/C9q79fe3Fo5zPK6nIqwpdj3oY5XWH0rAchT2nlAoAnQt gudQ==
X-Gm-Message-State: ACrzQf2QI+K2nJHIc5C/ScTVDBpGPvGUYh/9GL/JCSRGZ4iQoVEQZp6D g9m1Pq8qvmwiCU4bWrFwMRcwxd7u8kijA6WfwKWrnqsm
X-Google-Smtp-Source: AMsMyM7Fim7DYBAj3n0sB+1XIRlNoGlYGn3vuf3QIQerUHET2iEcCM+awWd/nWOZI0RsJC1uCWdeMErqygsRruh/F9k=
X-Received: by 2002:a05:6870:33a9:b0:118:8dc6:300b with SMTP id w41-20020a05687033a900b001188dc6300bmr5353987oae.60.1664555081139; Fri, 30 Sep 2022 09:24:41 -0700 (PDT)
MIME-Version: 1.0
Sender: mjleese@gmail.com
Received: by 2002:a05:6830:2b07:0:0:0:0 with HTTP; Fri, 30 Sep 2022 09:24:40 -0700 (PDT)
In-Reply-To: <CADQbU6-gJUztkL6=mcsVLFn1e-FXZOOxt8=yY_Q6Y5uy56hS_w@mail.gmail.com>
References: <CAAzqGd_Acroiu0ngUhvPTJHno=-vyccs-i9WYPLzeQ+Eba843g@mail.gmail.com> <CADQbU6-88CreFOy3LpzuXSz4yY75omx+8-m5u_Guf79Y7L9VaQ@mail.gmail.com> <CAAzqGd_j7u+=XRRS-iYHBgCyWKBWn9jtzBet88Ucd2yOWYmo2w@mail.gmail.com> <CADQbU6-gJUztkL6=mcsVLFn1e-FXZOOxt8=yY_Q6Y5uy56hS_w@mail.gmail.com>
From: Martin Leese <martin.leese@stanfordalumni.org>
Date: Fri, 30 Sep 2022 10:24:40 -0600
X-Google-Sender-Auth: gReenj4VdC87CRnnsa_BRoAKj0g
Message-ID: <CAAzqGd8wLMnDMCzVsJm8dq1h5grWs8iiwqe66ygMUu2X-HCK6A@mail.gmail.com>
To: cellar@ietf.org
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/0hUusaeUtROMnhQkeIFOEalN06E>
Subject: Re: [Cellar] Last call on FLAC specification
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Codec Encoding for LossLess Archiving and Realtime transmission <cellar.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/cellar>, <mailto:cellar-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cellar/>
List-Post: <mailto:cellar@ietf.org>
List-Help: <mailto:cellar-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/cellar>, <mailto:cellar-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 30 Sep 2022 16:24:46 -0000

On 9/30/22, Martijn van Beurden <mvanb1@gmail.com> wrote:

> The RF64 specification actually defines a lot more channel mask bits than
> just SPEAKER_ALL. It does also define downmixes, control samples and
> bitstreams.

I am confused.  (This is not unusual.)  I am
looking in Recommendation ITU-R BS.2088-1
(10/2019), and don't see any mention of
either SPEAKER_ALL or downmixes.

> The document says: Another “#define”, “SPEAKER_ALL” turns on
> all
> loudspeakers (channels). In other words, a channel that must be played on
> all speakers.

Then I agree SPEAKER_ALL would be a poor
addition.

> I agree with adding 0x0, but I'm not sure these RF64 defines would be a
> good addition. I'd rather stick to what is defined in WAVEFORMATEXTENSIBLE.
>
> Furthermore, the Microsoft specification allows for a channel mask having
> more bits set than channels (MSBs must be ignored) and less bits than
> channels (in which case last channel(s) are to be treated like they do not
> belong to a speaker and ignored). I don't like the idea of allowing an
> overdefined channel mask, and I'm also not sure whether it is a good idea
> to encourage playback applications to just ignore certain channels.
>
> Any thoughts?

There are situations where encouraging
playback applications to just ignore certain
channels is appropriate.  An example is three-
and four-channel Ambisonic UHJ files where
the first two channels are stereo compatible.
(The extra channels allow decoding to
surround.)  Replay in stereo needs to ignore
channels 3 and 4.  However, I believe this is
better handled by specifying a downmix
including channel weights of 0.0.

Specifying a downmix could be handled in a
structured VorbisComment or a FLAC
METADATA_BLOCK_APPLICATION, so maybe
it doen't need to be in the FLAC spec.  But it
should be somewhere.

Here is my 2011 proposal for a downmix chunk
in WAVE-EX files:
https://members.tripod.com/martin_leese/Audio/stereo_mix_proposal.html
https://members.tripod.com/martin_leese/Audio/StereoMix_chunk.html

Regards,
Martin
-- 
Martin J Leese
E-mail: martin.leese  stanfordalumni.org
Web: http://members.tripod.com/martin_leese/