Re: [Cellar] matroska and side data vs timecode

Steve Lhomme <slhomme@matroska.org> Sun, 03 November 2019 13:44 UTC

Return-Path: <slhomme@matroska.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 31DF31200EC for <cellar@ietfa.amsl.com>; Sun, 3 Nov 2019 05:44:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=matroska-org.20150623.gappssmtp.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 co8pRxhAYk1d for <cellar@ietfa.amsl.com>; Sun, 3 Nov 2019 05:44:39 -0800 (PST)
Received: from mail-pf1-x42d.google.com (mail-pf1-x42d.google.com [IPv6:2607:f8b0:4864:20::42d]) (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 D77A1120089 for <cellar@ietf.org>; Sun, 3 Nov 2019 05:44:39 -0800 (PST)
Received: by mail-pf1-x42d.google.com with SMTP id q26so10328557pfn.11 for <cellar@ietf.org>; Sun, 03 Nov 2019 05:44:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=matroska-org.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=xRWBdm6PaYg3C4VvkY36T3GvqdoO6+OvwyIKXAEWQRA=; b=g5KFDUbA6yn8oferPBwtPZGqYQVWK4ujkncseCj6qnG+8XPEa3TZce/cs606bppcj7 V0A21fV/TxAyZ3bS59a/0kTEZG62hPrfyGbRtdW5O+EkycF7UbP8fnPz5KDjdKzXn0yQ 1C+HcJ2UAfuNjWth/eev+nUK6glw6ayIQd0k7NF2aqFwgLN42bSV+YP94kGINsBnJJy9 TdDx6jzXPxmWE6/e/DBP+oNtIJ7hSfmMy7Vy0BVXgB5UTnU9a6uyaasUEdiDmDDSPIPG wkbnZH33dc8HTcBW59iM9CcQmt2/0bxw1DgGs9VRM8aeEYvmje/iSDUbsSXdsTyynCaO Hs/Q==
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:cc:content-transfer-encoding; bh=xRWBdm6PaYg3C4VvkY36T3GvqdoO6+OvwyIKXAEWQRA=; b=QvYn1HHqdAV6cZS+wrrYfWSR2Y2oI9Ue51Y85ivu3RAbI2dUdzC4VTQraAd1O82lQ5 pWcConSiXS27W3cu6/kgFKb/qm9yTeZbCKuYn2D11QMLx5EG4z5raQpfPdhIb5DxRuR+ M6rSAaoRE0sdo223BXUjjvoKBwhEip1SRhpIvbaLgxxM1Df5NjpNzRZUQm/3n1xi6yLj WqdhHLKOcvtu7fF3V09NnTtCReq+AnBRXeTgzQNWwWiTHIRYdVuXkfGpPm80uWoKU/dy +NSCCYyS86GufutudaZYBvt+oOdYsk1pBK/javPZRcbycahKOqyn7DDqW/Wamuz6VWfl vf7Q==
X-Gm-Message-State: APjAAAWxWtAdnvoFAcCFIk1v7N+hp/ij8WHm+XaNLykdebArpMkhJidc lYNwBvoTD197Ip2EJ3WmrL4JnvI1Nuu/hu55a1UzY9G2kI0=
X-Google-Smtp-Source: APXvYqyevcpUZ2Y3zUjbd8CqB6YHGZ+mh5Jezk24i0Tk7nak9N/8+DRn0TuTdizy+aZ1Xcjjb3F7DlTvVYnIvO7WyGI=
X-Received: by 2002:a63:8148:: with SMTP id t69mr25342481pgd.160.1572788679087; Sun, 03 Nov 2019 05:44:39 -0800 (PST)
MIME-Version: 1.0
References: <00F6A0BF-2922-4BAC-AC73-EB888767886F@dericed.com> <CAOXsMF+_zZjKS9GRjBhpQMQ5dbQK04hph5x5o8UJjj5ngkaaMA@mail.gmail.com> <3f63d94f-9507-ee67-ccfe-6b85d7a523fb@mediaarea.net>
In-Reply-To: <3f63d94f-9507-ee67-ccfe-6b85d7a523fb@mediaarea.net>
From: Steve Lhomme <slhomme@matroska.org>
Date: Sun, 03 Nov 2019 14:44:27 +0100
Message-ID: <CAOXsMF+gs5ACKq408UZuc=QWNb+Ax0dn2FFr02oP+oMwr3CBuA@mail.gmail.com>
To: Jerome Martinez <jerome@mediaarea.net>
Cc: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/YGzZi6ARxdMrgpRVD-gfzQB-80M>
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: Sun, 03 Nov 2019 13:44:42 -0000

Le dim. 3 nov. 2019 à 11:59, Jerome Martinez <jerome@mediaarea.net> a écrit :
>
> On 03/11/2019 11:29, Steve Lhomme wrote:
> > That seems like a big overhead. Is the 64 bits value necessary ? It
> > seems 32 bits might be sufficient (saving 4 bytes). Maybe 40 if you
> > need extra flags.
>
> Advantage here is that we use a standardized and a lot used (in some
> domains) time code format, which can also be a direct dump from some
> sources, and it includes other data (color flag, binary group flags
> which can contain extra info etc), and could be exported to a SMPTE ST
> 12 aware equipment without adaptation.
>
> Other formats of time code, e.g. configuration (start time code, drop
> frame, frame rate...) in track header then a 32-bit number for each
> frame, could be implemented, but IMO it is just another format,
> independent. Both SMPTE ST 12 and a single number could be implemented,
> just different purposes/goals. Also sometimes the conversion from SMPTE
> ST 12 to other time code formats may be not lossless if you use just a
> number ("buggy" input with different drop frame info etc, differences
> would be lost).
>
> In summary, both SMPTE ST 12 and just a number can work for time codes,
> but they have different goals, and one would not totally replace the
> other, just 2 "competing" formats.

Yes, IMO they are different timecode "codecs" (COder/DECoder). There
could also be string versions, I don't know if that's common.

That's also why I'd rather have a separate document for such "codecs".
It's the same with video/audio/spu codecs and chapter codecs should do
the same.

It all depends on what solution(s) we end up with. If there's
something in the SegmentInfo or TrackInfo then we have to define it in
the main document.