Re: [Cellar] TrackTypes for non-standard data formats

Dave Rice <dave@dericed.com> Sat, 29 April 2017 00:39 UTC

Return-Path: <dave@dericed.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 AC3BA126D05 for <cellar@ietfa.amsl.com>; Fri, 28 Apr 2017 17:39:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.119
X-Spam-Level:
X-Spam-Status: No, score=-1.119 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, SPF_NEUTRAL=0.779, URIBL_BLOCKED=0.001] autolearn=no 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 6m6v4Rn6etkl for <cellar@ietfa.amsl.com>; Fri, 28 Apr 2017 17:39:46 -0700 (PDT)
Received: from s172.web-hosting.com (s172.web-hosting.com [68.65.122.110]) (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 C609112956B for <cellar@ietf.org>; Fri, 28 Apr 2017 17:37:36 -0700 (PDT)
Received: from [172.56.2.170] (port=41821 helo=[172.20.10.2]) by server172.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from <dave@dericed.com>) id 1d4GOB-000bIC-5C; Fri, 28 Apr 2017 20:37:36 -0400
From: Dave Rice <dave@dericed.com>
Message-Id: <52163786-3428-4524-A772-0C5E121D991A@dericed.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_C5F9A4E9-0685-4D15-AC89-A5B5ADF953E6"
Mime-Version: 1.0 (Mac OS X Mail 10.0 \(3226\))
Date: Fri, 28 Apr 2017 20:37:27 -0400
In-Reply-To: <CAJKCwWhb7fUcKfoSLUnd8SMH=XyOEazoxObHWTSa0O9rMFxpOg@mail.gmail.com>
Cc: Steve Lhomme <slhomme@matroska.org>, Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
To: Matt Gruenke <matt.gruenke@gmail.com>
References: <CAJKCwWir0qPzJUKveNYw-v1DTvaMEQVKVvNKoHBnjZSJm7ck=A@mail.gmail.com> <90625ABD-48AE-41CC-AFE1-24BD57A62415@dericed.com> <CAJKCwWj0L3sn8iQ+w1QNNcVJPrknNcj4EQp2fafAwYf1T1-ycQ@mail.gmail.com> <CAOXsMFJ9fz_xomFDTPhEhJHjSXwdD45NWqvUGwqK++8r-afi-Q@mail.gmail.com> <CAJKCwWibuaXFQk2NWE=hW+wYZb8KHOLtBsY8OyNDKhV7-R4nyg@mail.gmail.com> <CAOXsMF+E=E0iCqxJt8fQT1HvM85gUjHGA7Hh4ZPUX3f23UxxwQ@mail.gmail.com> <CAJKCwWhb7fUcKfoSLUnd8SMH=XyOEazoxObHWTSa0O9rMFxpOg@mail.gmail.com>
X-Mailer: Apple Mail (2.3226)
X-OutGoing-Spam-Status: No, score=-2.9
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server172.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - dericed.com
X-Get-Message-Sender-Via: server172.web-hosting.com: authenticated_id: dave@dericed.com
X-Authenticated-Sender: server172.web-hosting.com: dave@dericed.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/h-Os9ep6T9H0oETB5GAExuIgilw>
Subject: Re: [Cellar] TrackTypes for non-standard data formats
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: Sat, 29 Apr 2017 00:39:49 -0000

> On Apr 27, 2017, at 10:53 PM, Matt Gruenke <matt.gruenke@gmail.com> wrote:
> 
> On Wed, Apr 26, 2017 at 4:47 AM, Steve Lhomme <slhomme@matroska.org <mailto:slhomme@matroska.org>> wrote:
> 2017-02-27 3:21 GMT+01:00 Matt Gruenke <matt.gruenke@gmail.com <mailto:matt.gruenke@gmail.com>>:
>  
> > In all of the examples I mentioned, I can foresee cases where these would
> > need to be time-stamped frames that might have a different sampling rate
> > than the video or audio streams, if present.  In fact, this is the case for
> > one camera I've used, where the depth sensor operates at a different rate
> > than the primary image sensor.
> 
> There is no 'sampling rate' in Matroska. Only the timestamp of a Block
> matters. So audio/video/other don't need to share anything in that
> regard.
> 
> What I meant by 'sampling rate' wasn't that there would be some exact frame rate.  I simply meant that there might not be a 1-to-1 relationship between frames of different types.  Again, to use the example of a certain camera with a depth sensor, it can capture RGB frames at a different rate than depth frames.
> 
> I mention this simply to point out that the depth frames seem like they belong in their own track.

I regards to this discussion, I ended up reviewing https://tools.ietf.org/html/rfc6648 <https://tools.ietf.org/html/rfc6648> which covers the deprecation of the "X-" prefix as a method to distinguish standardized and unstandardized descriptions. In particular I think the recommendations here https://tools.ietf.org/html/rfc6648#section-3 <https://tools.ietf.org/html/rfc6648#section-3> make sense to follow in the use of Codec IDs, in that a developer of an unstandardized codec id should do so with an assumption that that Codec ID may become standardized.

I sent a pull request for review at https://github.com/Matroska-Org/matroska-specification/pull/117 <https://github.com/Matroska-Org/matroska-specification/pull/117>, which adds this to the Codec Mapping page.

## Recommendations for the Creation of New Codec Mappings

Creators of new Codec Mappins to be used in the context of Matroska:

- SHOULD assume that all Codec Mappings they create might become standardized, public, commonly deployed, or usable across multiple implementations.

- SHOULD employ meaningful values for Codec ID and Codec Name that they have reason to believe are currently unused.

- SHOULD NOT prefix their Codec ID with "X-" or similar constructs.

These recommendations are based upon Section 3 of [@!RFC6648].

Best Regards,
Dave Rice