Re: [Cellar] On the multiplicity of Info elements

Moritz Bunkus <moritz@bunkus.org> Wed, 30 December 2015 09:19 UTC

Return-Path: <moritz@bunkus.org>
X-Original-To: cellar@ietfa.amsl.com
Delivered-To: cellar@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C3BD1A1B71 for <cellar@ietfa.amsl.com>; Wed, 30 Dec 2015 01:19:38 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.113
X-Spam-Level:
X-Spam-Status: No, score=-0.113 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] 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 bgzUrfx3JU5O for <cellar@ietfa.amsl.com>; Wed, 30 Dec 2015 01:19:37 -0800 (PST)
Received: from liselle.bunkus.org (liselle.bunkus.org [176.9.119.9]) (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 3A5241A1B69 for <cellar@ietf.org>; Wed, 30 Dec 2015 01:19:37 -0800 (PST)
Received: from sweet-chili.local (unknown [10.55.4.6]) by liselle.bunkus.org (Postfix) with ESMTPS id 5663F4ECE28 for <cellar@ietf.org>; Wed, 30 Dec 2015 10:19:33 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bunkus.org; s=mail2015100101; t=1451467173; bh=tGjit2LlsCl6EFTHodA4g3fVCVbqTA0yVh9k/6hr0Ek=; h=Date:From:To:Subject:References:In-Reply-To; b=DawGC7dwx79guAV4YfCqk5aBb8vQGCeyqEUrQzIDrn9n8O59LJppvW3qs3rPJxEhF Cs2vOmfK7sxpDb/c/ThJdC/oibs+gwz7M6j8LAboDAoUbs5cqV5k8N/gbCO7Bi5wFa udoCB6ibvFGW78nL0XiZ9TOwt+BKLwllyx2NQ2WOjtE8lCYi/btyBwPZO5rWs9ybSK XXSiuktavnUKFuEiprWbMSZGj1NV36wWexDToEHr3QS3kveVGTMw0+xnIMzaOFi41c MIvXbwzb1HwKTpTeMdX3dyZp0vx/Zgma3eA+rO0lUqH7t8G6cb8/aryRCRfCp4SBCA jDDRunqiB//nmD6LML5W0RtQ7MDjffcqMxTKXx7op73ZDGsXg6hx/zxbC3j/LP99OA CPGP5su8P2nN1OZjYBAZTpqgQipo8xRm4WvC6BjsKwSY7eGRACWJh9LG4TxMo6mC+o HnBvh/ORuAzGsJ92KcgUW3EAvpG1zFOwURpXtPljkagthlNV/f0doarSWTZN2YgFK8 fxGIgR9k5ZoyqxmVCjU5DAD9qCPS6yn+WOPT3wAvwCmlXcVvzjoE5wQHyNgP5k2j13 yqTj4VREUGF0zugyIR9hMZGnM2kLcQhwaHPCJQQcEls6u0HW5/wp1JmHPis6qB0ubb hjUU/zq5+Jq81Z4wvyWKoHpA=
Received: by sweet-chili.local (Postfix, from userid 1000) id 40520555F90; Wed, 30 Dec 2015 10:18:12 +0100 (CET)
Date: Wed, 30 Dec 2015 10:18:12 +0100
From: Moritz Bunkus <moritz@bunkus.org>
To: cellar@ietf.org
Message-ID: <20151230091811.GA19636@bunkus.org>
References: <CAHUoETLC4dQQ7=TOuTXZ3aDjKCCJgz2s-8Gb33MoSAP3hgRQiQ@mail.gmail.com> <BEA72D66-EA3D-4CF0-987D-836E95287F39@dericed.com>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="qMm9M+Fa2AknHoGS"
Content-Disposition: inline
In-Reply-To: <BEA72D66-EA3D-4CF0-987D-836E95287F39@dericed.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Virus-Scanned: clamav-milter 0.98.7 at liselle
X-Virus-Status: Clean
Archived-At: <http://mailarchive.ietf.org/arch/msg/cellar/bG5yUNe-6xixBxUIfgyXqoe-Fqk>
Subject: Re: [Cellar] On the multiplicity of Info elements
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.15
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: Wed, 30 Dec 2015 09:19:38 -0000

Hey,

I only remember the discussion around Tracks being multiple, not
particularly for the other ones. Our intent way back when was to allow
muxers to write multiple instances of _the same information_ in
different places in order to make the file more resilient against
damage or incomplete downloads with protocols like BitTorrent.

The same reasoning could be applied to Info. Both elements are
absolutely crucial to playback; the other level 1 elements safe for the
clusters simply aren't.

> SeekHead, Info, Cluster, Tracks, and Tags are multiple.

SeekHead and Cluster must be multiple. SeekHead in order to allow moving
a SeekHead to the end of the file while still referencing it from the
start (so that normal players will still find it quickly). Cluster for
obvious reasons.

> And Cues, Attachments, and Chapters are non-multiple.

I have no idea why Tags is multiple and these three aren't.

To me the following would make sense:

- Info, Tracks – multiple but only if each instance contains the same
  information

- SeekHead, Cluster – multiple without restrictions

- Attachments, Chapters, Cues, Tags – single

Kind regards,
mosu