Re: [Cellar] Adding private elements to Matroska

Moritz Bunkus <moritz@bunkus.org> Fri, 13 April 2018 19:56 UTC

Return-Path: <moritz@bunkus.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 C6A51128896 for <cellar@ietfa.amsl.com>; Fri, 13 Apr 2018 12:56:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.001
X-Spam-Level:
X-Spam-Status: No, score=-2.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (4096-bit key) header.d=bunkus.org
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 ty3w3NV58Yix for <cellar@ietfa.amsl.com>; Fri, 13 Apr 2018 12:56:32 -0700 (PDT)
Received: from adara.bunkus.org (adara.bunkus.org [144.76.6.84]) (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 F378C1289B0 for <cellar@ietf.org>; Fri, 13 Apr 2018 12:56:31 -0700 (PDT)
Received: from liselle.bunkus.org ([2a01:4f8:190:8147::105:1]:32946) by adara.bunkus.org with esmtps (TLSv1.2:DHE-RSA-AES256-GCM-SHA384:256) (Exim 4.82_1-5b7a7c0-XX) (envelope-from <moritz@bunkus.org>) id 1f74o5-0007rg-02 for cellar@ietf.org; Fri, 13 Apr 2018 21:56:25 +0200
Received: from sweet-chili.local (unknown [192.168.191.4]) by liselle.bunkus.org (Postfix) with ESMTPS id C96896542244 for <cellar@ietf.org>; Fri, 13 Apr 2018 21:56:24 +0200 (CEST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=bunkus.org; s=mail2017070101; t=1523649384; bh=uv+6j6Gjmd+YBQrV+IYED30qVlieEXc6FudXuN83j3Q=; h=References:From:To:Cc:Subject:In-reply-to:Date:From; b=fazziwGZGDkNFsCE1VwXkWbNbd+XYk/aPu6TI4uaQesFRDnaDnG91uAwS3T/mWk+1 2zFMJvaP6kfkWLmv1R+vC6lutBI+nj2tMXxWvmBVqZosEImRFTs95Kgf1EVEDEtiv5 GF/kVKjYMkoOBqUtk9Sq8R6OSbN8U/ar+pUt7r/DyjG6YVRpI6UEFVnYW1Y1IuyKeo WQUTkbpBFeYNlGp8m5fwljpVM2B/Hl4X4HUzbTtodngNbL8Gc82CLHT37o7zYcHm0m I2u4drJENrpBuBdzK0JGjUIQU763VIdZUp7JtYFXMmscQ/a4DtAqUJrofeZLD69BYl ZmNSLb3KLmatJBni6M2F4R/2MOE7o+T7NpSKmMcEB8F4bGTKxed6DKk4ndDJu6+riB cVdUNg6SFMkudCq45cwOogPxxk+SxYXdHtbWuvRdeXx8YM7VYo6GJ1znMH386XcvM0 ykC56KySzYIcLC38p0B7RHwb/gnC5bYEoRxQA42Kr+Lte5b188oSmveZyrvLFiQfuY DBXaWLgq8inR5pTSijowE7LppYSchZhIfbMIypci4lXJaIK/KOXVB4P3hwaLAR4ZgC 6SpBsJkDbsc62HH5WUMB/8Ax1vyhFsVwUUQXfdv/8pjicqpkoC0TwMEXjtz1lBh9nZ DyTIWwYwr663Ddx4g1Gxg7cs=
Received: from sweet-chili (localhost [IPv6:::1]) by sweet-chili.local (Postfix) with ESMTP id 1CCF03554A8B for <cellar@ietf.org>; Fri, 13 Apr 2018 21:56:24 +0200 (CEST)
References: <e9160711-ca2c-b690-f720-e7e3da42b1f5@mediaarea.net> <3318390e-0647-289d-d52b-e2c9678b24f7@gmx.ch> <CAHUoETKjOn2N1xRHPumGjp2DWNsi0RukcbERkdQ4B3Q1G9v74A@mail.gmail.com>
User-agent: mu4e 1.0; emacs 25.3.1
From: Moritz Bunkus <moritz@bunkus.org>
To: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
Cc:
In-reply-to: <CAHUoETKjOn2N1xRHPumGjp2DWNsi0RukcbERkdQ4B3Q1G9v74A@mail.gmail.com>
Date: Fri, 13 Apr 2018 21:56:24 +0200
Message-ID: <87vacu2847.fsf@bunkus.org>
MIME-Version: 1.0
Content-Type: text/plain
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/cOE5b09rLe8B8W3gyMDI4Z26_fk>
Subject: Re: [Cellar] Adding private elements to Matroska
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.22
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, 13 Apr 2018 19:56:34 -0000

Hey,

> In general, I'm opposed to private elements in Matroska. If, for some
> reason, attachments and tags aren't feasible, I could concede to adding a
> new global master element that is comprised of two child binary elements:
> one acting as an identifier, and one acting as a payload. That way any
> arbitrary private info could be identified stored anywhere in the
> file. But I'd prefer to avoid that, if possible.

That would be the equivalent of a tagging system with arbitrary key/value
pairs, albeit without the existing targeting facilities (the
\Segment\Tags\Tag\Targets element). I don't like that approach much,
e.g. because it would mean duplication of data if the same private data
should be applied to multiple tracks.

Additionally the scope of such elements wouldn't be entirely clear: would
there be a difference between that element being a direct child of a
\Segement\Tracks\TrackEntry and being a child of
e.g. \Segment\Tracks\TrackEntry\Audio?

I'd rather see the use of the existing attachments & tags systems for this.

Kind regards,
mosu