[Cellar] when is ChapterEndTime required

Dave Rice <dave@dericed.com> Wed, 28 March 2018 15:51 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 2E96112420B for <cellar@ietfa.amsl.com>; Wed, 28 Mar 2018 08:51:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.121
X-Spam-Level:
X-Spam-Status: No, score=-1.121 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, SPF_NEUTRAL=0.779] 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 r9SrdbuNfl6e for <cellar@ietfa.amsl.com>; Wed, 28 Mar 2018 08:51:28 -0700 (PDT)
Received: from server172-2.web-hosting.com (server172-2.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 7CABE120047 for <cellar@ietf.org>; Wed, 28 Mar 2018 08:51:28 -0700 (PDT)
Received: from [146.96.19.240] (port=64062 helo=[10.10.201.39]) by server172.web-hosting.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.89_1) (envelope-from <dave@dericed.com>) id 1f1DMB-000XlJ-QT for cellar@ietf.org; Wed, 28 Mar 2018 11:51:27 -0400
From: Dave Rice <dave@dericed.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Message-Id: <DB4DBF29-E206-41A5-B67D-D256F1CAF896@dericed.com>
Date: Wed, 28 Mar 2018 11:51:17 -0400
To: Codec Encoding for LossLess Archiving and Realtime transmission <cellar@ietf.org>
X-Mailer: Apple Mail (2.3273)
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/XjA1H63D_DFCWK7096xln529cQc>
Subject: [Cellar] when is ChapterEndTime required
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: Wed, 28 Mar 2018 15:51:30 -0000

Hi cellar,

This is to follow up on a discussion on ffmpeg-devel, see: http://ffmpeg.org/pipermail/ffmpeg-devel/2018-March/227453.html. In the Matroska Schema, the ChapterTimeEnd element is optional, but in https://github.com/Matroska-Org/matroska-specification/blob/master/chapters.md#editionflagordered it says "If an Edition of Ordered Chapters is enabled then the Matroska Player MUST play those Chapters in their stored order from the timecode marked in the ChapterTimeStart Element to the timecode marked in to ChapterTimeEnd Element.”

So is ChapterTimeEnd required when EditionFlagOrdered=1? Is the second edition of the example below (from https://archive.org/download/chapters_test/chapters_test.mkv) invalid to write or invalid to read? Should we state a fallback end time (segment duration?) when there is no ChapterTimeEnd in an Ordered Edition?

|+ Chapters
| + Edition entry
|  + Edition flag ordered: 1
|  + Edition flag hidden: 0
|  + Edition flag default: 1
|  + Edition UID: 3475548369
|  + Chapter atom
|   + Chapter time start: 00:00:15.000000000
|   + Chapter time end: 00:00:20.000000000
|   + Chapter flag hidden: 0
|   + Chapter flag enabled: 1
|   + Chapter UID: 12865469183194029579
|   + Chapter display
|    + Chapter string: Random Red Ball
|    + Chapter language: eng
| + Edition entry
|  + Edition flag ordered: 1
|  + Edition flag hidden: 0
|  + Edition flag default: 0
|  + Edition UID: 12338659363134957115
|  + Chapter atom
|   + Chapter time start: 00:00:00.000000000
|   + Chapter flag hidden: 0
|   + Chapter flag enabled: 1
|   + Chapter UID: 17174098126947929771
|   + Chapter display
|    + Chapter string: Full
|    + Chapter language: eng

Dave Rice