Re: [Cellar] AV1 mapping update

"Timothy B. Terriberry" <tterribe@xiph.org> Sun, 15 July 2018 01:19 UTC

Return-Path: <tterribe@xiph.org>
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 B0CC8130E6C for <cellar@ietfa.amsl.com>; Sat, 14 Jul 2018 18:19:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
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 Yybbu35ZZcQp for <cellar@ietfa.amsl.com>; Sat, 14 Jul 2018 18:19:17 -0700 (PDT)
Received: from smtp.mozilla.org (mx2.scl3.mozilla.com [63.245.214.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 10F6B1274D0 for <cellar@ietf.org>; Sat, 14 Jul 2018 18:19:17 -0700 (PDT)
Received: from localhost (localhost6.localdomain [127.0.0.1]) by mx2.mail.scl3.mozilla.com (Postfix) with ESMTP id C9180C0227 for <cellar@ietf.org>; Sun, 15 Jul 2018 01:19:16 +0000 (UTC)
X-Virus-Scanned: amavisd-new at mozilla.org
Received: from smtp.mozilla.org ([127.0.0.1]) by localhost (mx2.mail.scl3.mozilla.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KfpmwxEuSfHs for <cellar@ietf.org>; Sun, 15 Jul 2018 01:19:16 +0000 (UTC)
Received: from [192.168.0.104] (modemcable234.246-178-173.mc.videotron.ca [173.178.246.234]) (Authenticated sender: tterriberry@mozilla.com) by mx2.mail.scl3.mozilla.com (Postfix) with ESMTPSA id C3712C0226 for <cellar@ietf.org>; Sun, 15 Jul 2018 01:19:15 +0000 (UTC)
To: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
References: <CAOXsMFKHo6RS+q8KCXKoKCiBBS9pVqs92wsLgSfXZO+DT3dStQ@mail.gmail.com> <ca0f009e-a245-fcd6-95f8-f051736c9161@googlemail.com> <CAOXsMFL5-MaHQaAOyh7jSFUpCNbSEvAWKmAHcepaF+QsQuYbHw@mail.gmail.com> <fee747da-77ca-9282-a4c3-c112fd746507@googlemail.com> <CAOXsMFJtc9pq+PphRb5kF9Mp4jyS5j3LQi6vQQmHRyTDYWyQ-A@mail.gmail.com> <b8486fa4-132b-f814-7046-91efb0a48ec6@googlemail.com>
From: "Timothy B. Terriberry" <tterribe@xiph.org>
Message-ID: <10d56d2a-3053-6069-7805-54bb4fd1d4e0@xiph.org>
Date: Sat, 14 Jul 2018 18:19:11 -0700
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 SeaMonkey/2.49.7.0
MIME-Version: 1.0
In-Reply-To: <b8486fa4-132b-f814-7046-91efb0a48ec6@googlemail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/xUwuU_HYuDT9JPPX0oKy-YzY1SY>
Subject: Re: [Cellar] AV1 mapping update
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.27
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: Sun, 15 Jul 2018 01:19:19 -0000

Andreas Rheinhardt wrote:
> "The presentation times of AV1 samples are given by the Matroska
> container. The [timing_info_present_flag] in the `Sequence Header OBU`
> (in the `CodecPrivate` or in the bitstream) SHOULD be set to 0. If set

I'll ask the usual question: when is it reasonable to violate this SHOULD?

> width as [max_frame_width_minus_1]+1 (similar for height). But what I'd
> like to know is how much of AV1 will probably be excluded from Matroska
> by these requirements? Could we contact some of the codec designers and
> ask them about their opinions on this? (Honestly, "we" probably means

Hi, I am one of the codec designers. I think the expectation is that 
DisplayWidth and DisplayHeight will remain constant for a coded video 
sequence (and these should match [max_frame_width_minus_1] + 1 and 
[max_frame_height_minus_1] + 1). If the output dimensions of a frame 
change, it should be scaled to the display resolution before being 
displayed. Spatial scalability depends on this (at least if you ever 
intend to drop some of the layers, and if you don't then there is no 
point to using scalability). Even without spatial scalability, it is 
sometimes desirable to reduce the coded resolution to maintain quality 
while fitting within the instantaneous channel bandwidth. That mostly 
applies to live/low-latency streams, but I think an important use case 
for Matroska is to be able to capture such streams for long-term storage 
(for example, via WebRTC and the MediaStream Recording API in web browsers).

> [operating_parameters_info]. Furthermore the dimensions of all output
> frames MUST be equal."

As such, I disagree with this part (as an individual).

> "A SimpleBlock MUST be marked as a Keyframe only if the first Frame OBU
> in the Block has a [frame_type] of KEY_FRAME and the SimpleBlock
> contains a Sequence Header OBU or if the Sequence Header OBU is
> correctly omitted (see above)."

This is mathematically correct (assuming you really mean "only if" and 
not "if and only if), but I think it could be easily misread. Perhaps 
"MUST NOT... unless..."?

> Seeking to a non-RAP is undefined and not recommended.

RECOMMENDED is an RFC 2119 keyword (but "NOT RECOMMENDED" is not 
explicitly listed as one). You might want to rephrase to avoid confusion.