File: example-chapters-1.xml

package info (click to toggle)
mkvtoolnix 2.7.0-1
  • links: PTS
  • area: main
  • in suites: squeeze
  • size: 6,588 kB
  • ctags: 7,821
  • sloc: cpp: 58,096; ansic: 5,764; sh: 3,037; ruby: 1,458; makefile: 635; perl: 249; xml: 161
file content (63 lines) | stat: -rw-r--r-- 2,156 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
<?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>