[Matroska-devel] Question about Matroska's Enable/Hidden flag of Chapter/Edition

Harfe Leier astrataro at gmail.com
Tue Apr 2 04:56:09 CEST 2013

Hi Steve,

Thanks for your explanation. I thought edition is just a highest level root
chapter, but it seems to be different when being processed.

So what does EditionFlagHidden actually mean? Does it mean everything of
this edition is hidden ( or in other words, disabled ) as if this edition
does not exist, or this edition is still processed but just not available
to the user interface ( say, edition switching menu or something like that

What if one matroska file contains only one edition, of which
EditionFlagHidden is set to be 1? Should the demuxer just ignore this
edition and process as if it is a normal non-chaptered segment, or still
uses the edition including ordered chapters if there are any but does not
expose the inside chapter entries to the user interface, or such files are
completely invalid?

And what if one file has an edition being default but also hidden, while
another edition is not hidden but also not default, should the demuxer use
the default one or the non-hidden one?

On 31 March 2013 15:43, Steve Lhomme <slhomme at matroska.org> wrote:

> Hi,
> On Tue, Mar 26, 2013 at 7:14 AM, Harfe Leier <astrataro at gmail.com> wrote:
>> Hello all,
>> I have a question about the "Enable" and "Hidden" flag of Chapter and
>> Edition when dealing with a Matroska demuxer. Are these two flags
>> applied recursively or not for their nested chapters? For example:
> Enabled is Nested, Hidden is not. Hidden is used to have different chapter
> levels but to only show a select few elements to the user. Enabled is there
> to be enabled by Control Tracks or other scripting mechanism.
>> 1. If one Edition has EditionFlagHidden=1 flag, but all the inside
>> chapters have ChapterFlagHidden=0 flags, should those chapters be available
>> to the user interface?
> In the case of an Edition, it is different from the Chapter Hidden flag
> (editions are not nested), so when an Edition is Hidden, it's entirety is
> Hidden. I could be unhidden by Control Tracks.
>> 2. If one Chapter has ChapterFlagHidden=1 or ChapterFlagEnabled=0 flag,
>> but all the nested chapters have ChapterFlagHidden=0 or
>> ChapterFlagEnabled=1 flag, should those nested chapters be available to the
>> user interface or be processed by a Control Track?
> Hidden is for showing the chapter in the user interface or not so nesting
> doesn't apply. Enable is to disable playback of a Chapter so all of its
> parts too.
>> I have read all pages ( and spec pdf ) from
>> http://matroska.org/technical/index.html, but did not find any notes on
>> this question. It seems that the existing implementations use various
>> methods to dealing with it ( or maybe just don't care at all ).
> Yes, they mostly guessed. Although even after years of making the specs,
> just reading the definitions still is quite clear to me :/
> --
> Steve Lhomme
> Matroska association Chairman
> _______________________________________________
> Matroska-devel mailing list
> Matroska-devel at lists.matroska.org
> http://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
> Read Matroska-Devel on GMane:
> http://dir.gmane.org/gmane.comp.multimedia.matroska.devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20130402/618de4ff/attachment-0001.html>

More information about the Matroska-devel mailing list