Added an example for the "--segmentinfo" command line parameter.

This commit is contained in:
Moritz Bunkus 2007-08-19 09:12:15 +00:00
parent 8887419e74
commit 530aedfa3e
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE Info SYSTEM "matroskasegmentinfo.dtd">
<!-- Using a segment info XML file the user can force the values of
various elements of the "segment information" element. In this
example several UID values are forced. Each must be 128 bits
long.
-->
<Info>
<SegmentUID format="hex">00 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F</SegmentUID>
<NextSegmentUID format="hex">ff ee dd cc bb aa 99 88 77 66 55 44 33 22 11 00</NextSegmentUID>
<PreviousSegmentUID format="hex">00 11 22 33 44 55 66 77 88 99 aa bb cc dd ee ff</PreviousSegmentUID>
<SegmentFamily format="hex">11 00 11 11 11 22 11 33 11 44 11 55 11 66 11 77</SegmentFamily>
</Info>

View File

@ -0,0 +1,20 @@
<!ELEMENT Info (
SegmentUID,
NextSegmentUID,
PreviousSegmentUID,
SegmentFamily,
ChapterTranslate*)>
<!ELEMENT SegmentUID (#PCDATA)>
<!ELEMENT NextSegmentUID (#PCDATA)>
<!ELEMENT PreviousSegmentUID (#PCDATA)>
<!ELEMENT SegmentFamily (#PCDATA)>
<!ELEMENT ChapterTranslate (
ChapterTranslateEditionUID,
ChapterTranslateCodec,
ChapterTranslateID)>
<!ELEMENT ChapterTranslateEditionUID (#PCDATA)>
<!ELEMENT ChapterTranslateCodec (#PCDATA)>
<!ELEMENT ChapterTranslateID (#PCDATA)>