Re: [Cellar] QuickTime timecode tracks in Matroska, was Ancillary data in Matroska

Dave Rice <dave@dericed.com> Tue, 14 March 2017 19:45 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 5D15B13010D for <cellar@ietfa.amsl.com>; Tue, 14 Mar 2017 12:45:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.653
X-Spam-Level:
X-Spam-Status: No, score=0.653 tagged_above=-999 required=5 tests=[HTML_MESSAGE=0.001, SPF_NEUTRAL=0.652] 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 NMuPXxoHalyo for <cellar@ietfa.amsl.com>; Tue, 14 Mar 2017 12:45:47 -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 48B45129A8E for <cellar@ietf.org>; Tue, 14 Mar 2017 12:45:47 -0700 (PDT)
Received: from cpe-104-162-86-103.nyc.res.rr.com ([104.162.86.103]:46110 helo=[10.0.1.4]) by server172.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.87) (envelope-from <dave@dericed.com>) id 1cnsO9-001zLr-F9; Tue, 14 Mar 2017 15:45:46 -0400
From: Dave Rice <dave@dericed.com>
Message-Id: <79FE60E9-88D8-4922-AE76-9D1924E1D6EB@dericed.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_2148901B-DFDC-4D9A-B27C-8C021B09CC8E"
Mime-Version: 1.0 (Mac OS X Mail 10.2 \(3259\))
Date: Tue, 14 Mar 2017 15:45:41 -0400
In-Reply-To: <9244b201-9097-365f-b7da-f2d8553616ee@mediaarea.net>
Cc: cellar@ietf.org
To: Jerome Martinez <jerome@mediaarea.net>
References: <2651a6f3-9c9a-6f76-2ee7-4d5c23b1ce57@mediaarea.net> <BFB215F1-1254-409C-817A-7AB1A772437A@dericed.com> <922C5404-EC19-462D-A836-C952E66C2FD8@dericed.com> <B3BE02C3-9402-4802-BC9E-3F95020C641D@dericed.com> <9244b201-9097-365f-b7da-f2d8553616ee@mediaarea.net>
X-Mailer: Apple Mail (2.3259)
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/EygbvD_9nWSH5-w2h1u4uyeBCk0>
Subject: Re: [Cellar] QuickTime timecode tracks in Matroska, was Ancillary data in 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: Tue, 14 Mar 2017 19:45:48 -0000

> On Mar 14, 2017, at 3:39 PM, Jerome Martinez <jerome@mediaarea.net> wrote:
> 
> Le 14/03/2017 à 20:14, Dave Rice a écrit :
>> [...]
>> 
>> After looking at this some more, I decided to create an alternate proposal for a T_QUICKTIME codec mapping, rather than to store QuickTime-style timecode in the more vague concept of an ancillary N_QUICKTIME.
> 
> Trying to find some counter-arguments, I have to agree that this may be better as we don't have any real example for usage of a generic QuickTime ancillary track.
> 
>> 
>> [...]
>> 
>> The attachment contains a SimpleBlock using the T_QUICKTIME with a example value of 0x0001fc8c, which according to the QuickTime Timecode Sample Data is 01:12:23;28 and subsequent timecode values for the track would be calculated according to the incrementation defined in the Private Data.
> 
> Content location is another issue.
> Time code may be stripped (only the first time code is stored and other time code must be computed from it + header metadata), and there is no way to know it in Matroska : QuickTime has the list of blocks in the track header so the player knows if the the time code is stripped (1 block of 4 bytes) or not (more than 1 block), this is not the  case with Matroska.
> How could we indicate to the player that the time code is stripped (=only one value stored, then player should compute value of other time code frames)?

Since the update proposal defines a new media type (timecode) it is possible to define a Timecode Master element (as similar done with Audio and Video) to store needed context.

OTOH I don’t think I’ve ever seen a QuickTime timecode track that was non-stripped. I’ve only seen a single value stored but then sometimes an edit list used to alter the ordering of the timecode (in case when its non-sequential). For Matroska possibly it could simply store a new timecode Block at any case when it is not sequential.
Dave