mkvtoolnix/examples/example-chapters-1.xml

64 lines
2.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Chapters SYSTEM "matroskachapters.dtd">
<!-- A simple example. The movie in question contains four parts: -->
<!-- The intro starting at the beginning, the first act, the second -->
<!-- act, and the credits. -->
<!-- Note that the end timestamps are optional. -->
<!-- The timestamps use the normal format of HH:MM:SS.mmm with -->
<!-- HH beging the hour, MM the minute, SS the second and -->
<!-- mmm the milliseconds. -->
<Chapters>
<EditionEntry>
<ChapterAtom>
<ChapterTimeStart>00:00:00.000</ChapterTimeStart>
<ChapterDisplay>
<ChapterString>Intro</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:01:00.000</ChapterTimeStart>
<ChapterDisplay>
<ChapterString>Act 1</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:05:30.000</ChapterTimeStart>
<ChapterDisplay>
<ChapterString>Act 2</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
<ChapterAtom>
<ChapterTimeStart>00:12:20.000</ChapterTimeStart>
<ChapterTimeEnd>00:12:55.000</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>Credits</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
</ChapterAtom>
</EditionEntry>
<!-- There are two new flags that have been added to Matroska lately. -->
<!-- They are flags that enable/disable and hide/unhide chapters. -->
<!-- Here's just a small example: -->
<EditionEntry>
<ChapterAtom>
<ChapterTimeStart>00:02:00.000</ChapterTimeStart>
<ChapterTimeEnd>00:04:00.000</ChapterTimeEnd>
<ChapterDisplay>
<ChapterString>A hidden and not enabled chapter.</ChapterString>
<ChapterLanguage>eng</ChapterLanguage>
</ChapterDisplay>
<ChapterFlagHidden>1</ChapterFlagHidden>
<ChapterFlagEnabled>0</ChapterFlagEnabled>
</ChapterAtom>
</EditionEntry>
</Chapters>