Re: [Cellar] matroska and side data vs timecode

Kieran O Leary <kieran.o.leary@gmail.com> Wed, 30 October 2019 15:40 UTC

Return-Path: <kieran.o.leary@gmail.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 7AB89120A8F for <cellar@ietfa.amsl.com>; Wed, 30 Oct 2019 08:40:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 RcyL1dNyvtGv for <cellar@ietfa.amsl.com>; Wed, 30 Oct 2019 08:40:00 -0700 (PDT)
Received: from mail-qt1-x82f.google.com (mail-qt1-x82f.google.com [IPv6:2607:f8b0:4864:20::82f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6E95C1209A8 for <cellar@ietf.org>; Wed, 30 Oct 2019 08:40:00 -0700 (PDT)
Received: by mail-qt1-x82f.google.com with SMTP id e14so3852799qto.1 for <cellar@ietf.org>; Wed, 30 Oct 2019 08:40:00 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=tU0z8ilftdznqfq/Kaslvn6t6J90O+e91DNfYkG6ZCI=; b=a8PfQ+9neHOoPCVJhjjFCgpPC5Bh/HhY422P56GLaIdIu5TrhZdNldmdsqwWeWv0Wc 8iKtTTwmysjzrN9r7V+DPM1Yw2GsfgdMzumRVR7tqJj5ag6qcy6YsQUT7IXeKM8Ztyo6 Yc0HUgYXzYmj2yBDUEizuUDQQbh2Giux2j1Wxf4LrDuqzDX+cwK9BdGhmggCsbVJmb8l vyyGqoOBd4PlL4mEEQArTUDEmHutUTtBgDUM7DBTGMBZPPEpvjEjogdBknti8jlI6D7K lK/S0kIEJH4g8SCobVVzwCA1YJJZtsB79gAtTIhmwlN85D7tz7SDW29nqOsGbMCWFrHK O/hQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=tU0z8ilftdznqfq/Kaslvn6t6J90O+e91DNfYkG6ZCI=; b=A7vQkM/NSrlM2ktdM7NndJ9MrymCsFQVF/Q9zR9VmHIHWR9k1/GBvyI+m1zQJTcvbI gI8OvM/A4ijYTxZk/mROwiLXXrrv6VJijD+XH4zIGmkvDJCwT/KzPZ/5NkwvG+O0tGik 9sEb1E2MmOu6uBO78PZEaxyLdjNQc9aziADxKwcTFG8zD7gXfMAKHDOoQLjPWvA0PiqZ 34WBzb/rzQScWR2Nb2SUQfMeDlvThQnT9lsaG1J8v9oLodsQO8DuwfdQ+bkAaXULyZJ4 HG+Ql5sAEDXcME5bHvzfpJEHCarI/ecQ0oEUcPmbf7zyRP9Mv2/e7B3EOmJNM4v5c2Sb G7Xg==
X-Gm-Message-State: APjAAAWxii7BcPPJnxzstpJISvy9nx7XYnh0iP4bx4KNdBmV2QcrEMDj QVV0ENc2q9lwjepdG1sUxtcNyRv7K9MzW07JIQUG2MY=
X-Google-Smtp-Source: APXvYqw/AV6iGcTLVVPPrWJ4sSMfxwGde7/ibzlfWrIxMNtDdDrjAJJedGOTScv8G5UdMjuqxTgml0O/EEB1ynKLvRs=
X-Received: by 2002:a05:6214:10e4:: with SMTP id q4mr21028097qvt.59.1572449999308; Wed, 30 Oct 2019 08:39:59 -0700 (PDT)
MIME-Version: 1.0
References: <00F6A0BF-2922-4BAC-AC73-EB888767886F@dericed.com> <40b8c32e-9136-af70-e844-b9e9f2e1c75a@gmail.com>
In-Reply-To: <40b8c32e-9136-af70-e844-b9e9f2e1c75a@gmail.com>
From: Kieran O Leary <kieran.o.leary@gmail.com>
Date: Wed, 30 Oct 2019 15:39:46 +0000
Message-ID: <CAO7v-1SkBrN33Y7NgY5GuSnYewfEhkW7f0o4LSkDP4raVA77Kg@mail.gmail.com>
To: Derek Buitenhuis <derek.buitenhuis@gmail.com>, cellar@ietf.org
Content-Type: multipart/alternative; boundary="000000000000a2cbae0596228b43"
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/cZLjBzCX0iRGIrupNyL8CsbZZPw>
Subject: Re: [Cellar] matroska and side data vs timecode
X-BeenThere: cellar@ietf.org
X-Mailman-Version: 2.1.29
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 Oct 2019 15:40:07 -0000

Hi Derek

On Wed, 30 Oct 2019, 15:03 Derek Buitenhuis, <derek.buitenhuis@gmail.com>
wrote:

> Comments inlined below.
>
> On 29/10/2019 16:04, Dave Rice wrote:
>
> *Implementation Considerations:*
>
> Thinking ahead of this work, I think it would be worthwhile to add a
> dedicated section to the Matroska specification on timecode and describe
> two methods for adding a reference timecode to a Matroska Segment.
>
> 1. Using tags. Make an official tag “TIMECODE” to store a string of the
> timecode expression that correlates to the Matroska timestamp of 0. This
> approach is limited to storing timecode that is incremental and continuous.
> Defaults for the incrementation and the behavior of the timecode could be
> described as part of the tag definitions and feasibly another tag or tags
> could be reserved for timecode flags when the timecode behavior is not a
> default. Defining a use of a “TIMECODE” tag would provide the benefit of
> standardizing an existing practice in FFmpeg’s Matroska muxer, where
> rewrapping from a timecode-supportive format to Matroska carries the
> timecode value over as a tag.
>
> To me, requiring timecodes to be incremental and continuous pretty much
> defeats a good chunk of the point of timecodes, no?
>
Kind of, but all tape capture software that I've encountered just stores
the starting timecode value along with framerate and all other timecodes
are based on this starting value. So it won't represent the source
videotape if there's a timecode jump or reset. But the method that Dave
outlines here would at least allow Matroska to mirror what happens with
Aja/blackmagic capture tools using v210/mov as the capture format.
It's very difficult to find tools or examples of noncontinuous timecode
tracks..

Best,

Kieran O'Leary
Irish Film Institute