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

Jerome Martinez <jerome@mediaarea.net> Tue, 14 March 2017 19:57 UTC

Return-Path: <jerome@mediaarea.net>
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 8B2D3129981 for <cellar@ietfa.amsl.com>; Tue, 14 Mar 2017 12:57:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.721
X-Spam-Level:
X-Spam-Status: No, score=-0.721 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, 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 zLKwBuBjU-4d for <cellar@ietfa.amsl.com>; Tue, 14 Mar 2017 12:57:25 -0700 (PDT)
Received: from 19.mo3.mail-out.ovh.net (19.mo3.mail-out.ovh.net [178.32.98.231]) (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 0959C129485 for <cellar@ietf.org>; Tue, 14 Mar 2017 12:57:24 -0700 (PDT)
Received: from player693.ha.ovh.net (b6.ovh.net [213.186.33.56]) by mo3.mail-out.ovh.net (Postfix) with ESMTP id 9785BB36EF for <cellar@ietf.org>; Tue, 14 Mar 2017 20:57:22 +0100 (CET)
Received: from [192.168.2.101] (p5DDB5708.dip0.t-ipconnect.de [93.219.87.8]) (Authenticated sender: jerome@mediaarea.net) by player693.ha.ovh.net (Postfix) with ESMTPSA id 62AB244006D; Tue, 14 Mar 2017 20:57:21 +0100 (CET)
To: Dave Rice <dave@dericed.com>
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> <79FE60E9-88D8-4922-AE76-9D1924E1D6EB@dericed.com>
Cc: cellar@ietf.org
From: Jerome Martinez <jerome@mediaarea.net>
Message-ID: <43056655-cf09-9d54-6552-4ed4b655e74f@mediaarea.net>
Date: Tue, 14 Mar 2017 20:57:19 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
MIME-Version: 1.0
In-Reply-To: <79FE60E9-88D8-4922-AE76-9D1924E1D6EB@dericed.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Ovh-Tracer-Id: 5413889704602308753
X-VR-SPAMSTATE: OK
X-VR-SPAMSCORE: -100
X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrfeelhedrheeigddufeefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddm
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/j3T_wKG2OpQTfcfFZop6f-qgISs>
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:57:28 -0000

Le 14/03/2017 à 20:45, Dave Rice a écrit :
> [...]
>
>> 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.

OK, I need to check my files but I am pretty sure I have some.

> 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.

What about seeking?
If you have a timecode block at the first frame and also at the middle 
of the file, how a player can know that there is a timecode block 
breaking the sequential order without parsing the whole file when there 
is a seek request to the last minute of content? In that case, time code 
real value would be set to "waiting for new block" (and this block never 
comes). I don't think that forcing full parsing of the file with time 
code for seeking is a good solution.