Re: [Cellar] when is ChapterEndTime required

hubblec4 <hubblec4@gmx.ch> Wed, 28 March 2018 16:58 UTC

Return-Path: <hubblec4@gmx.ch>
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 D9BB812762F for <cellar@ietfa.amsl.com>; Wed, 28 Mar 2018 09:58:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.35
X-Spam-Level:
X-Spam-Status: No, score=-2.35 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, 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 uzovQy2-WW9X for <cellar@ietfa.amsl.com>; Wed, 28 Mar 2018 09:58:41 -0700 (PDT)
Received: from mout.gmx.net (mout.gmx.net [212.227.15.18]) (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 21E491275FD for <cellar@ietf.org>; Wed, 28 Mar 2018 09:58:40 -0700 (PDT)
Received: from [192.168.2.101] ([93.242.75.28]) by mail.gmx.com (mrgmx003 [212.227.17.190]) with ESMTPSA (Nemesis) id 0MHX0m-1f07wQ0YhQ-003MQk for <cellar@ietf.org>; Wed, 28 Mar 2018 18:58:38 +0200
To: cellar@ietf.org
References: <DB4DBF29-E206-41A5-B67D-D256F1CAF896@dericed.com>
From: hubblec4 <hubblec4@gmx.ch>
Message-ID: <285b49b2-0255-6cef-dc69-e2cb2b312e1a@gmx.ch>
Date: Wed, 28 Mar 2018 18:58:31 +0200
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.6.0
MIME-Version: 1.0
In-Reply-To: <DB4DBF29-E206-41A5-B67D-D256F1CAF896@dericed.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Provags-ID: V03:K0:xxyyKqd5ETKGWZ6a+5BE81NkWoHoi+ur4JRdd1zcoWr5ZyvnZTc +8bFj1CMO5ApUuFncs1pammTGXmbh6yUl/A7vX1/ECGGhc8I17W6NQIucVnseBoV3zRxzNb h0gP5zNcdwrKzY4sawyNQIwJSZF7n2Gsdt/sEByackIqD8KuCorrAhLMHHVr6AlmuDXcCPT mIIyHEzM0u6BMJU/tmE/Q==
X-UI-Out-Filterresults: notjunk:1;V01:K0:mqgP2cdlo7M=:rzTAU+lEk5ziv1LL5FtkIr AiTN5Hp0z6v7eyC34JLbgOZOxK6TZJD20d3DNOM6BAVB7n1n26yTcsGyypPNSJffc9W8t5/zd McJ+QJMSm0V8HnARVA9alfgwcHwHvsM6Tfkr1947v9P4JT1pHuRaSFWzvplq8bL3KUbKTBReo qdEYk3wElff0FeEdO6nUBFp37Brd33uEDL2voie4RIeGeT5aV0IXJZx8MCF+fYnlcPWSsRYYM iPwT3ugfvVJxN3Q9QpuoM0yvA+K0gG8OFBOsSZGchSEcQVzc0ekGQ/5MDf0WD0Y9XAAzOWmY6 aegUjZn9Dx0sHqWjYFQB7jELYj+zHbSB11lW0sK45a34r4lUTGFNbnmQN/nGIVEYZra6RSsRU h2bd9xzK+gyQ4PbXfaQBCQ7IJHGBP2cH2kmXkjhc7kHgXlbec85Vt/H57k/aLQrSdtYVBI69M PzQ6LMKEj1oZgqzSW7elAIfHuswIMUoB648CTO1oJlHzLVsL2B9zroUBunQxfzCgcnlM3oe9h eXvVUxHFZBexPTHTPzIr1TdJMcvdsSmLfKQdSM1w80fkw6JWuyigEg0+1UUmKKQq8kXFKIHbJ hx60bXiiHfU3fZ7HH8c5CQfNSmmm7WHJkWzaKyGmeklXFfy2Vll0JjX5Hm+YJi/XFCGzXs3Ns 6e5G9VdM9Z8r5qcesyJOLIZXkP+mcW7c8O8XFQh3cOueLzYnKG+KBqGyVqkLqXoZ/A3Z5Ta0S AhI2NLf4nIkaYfNylxJyre67jD9Jgz3WblNdmFX2H4IEpfA+uOK6EWuX8L2RxI7jJ/7SQt45c zbuP7v1djkcFm1N3HznTmez0GfsW+QB5CU34XyVAVwKfkK6rm4=
Archived-At: <https://mailarchive.ietf.org/arch/msg/cellar/4rJSOCoSy1yTTFiSIR2NLSTFeQQ>
Subject: Re: [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 16:58:45 -0000

Hi all


Am 28.03.2018 um 17:51 schrieb Dave Rice:
> 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.”
Thats right and for a "normal" ordered edition the endtime stamps are 
required. What means "normal": This is the case when ChapProcessCodecID 
is set to 0(default 0).
If this value is set to 1 then Matroska-DVD-Menu system is used and 
there is it possible to have empty endtime stamps.

>
> So is ChapterTimeEnd required when EditionFlagOrdered=1?
Yes.
>   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?
I'm sure Mosu's Chapter Editor(Matroska Reader) can read such mkv's but 
a Matroska Player will fail to build a correct virtual timeline.
LAV Splitter ignores all ordered chapters with a play-duration of 0 or 
less. An empty endtime stamp is like a value of 0 so you get a negativ 
chapter play duration.
Chapters_test.mkv  plays the first editon, but when you change to 
edition 2, playing is stoped, timeline greyed out, play-button is 
disabled and so on. There is no virtuell timeline for the second edition.

Read and write is maybe possible and not really invalid, but for 
practice using is it invalid.

> Should we state a fallback end time (segment duration?) when there is no ChapterTimeEnd in an Ordered Edition?
A fallback which used the segment duration is possible only when you 
have only one chapter. Otherwise the new virtuell playtime is too large 
and duplicates video content.
The Segment duration is not a "good" value because this element is not 
always present AND (very)often too large.
>
> |+ 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
> _______________________________________________
> Cellar mailing list
> Cellar@ietf.org
> https://www.ietf.org/mailman/listinfo/cellar

Kind regards
Martin Below