Re: [Cellar] AV1 seeking

"Timothy B. Terriberry" <tterribe@xiph.org> Sat, 14 July 2018 20:31 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 8ABEC130DC5 for <cellar@ietfa.amsl.com>; Sat, 14 Jul 2018 13:31:15 -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 Vr7rwwvV2wTx for <cellar@ietfa.amsl.com>; Sat, 14 Jul 2018 13:31:14 -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 1983612F1A5 for <cellar@ietf.org>; Sat, 14 Jul 2018 13:31:13 -0700 (PDT)
Received: from localhost (localhost6.localdomain [127.0.0.1]) by mx2.mail.scl3.mozilla.com (Postfix) with ESMTP id AB578C0B13; Sat, 14 Jul 2018 20:31:13 +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 6nfIHtijuYbe; Sat, 14 Jul 2018 20:31:13 +0000 (UTC)
Received: from [31.133.140.210] (dhcp-8cd2.meeting.ietf.org [31.133.140.210]) (Authenticated sender: tterriberry@mozilla.com) by mx2.mail.scl3.mozilla.com (Postfix) with ESMTPSA id 15248C04F3; Sat, 14 Jul 2018 20:31:13 +0000 (UTC)
To: Steve Lhomme <slhomme@matroska.org>, Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
References: <CAOXsMFKTNCxYcviYS0h_VYjegV3RZFvZ7AV7GhdCq=oeGmgMuQ@mail.gmail.com>
From: "Timothy B. Terriberry" <tterribe@xiph.org>
Message-ID: <71376bcb-ec70-4239-f2e5-e4202d660545@xiph.org>
Date: Sat, 14 Jul 2018 13:31: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: <CAOXsMFKTNCxYcviYS0h_VYjegV3RZFvZ7AV7GhdCq=oeGmgMuQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/Yff_mtL8MAM6pi0xjq6dbDx1K-0>
Subject: Re: [Cellar] AV1 seeking
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: Sat, 14 Jul 2018 20:31:16 -0000

Steve Lhomme wrote:
> In MP4 they have [initial_presentation_delay_minus_one] in the
> CodecPrivate. I did not understand it so far because it's not found in
> the AV1 spec. But it seems to guarantee that to read frame 'f' you
> need to decode X frame before that one. In our case that would be 5 to
> have at least a decoded.

You want to search for InitialPresentationDelay in the AV1 
specification. It is derived from the decoder model info if it is 
available (see decode_process()).