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

Steve Lhomme slhomme at matroska.org
Sun Mar 31 16:43:53 CEST 2013


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.matroska.org/pipermail/matroska-devel/attachments/20130331/73b7549f/attachment.html>


More information about the Matroska-devel mailing list