home *** CD-ROM | disk | FTP | other *** search
/ Multimedia-Photo & Your Disk / Image.iso / Data / soft / 104 / mkvtoolnix-unicode-2.1.0-setup.exe / examples / example-chapters-1.xml next >
Encoding:
Extensible Markup Language  |  2007-08-19  |  2.2 KB  |  66 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2.  
  3. <!DOCTYPE Chapters SYSTEM "matroskachapters.dtd">
  4.  
  5. <!-- $Id: example-chapters-1.xml 1398 2004-01-11 18:07:55Z mosu $ -->
  6.  
  7. <!-- A simple example. The movie in question contains four parts: -->
  8. <!-- The intro starting at the beginning, the first act, the second -->
  9. <!-- act, and the credits. -->
  10.  
  11. <!-- Note that the end timestamps are optional. -->
  12.  
  13. <!-- The timestamps use the normal format of HH:MM:SS.mmm with -->
  14. <!-- HH beging the hour, MM the minute, SS the second and -->
  15. <!-- mmm the milliseconds. -->
  16.  
  17. <Chapters>
  18.   <EditionEntry>
  19.     <ChapterAtom>
  20.       <ChapterTimeStart>00:00:00.000</ChapterTimeStart>
  21.       <ChapterDisplay>
  22.         <ChapterString>Intro</ChapterString>
  23.         <ChapterLanguage>eng</ChapterLanguage>
  24.       </ChapterDisplay>
  25.     </ChapterAtom>
  26.     <ChapterAtom>
  27.       <ChapterTimeStart>00:01:00.000</ChapterTimeStart>
  28.       <ChapterDisplay>
  29.         <ChapterString>Act 1</ChapterString>
  30.         <ChapterLanguage>eng</ChapterLanguage>
  31.       </ChapterDisplay>
  32.     </ChapterAtom>
  33.     <ChapterAtom>
  34.       <ChapterTimeStart>00:05:30.000</ChapterTimeStart>
  35.       <ChapterDisplay>
  36.         <ChapterString>Act 2</ChapterString>
  37.         <ChapterLanguage>eng</ChapterLanguage>
  38.       </ChapterDisplay>
  39.     </ChapterAtom>
  40.     <ChapterAtom>
  41.       <ChapterTimeStart>00:12:20.000</ChapterTimeStart>
  42.       <ChapterTimeEnd>00:12:55.000</ChapterTimeEnd>
  43.       <ChapterDisplay>
  44.         <ChapterString>Credits</ChapterString>
  45.         <ChapterLanguage>eng</ChapterLanguage>
  46.       </ChapterDisplay>
  47.     </ChapterAtom>
  48.   </EditionEntry>
  49.  
  50.   <!-- There are two new flags that have been added to Matroska lately. -->
  51.   <!-- They are flags that enable/disable and hide/unhide chapters. -->
  52.   <!-- Here's just a small example: -->
  53.   <EditionEntry>
  54.     <ChapterAtom>
  55.       <ChapterTimeStart>00:02:00.000</ChapterTimeStart>
  56.       <ChapterTimeEnd>00:04:00.000</ChapterTimeEnd>
  57.       <ChapterDisplay>
  58.         <ChapterString>A hidden and not enabled chapter.</ChapterString>
  59.         <ChapterLanguage>eng</ChapterLanguage>
  60.       </ChapterDisplay>
  61.       <ChapterFlagHidden>1</ChapterFlagHidden>
  62.       <ChapterFlagEnabled>0</ChapterFlagEnabled>
  63.     </ChapterAtom>
  64.   </EditionEntry>
  65. </Chapters>
  66.