Matroska-Solution / Matroska / ebml_matroska.xml
Code · 1938 lines · 142757 bytes
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938<EBMLSchema xmlns="urn:ietf:rfc:8794" docType="matroska" version="4">
  <!-- constraints on EBML Header Elements -->
  <element name="EBMLMaxIDLength" path="\EBML\EBMLMaxIDLength" id="0x42F2" type="uinteger" range="4" default="4" minOccurs="1" maxOccurs="1"/>
  <element name="EBMLMaxSizeLength" path="\EBML\EBMLMaxSizeLength" id="0x42F3" type="uinteger" range="1-8" default="8" minOccurs="1" maxOccurs="1"/>
  <!-- Root Element-->
  <element name="Segment" path="\Segment" id="0x18538067" type="master" minOccurs="1" maxOccurs="1" unknownsizeallowed="1">
    <documentation lang="en" purpose="definition">The `Root Element` that contains all other `Top-Level Elements`; see (#data-layout).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SeekHead" path="\Segment\SeekHead" id="0x114D9B74" type="master" maxOccurs="2">
    <documentation lang="en" purpose="definition">Contains seeking information of `Top-Level Elements`; see (#data-layout).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Seek" path="\Segment\SeekHead\Seek" id="0x4DBB" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Contains a single seek entry to an EBML Element.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SeekID" path="\Segment\SeekHead\Seek\SeekID" id="0x53AB" type="binary" length="4" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The binary EBML ID of a `Top-Level Element`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SeekPosition" path="\Segment\SeekHead\Seek\SeekPosition" id="0x53AC" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `Segment Position` ((#segment-position)) of a `Top-Level Element`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Info" path="\Segment\Info" id="0x1549A966" type="master" minOccurs="1" maxOccurs="1" recurring="1">
    <documentation lang="en" purpose="definition">Contains general information about the `Segment`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SegmentUUID" path="\Segment\Info\SegmentUUID" id="0x73A4" type="binary" length="16" maxOccurs="1">
    <documentation lang="en" purpose="definition">A randomly generated UID that identifies the `Segment` amongst many others (128 bits). It is equivalent to a Universally Unique Identifier (UUID) v4 [@!RFC9562] with all bits randomly (or pseudorandomly) chosen.  An actual UUID v4 value, where some bits are not random, **MAY** also be used.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the `Segment` is a part of a `Linked Segment`, then this element is **REQUIRED**.
      The value of the UID **MUST** contain at least one bit set to 1.
    </documentation>
    <extension type="libmatroska" cppname="SegmentUID"/>
  </element>
  <element name="SegmentFilename" path="\Segment\Info\SegmentFilename" id="0x7384" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">A filename corresponding to this `Segment`.</documentation>
  </element>
  <element name="PrevUUID" path="\Segment\Info\PrevUUID" id="0x3CB923" type="binary" length="16" maxOccurs="1">
    <documentation lang="en" purpose="definition">An ID that identifies the previous `Segment` of a `Linked Segment`.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the `Segment` is a part of a `Linked Segment` that uses
      Hard Linking ((#hard-linking)), then either the
      `PrevUUID` or the `NextUUID` element is
      **REQUIRED**. If a `Segment` contains a `PrevUUID`
      but not a `NextUUID`, then it **MAY** be considered as the
      last `Segment` of the `Linked Segment`. The `PrevUUID`
      **MUST NOT** be equal to the `SegmentUUID`.
    </documentation>
    <extension type="libmatroska" cppname="PrevUID"/>
  </element>
  <element name="PrevFilename" path="\Segment\Info\PrevFilename" id="0x3C83AB" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">A filename corresponding to the file of the previous `Linked Segment`.</documentation>
    <documentation lang="en" purpose="usage notes">
      Provision of the previous filename is for display convenience,
      but `PrevUUID` **SHOULD** be considered authoritative for identifying the previous `Segment` in a `Linked Segment`.
    </documentation>
  </element>
  <element name="NextUUID" path="\Segment\Info\NextUUID" id="0x3EB923" type="binary" length="16" maxOccurs="1">
    <documentation lang="en" purpose="definition">An ID that identifies the next `Segment` of a `Linked Segment`.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the `Segment` is a part of a `Linked Segment` that uses Hard Linking ((#hard-linking)),
      then either the `PrevUUID` or the `NextUUID` element is **REQUIRED**. If a `Segment` contains a `NextUUID` but not a `PrevUUID`, then it **MAY** be considered as the first `Segment` of the `Linked Segment`. The `NextUUID` **MUST NOT** be equal to the `SegmentUUID`.
    </documentation>
    <extension type="libmatroska" cppname="NextUID"/>
  </element>
  <element name="NextFilename" path="\Segment\Info\NextFilename" id="0x3E83BB" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">A filename corresponding to the file of the next `Linked Segment`.</documentation>
    <documentation lang="en" purpose="usage notes">
      Provision of the next filename is for display convenience,
      but `NextUUID` **SHOULD** be considered authoritative for identifying the Next `Segment`.
    </documentation>
  </element>
  <element name="SegmentFamily" path="\Segment\Info\SegmentFamily" id="0x4444" type="binary" length="16">
    <documentation lang="en" purpose="definition">A UID that all `Segments` of a `Linked Segment` **MUST** share (128 bits). It is equivalent to a UUID v4 [@!RFC9562] with all bits randomly (or pseudorandomly) chosen. An actual UUID v4 value, where some bits are not random, **MAY** also be used.</documentation>
    <documentation lang="en" purpose="usage notes">If the `Segment` `Info` contains a `ChapterTranslate` element, this element is **REQUIRED**.</documentation>
  </element>
  <element name="ChapterTranslate" path="\Segment\Info\ChapterTranslate" id="0x6924" type="master">
    <documentation lang="en" purpose="definition">
      The mapping between this `Segment` and a
      segment value in the given Chapter Codec.
    </documentation>
    <documentation lang="en" purpose="rationale">
      Chapter Codecs may need to address different segments, but they may not know of the way to identify such segments when stored in Matroska.
      This element and its child elements add a way to map the internal segments known to the Chapter Codec to the `SegmentUUID`s in Matroska.
      This allows remuxing a file with Chapter Codec without changing the content of the codec data, just the `Segment` mapping.
    </documentation>
  </element>
  <element name="ChapterTranslateID" path="\Segment\Info\ChapterTranslate\ChapterTranslateID" id="0x69A5" type="binary" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The binary value used to represent this `Segment` in the chapter codec data.
      The format depends on the `ChapProcessCodecID` used; see (#chapprocesscodecid-element).
    </documentation>
  </element>
  <element name="ChapterTranslateCodec" path="\Segment\Info\ChapterTranslate\ChapterTranslateCodec" id="0x69BF" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Applies to the chapter codec of the given chapter edition(s); see (#chapprocesscodecid-element).</documentation>
    <extension type="enum source" source="Chapter Codec ID"/>
  </element>
  <element name="ChapterTranslateEditionUID" path="\Segment\Info\ChapterTranslate\ChapterTranslateEditionUID" id="0x69FC" type="uinteger">
    <documentation lang="en" purpose="definition">Specifies a chapter edition UID to which this `ChapterTranslate` applies.</documentation>
    <documentation lang="en" purpose="usage notes">When no `ChapterTranslateEditionUID` is specified in the `ChapterTranslate`, the `ChapterTranslate` applies to all chapter editions found in the `Segment` using the given `ChapterTranslateCodec`.</documentation>
  </element>
  <element name="TimestampScale" path="\Segment\Info\TimestampScale" id="0x2AD7B1" type="uinteger" range="not 0" default="1000000" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Base unit for Segment Ticks and Track Ticks, in nanoseconds. A `TimestampScale` value of 1000000 means scaled timestamps in the `Segment` are expressed in milliseconds; see (#timestamps) on how to interpret timestamps.</documentation>
    <extension type="libmatroska" cppname="TimecodeScale"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Duration" path="\Segment\Info\Duration" id="0x4489" type="float" range="&gt; 0x0p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Duration of the `Segment`, expressed in `Segment` Ticks, which are based on `TimestampScale`; see (#timestamp-ticks).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="DateUTC" path="\Segment\Info\DateUTC" id="0x4461" type="date" maxOccurs="1">
    <documentation lang="en" purpose="definition">The date and time that the `Segment` was created by the muxing application or library.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Title" path="\Segment\Info\Title" id="0x7BA9" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">General name of the `Segment`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="MuxingApp" path="\Segment\Info\MuxingApp" id="0x4D80" type="utf-8" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Muxing application or library (example: "libmatroska-0.4.3").</documentation>
    <documentation lang="en" purpose="usage notes">Include the full name of the application or library followed by the version number.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="WritingApp" path="\Segment\Info\WritingApp" id="0x5741" type="utf-8" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Writing application (example: "mkvmerge-0.3.3").</documentation>
    <documentation lang="en" purpose="usage notes">Include the full name of the application followed by the version number.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Cluster" path="\Segment\Cluster" id="0x1F43B675" type="master" unknownsizeallowed="1">
    <documentation lang="en" purpose="definition">The `Top-Level Element` containing the (monolithic) `Block` structure.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Timestamp" path="\Segment\Cluster\Timestamp" id="0xE7" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Absolute timestamp of the cluster, expressed in Segment Ticks, which are based on `TimestampScale`; see (#timestamp-ticks).</documentation>
    <documentation lang="en" purpose="usage notes">
      This element **SHOULD** be the first child element of the `Cluster` it belongs to
      or the second if that `Cluster` contains a `CRC-32` element ((#crc-32)).
    </documentation>
    <extension type="libmatroska" cppname="ClusterTimecode"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SilentTracks" path="\Segment\Cluster\SilentTracks" id="0x5854" type="master" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The list of tracks that are not used in that part of the stream.
      It is useful when using overlay tracks for seeking or deciding what track to use.
    </documentation>
    <extension type="libmatroska" cppname="ClusterSilentTracks"/>
  </element>
  <element name="SilentTrackNumber" path="\Segment\Cluster\SilentTracks\SilentTrackNumber" id="0x58D7" type="uinteger" minver="0" maxver="0">
    <documentation lang="en" purpose="definition">
      One of the track numbers that is not used from now on in the stream.
      It could change later if not specified as silent in a further `Cluster`.
    </documentation>
    <extension type="libmatroska" cppname="ClusterSilentTrackNumber"/>
  </element>
  <element name="Position" path="\Segment\Cluster\Position" id="0xA7" type="uinteger" maxver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The `Segment Position` of the `Cluster` in the `Segment` (0 in live streams).
      It might help to resynchronize the offset on damaged streams.
    </documentation>
    <extension type="libmatroska" cppname="ClusterPosition"/>
  </element>
  <element name="PrevSize" path="\Segment\Cluster\PrevSize" id="0xAB" type="uinteger" maxOccurs="1">
    <documentation lang="en" purpose="definition">Size of the previous `Cluster`, in octets. Can be useful for backward playing.</documentation>
    <extension type="libmatroska" cppname="ClusterPrevSize"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SimpleBlock" path="\Segment\Cluster\SimpleBlock" id="0xA3" type="binary" minver="2">
    <documentation lang="en" purpose="definition">
      Similar to `Block` (see (#block-structure)) but without all the extra information.
      Mostly used to reduce overhead when no extra feature is needed; see (#simpleblock-structure) on `SimpleBlock` Structure.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="BlockGroup" path="\Segment\Cluster\BlockGroup" id="0xA0" type="master">
    <documentation lang="en" purpose="definition">Basic container of information containing a single `Block` and information specific to that `Block`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Block" path="\Segment\Cluster\BlockGroup\Block" id="0xA1" type="binary" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      `Block` containing the actual data to be rendered and a timestamp relative to the `Cluster` Timestamp;
      see (#block-structure) on `Block` Structure.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="BlockVirtual" path="\Segment\Cluster\BlockGroup\BlockVirtual" id="0xA2" type="binary" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      A `Block` with no data. It must be stored in the stream at the place the real `Block` would be in display order.
    </documentation>
  </element>
  <element name="BlockAdditions" path="\Segment\Cluster\BlockGroup\BlockAdditions" id="0x75A1" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Contains additional binary data to complete the `Block` element; see [@?I-D.ietf-cellar-codec, section 4.1.5] for more information.
      An EBML parser that has no knowledge of the `Block` structure could still see and use/skip these data.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="BlockMore" path="\Segment\Cluster\BlockGroup\BlockAdditions\BlockMore" id="0xA6" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Contains the `BlockAdditional` and some parameters.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="BlockAdditional" path="\Segment\Cluster\BlockGroup\BlockAdditions\BlockMore\BlockAdditional" id="0xA5" type="binary" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Interpreted by the codec as it wishes (using the `BlockAddID`).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="BlockAddID" path="\Segment\Cluster\BlockGroup\BlockAdditions\BlockMore\BlockAddID" id="0xEE" type="uinteger" range="not 0" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      An ID that identifies how to interpret the `BlockAdditional` data; see [@?I-D.ietf-cellar-codec, section 4.1.5] for
      more information. A value of 1 indicates that the `BlockAdditional` data is
      defined by the codec. Any other value indicates that the `BlockAdditional` data
      should be handled according to the `BlockAddIDType` that is located in the
      `TrackEntry`.
    </documentation>
    <documentation lang="en" purpose="usage notes">Each `BlockAddID` value **MUST** be unique between all `BlockMore` elements found in a `BlockAdditions` element. To keep `MaxBlockAdditionID` as low as possible, small values **SHOULD** be used.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="BlockDuration" path="\Segment\Cluster\BlockGroup\BlockDuration" id="0x9B" type="uinteger" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The duration of the `Block`, expressed in Track Ticks; see (#timestamp-ticks).
      The `BlockDuration` element can be useful
      at the end of a `Track` to define the duration of the last frame (as
      there is no subsequent `Block` available) or when there is a break in a
      track like for subtitle tracks.
    </documentation>
    <implementation_note note_attribute="minOccurs">`BlockDuration` **MUST** be set (minOccurs=1) if the associated `TrackEntry` stores a `DefaultDuration` value.</implementation_note>
    <implementation_note note_attribute="default">If a value is not present and no `DefaultDuration` is defined, the value is assumed to be the difference between the timestamp of this `Block` and the timestamp of the next `Block` in "display" order (not coding order).</implementation_note>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ReferencePriority" path="\Segment\Cluster\BlockGroup\ReferencePriority" id="0xFA" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      This frame is referenced and has the specified cache priority.
      In the cache, only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced.
    </documentation>
  </element>
  <element name="ReferenceBlock" path="\Segment\Cluster\BlockGroup\ReferenceBlock" id="0xFB" type="integer">
    <documentation lang="en" purpose="definition">
      A timestamp value, relative to the timestamp of the `Block` in this `BlockGroup`, expressed in Track Ticks; see (#timestamp-ticks).
      This is used to reference other frames necessary to decode this frame.
      The relative value **SHOULD** correspond to a valid `Block` that this `Block` depends on.
      Historically, `Matroska Writers` didn't write the actual `Block(s)` that this `Block` depends on, but they did write *some* `Block(s)` in the past.

      The value "0" **MAY** also be used to signify that this `Block` cannot be decoded on its own, but the necessary reference `Block(s)` is unknown. In this case, other `ReferenceBlock` elements **MUST NOT** be found in the same `BlockGroup`. If the `BlockGroup` doesn't have a `ReferenceBlock` element, then the `Block` it contains can be decoded without using any other `Block` data.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ReferenceVirtual" path="\Segment\Cluster\BlockGroup\ReferenceVirtual" id="0xFD" type="integer" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `Segment Position` of the data that would otherwise be in position of the virtual block.</documentation>
  </element>
  <element name="CodecState" path="\Segment\Cluster\BlockGroup\CodecState" id="0xA4" type="binary" minver="2" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The new codec state to use. Data interpretation is private to the codec.
      This information **SHOULD** always be referenced by a seek entry.
    </documentation>
  </element>
  <element name="DiscardPadding" path="\Segment\Cluster\BlockGroup\DiscardPadding" id="0x75A2" type="integer" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Duration of the silent data added to the `Block`, expressed in
      Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks)
      (padding at the end of the `Block` for positive values and at the
      beginning of the `Block` for negative values).  The duration of
      `DiscardPadding` is not calculated in the duration of the
      `TrackEntry` and **SHOULD** be discarded during
      playback.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Slices" path="\Segment\Cluster\BlockGroup\Slices" id="0x8E" type="master" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains slices description.</documentation>
  </element>
  <element name="TimeSlice" path="\Segment\Cluster\BlockGroup\Slices\TimeSlice" id="0xE8" type="master" minver="0" maxver="0">
    <documentation lang="en" purpose="definition">
      Contains extra time information about the data contained in the `Block`.
      Being able to interpret this element is not required for playback.
    </documentation>
  </element>
  <element name="LaceNumber" path="\Segment\Cluster\BlockGroup\Slices\TimeSlice\LaceNumber" id="0xCC" type="uinteger" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The reverse number of the frame in the lace (0 is the last frame, 1 is the next to last, etc.).
      Being able to interpret this element is not required for playback.
    </documentation>
    <extension type="libmatroska" cppname="SliceLaceNumber"/>
  </element>
  <element name="FrameNumber" path="\Segment\Cluster\BlockGroup\Slices\TimeSlice\FrameNumber" id="0xCD" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The number of the frame to generate from this lace with this delay
      (allows for the generation of many frames from the same Block/Frame).
    </documentation>
    <extension type="libmatroska" cppname="SliceFrameNumber"/>
  </element>
  <element name="BlockAdditionID" path="\Segment\Cluster\BlockGroup\Slices\TimeSlice\BlockAdditionID" id="0xCB" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The ID of the `BlockAdditional` element (0 is the main `Block`).</documentation>
    <extension type="libmatroska" cppname="SliceBlockAddID"/>
  </element>
  <element name="Delay" path="\Segment\Cluster\BlockGroup\Slices\TimeSlice\Delay" id="0xCE" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The delay to apply to the element, expressed in Track Ticks; see (#timestamp-ticks).</documentation>
    <extension type="libmatroska" cppname="SliceDelay"/>
  </element>
  <element name="SliceDuration" path="\Segment\Cluster\BlockGroup\Slices\TimeSlice\SliceDuration" id="0xCF" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The duration to apply to the element, expressed in Track Ticks; see (#timestamp-ticks).</documentation>
  </element>
  <element name="ReferenceFrame" path="\Segment\Cluster\BlockGroup\ReferenceFrame" id="0xC8" type="master" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains information about the last reference frame. See [@?DivXTrickTrack].</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="ReferenceOffset" path="\Segment\Cluster\BlockGroup\ReferenceFrame\ReferenceOffset" id="0xC9" type="uinteger" minver="0" maxver="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The relative offset, in bytes, from the previous `BlockGroup` element for this Smooth FF/RW video track to the containing `BlockGroup`
      element. See [@?DivXTrickTrack].
    </documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="ReferenceTimestamp" path="\Segment\Cluster\BlockGroup\ReferenceFrame\ReferenceTimestamp" id="0xCA" type="uinteger" minver="0" maxver="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The timestamp of the `BlockGroup` pointed to by ReferenceOffset, expressed in Track Ticks; see (#timestamp-ticks). See [@?DivXTrickTrack].</documentation>
    <extension type="libmatroska" cppname="ReferenceTimeCode"/>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="EncryptedBlock" path="\Segment\Cluster\EncryptedBlock" id="0xAF" type="binary" minver="0" maxver="0">
    <documentation lang="en" purpose="definition">
      Similar to `SimpleBlock` (see (#simpleblock-structure)),
      but the data inside the `Block` are Transformed (encrypted and/or signed).
    </documentation>
  </element>
  <element name="Tracks" path="\Segment\Tracks" id="0x1654AE6B" type="master" maxOccurs="1" recurring="1">
    <documentation lang="en" purpose="definition">A `Top-Level Element` of information with many tracks described.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TrackEntry" path="\Segment\Tracks\TrackEntry" id="0xAE" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Describes a track with all elements.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TrackNumber" path="\Segment\Tracks\TrackEntry\TrackNumber" id="0xD7" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The track number as used in the `Block` Header.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TrackUID" path="\Segment\Tracks\TrackEntry\TrackUID" id="0x73C5" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A UID that identifies the `Track`.</documentation>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TrackType" path="\Segment\Tracks\TrackEntry\TrackType" id="0x83" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The `TrackType` defines the type of each frame found in the `Track`.
      The value **SHOULD** be stored on 1 octet.
    </documentation>
    <extension type="enum source" registry="Track Type" policy="Specification Required"/>
    <restriction>
      <enum value="1" label="video">
        <documentation lang="en" purpose="definition">An image.</documentation>
      </enum>
      <enum value="2" label="audio">
        <documentation lang="en" purpose="definition">Audio samples.</documentation>
      </enum>
      <enum value="3" label="complex">
        <documentation lang="en" purpose="definition">A mix of different other `TrackType`. The codec needs to define how the `Matroska Player` should interpret such data.</documentation>
      </enum>
      <enum value="16" label="logo">
        <documentation lang="en" purpose="definition">An image to be rendered over the video track(s).</documentation>
      </enum>
      <enum value="17" label="subtitle">
        <documentation lang="en" purpose="definition">Subtitle or closed caption data to be rendered over the video track(s).</documentation>
      </enum>
      <enum value="18" label="buttons">
        <documentation lang="en" purpose="definition">Interactive button(s) to be rendered over the video track(s).</documentation>
      </enum>
      <enum value="32" label="control">
        <documentation lang="en" purpose="definition">Metadata used to control the player of the `Matroska Player`.</documentation>
      </enum>
      <enum value="33" label="metadata">
        <documentation lang="en" purpose="definition">Timed metadata that can be passed on to the `Matroska Player`.</documentation>
      </enum>
    </restriction>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="FlagEnabled" path="\Segment\Tracks\TrackEntry\FlagEnabled" id="0xB9" type="uinteger" minver="2" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if the track is usable. It is possible to turn a track that is not usable into a usable track using chapter codecs or control tracks.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="TrackFlagEnabled"/>
  </element>
  <element name="FlagDefault" path="\Segment\Tracks\TrackEntry\FlagDefault" id="0x88" type="uinteger" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if the track (audio, video, or subtitles) is eligible for automatic selection by the player; see (#default-track-selection) for more details.</documentation>
    <extension type="libmatroska" cppname="TrackFlagDefault"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="FlagForced" path="\Segment\Tracks\TrackEntry\FlagForced" id="0x55AA" type="uinteger" range="0-1" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Applies only to subtitles. Set to 1 if the track is eligible for automatic selection by the player if it matches the user's language preference,
      even if the user's preferences would not normally enable subtitles with the selected audio track;
      this can be used for tracks containing only translations of audio in foreign languages or on-screen text.
      See (#default-track-selection) for more details.
    </documentation>
    <extension type="libmatroska" cppname="TrackFlagForced"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="FlagHearingImpaired" path="\Segment\Tracks\TrackEntry\FlagHearingImpaired" id="0x55AB" type="uinteger" minver="4" range="0-1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if and only if the track is suitable for users with hearing impairments.</documentation>
  </element>
  <element name="FlagVisualImpaired" path="\Segment\Tracks\TrackEntry\FlagVisualImpaired" id="0x55AC" type="uinteger" minver="4" range="0-1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if and only if the track is suitable for users with visual impairments.</documentation>
  </element>
  <element name="FlagTextDescriptions" path="\Segment\Tracks\TrackEntry\FlagTextDescriptions" id="0x55AD" type="uinteger" minver="4" range="0-1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if and only if the track contains textual descriptions of video content.</documentation>
  </element>
  <element name="FlagOriginal" path="\Segment\Tracks\TrackEntry\FlagOriginal" id="0x55AE" type="uinteger" minver="4" range="0-1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if and only if the track is in the content's original language.</documentation>
  </element>
  <element name="FlagCommentary" path="\Segment\Tracks\TrackEntry\FlagCommentary" id="0x55AF" type="uinteger" minver="4" range="0-1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if and only if the track contains commentary.</documentation>
  </element>
  <element name="FlagLacing" path="\Segment\Tracks\TrackEntry\FlagLacing" id="0x9C" type="uinteger" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Set to 1 if the track **MAY** contain blocks that use lacing.
      When set to 0, all blocks **MUST** have their lacing flags set to "no lacing"; see (#block-lacing) on 'Block' Lacing.
    </documentation>
    <extension type="libmatroska" cppname="TrackFlagLacing"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="MinCache" path="\Segment\Tracks\TrackEntry\MinCache" id="0x6DE7" type="uinteger" minver="0" maxver="0" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The minimum number of frames a player should be able to cache during playback.
      If set to 0, the reference pseudo-cache system is not used.
    </documentation>
    <extension type="libmatroska" cppname="TrackMinCache"/>
  </element>
  <element name="MaxCache" path="\Segment\Tracks\TrackEntry\MaxCache" id="0x6DF8" type="uinteger" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The maximum cache size necessary to store referenced frames in and the current frame.
      0 means no cache is needed.
    </documentation>
    <extension type="libmatroska" cppname="TrackMaxCache"/>
  </element>
  <element name="DefaultDuration" path="\Segment\Tracks\TrackEntry\DefaultDuration" id="0x23E383" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Number of nanoseconds per frame, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks)
      ("frame" in the Matroska sense -- one element put into a (Simple)Block).
    </documentation>
    <extension type="libmatroska" cppname="TrackDefaultDuration"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="DefaultDecodedFieldDuration" path="\Segment\Tracks\TrackEntry\DefaultDecodedFieldDuration" id="0x234E7A" type="uinteger" minver="4" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The period between two successive fields at the output of the decoding process, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).
      See (#defaultdecodedfieldduration) for more information.
    </documentation>
    <extension type="libmatroska" cppname="TrackDefaultDecodedFieldDuration"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackTimestampScale" path="\Segment\Tracks\TrackEntry\TrackTimestampScale" id="0x23314F" type="float" maxver="3" range="&gt; 0x0p+0" default="0x1p+0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The scale to apply on this track to work at normal speed in relation with other tracks
      (mostly used to adjust video speed when the audio length differs).
    </documentation>
    <extension type="libmatroska" cppname="TrackTimecodeScale"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackOffset" path="\Segment\Tracks\TrackEntry\TrackOffset" id="0x537F" type="integer" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      A value to add to the `Block`'s Timestamp, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).
      This can be used to adjust the playback offset of a track.
    </documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="MaxBlockAdditionID" path="\Segment\Tracks\TrackEntry\MaxBlockAdditionID" id="0x55EE" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The maximum value of `BlockAddID` ((#blockaddid-element)).
      A value of 0 means there is no `BlockAdditions` ((#blockadditions-element)) for this track.
    </documentation>
  </element>
  <element name="BlockAdditionMapping" path="\Segment\Tracks\TrackEntry\BlockAdditionMapping" id="0x41E4" type="master" minver="4">
    <documentation lang="en" purpose="definition">
      Contains elements that extend the track format by adding content either to each frame,
      with `BlockAddID` ((#blockaddid-element)), or to the track as a whole
      with `BlockAddIDExtraData`.
    </documentation>
  </element>
  <element name="BlockAddIDValue" path="\Segment\Tracks\TrackEntry\BlockAdditionMapping\BlockAddIDValue" id="0x41F0" type="uinteger" minver="4" range="&gt;=2" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      If the track format extension needs content beside frames,
      the value refers to the `BlockAddID` ((#blockaddid-element)) value being described.
    </documentation>
    <documentation lang="en" purpose="usage notes">To keep `MaxBlockAdditionID` as low as possible, small values **SHOULD** be used.</documentation>
  </element>
  <element name="BlockAddIDName" path="\Segment\Tracks\TrackEntry\BlockAdditionMapping\BlockAddIDName" id="0x41A4" type="string" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      A human-friendly name describing the type of `BlockAdditional` data,
      as defined by the associated `Block Additional Mapping`.
    </documentation>
  </element>
  <element name="BlockAddIDType" path="\Segment\Tracks\TrackEntry\BlockAdditionMapping\BlockAddIDType" id="0x41E7" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Stores the registered identifier of the `Block Additional Mapping`
      to define how the `BlockAdditional` data should be handled.
    </documentation>
    <documentation lang="en" purpose="usage notes">If `BlockAddIDType` is 0, the `BlockAddIDValue` and corresponding `BlockAddID` values **MUST** be 1.</documentation>
  </element>
  <element name="BlockAddIDExtraData" path="\Segment\Tracks\TrackEntry\BlockAdditionMapping\BlockAddIDExtraData" id="0x41ED" type="binary" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Extra binary data that the `BlockAddIDType` can use to interpret the `BlockAdditional` data.
      The interpretation of the binary data depends on the `BlockAddIDType` value and the corresponding `Block Additional Mapping`.
    </documentation>
  </element>
  <element name="Name" path="\Segment\Tracks\TrackEntry\Name" id="0x536E" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">A human-readable track name.</documentation>
    <extension type="libmatroska" cppname="TrackName"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Language" path="\Segment\Tracks\TrackEntry\Language" id="0x22B59C" type="string" default="eng" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The language of the track,
      in the Matroska languages form; see (#language-codes) on language codes.
      This element **MUST** be ignored if the `LanguageBCP47` element is used in the same `TrackEntry`.
    </documentation>
    <extension type="libmatroska" cppname="TrackLanguage"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="LanguageBCP47" path="\Segment\Tracks\TrackEntry\LanguageBCP47" id="0x22B59D" type="string" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The language of the track,
      in the form defined in [@!RFC5646]; see (#language-codes) on language codes.
      If this element is used, then any `Language` elements used in the same `TrackEntry` **MUST** be ignored.
    </documentation>
    <extension type="libmatroska" cppname="LanguageIETF"/>
  </element>
  <element name="CodecID" path="\Segment\Tracks\TrackEntry\CodecID" id="0x86" type="string" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      An ID corresponding to the codec;
      see [@?I-D.ietf-cellar-codec] for more info.
    </documentation>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CodecPrivate" path="\Segment\Tracks\TrackEntry\CodecPrivate" id="0x63A2" type="binary" maxOccurs="1">
    <documentation lang="en" purpose="definition">Private data only known to the codec.</documentation>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CodecName" path="\Segment\Tracks\TrackEntry\CodecName" id="0x258688" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">A human-readable string specifying the codec.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="AttachmentLink" path="\Segment\Tracks\TrackEntry\AttachmentLink" id="0x7446" type="uinteger" maxver="3" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The UID of an attachment that is used by this codec.</documentation>
    <documentation lang="en" purpose="usage notes">The value **MUST** match the `FileUID` value of an attachment found in this `Segment`.</documentation>
    <extension type="libmatroska" cppname="TrackAttachmentLink"/>
  </element>
  <element name="CodecSettings" path="\Segment\Tracks\TrackEntry\CodecSettings" id="0x3A9697" type="utf-8" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">A string describing the encoding setting used.</documentation>
  </element>
  <element name="CodecInfoURL" path="\Segment\Tracks\TrackEntry\CodecInfoURL" id="0x3B4040" type="string" minver="0" maxver="0">
    <documentation lang="en" purpose="definition">A URL to find information about the codec used.</documentation>
  </element>
  <element name="CodecDownloadURL" path="\Segment\Tracks\TrackEntry\CodecDownloadURL" id="0x26B240" type="string" minver="0" maxver="0">
    <documentation lang="en" purpose="definition">A URL to download information about the codec used.</documentation>
  </element>
  <element name="CodecDecodeAll" path="\Segment\Tracks\TrackEntry\CodecDecodeAll" id="0xAA" type="uinteger" maxver="0" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if the codec can decode potentially damaged data.</documentation>
  </element>
  <element name="TrackOverlay" path="\Segment\Tracks\TrackEntry\TrackOverlay" id="0x6FAB" type="uinteger" maxver="0">
    <documentation lang="en" purpose="definition">
      Specify that this track is an overlay track for the `Track` specified (in the u-integer).
      This means that when this track has a gap on `SilentTracks`, the overlay track should be used instead. The order of multiple `TrackOverlay` matters; the first one is the one that should be used.
      If the first one is not found, it should be the second, etc.
    </documentation>
  </element>
  <element name="CodecDelay" path="\Segment\Tracks\TrackEntry\CodecDelay" id="0x56AA" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The built-in delay for the codec, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).
      It represents the number of codec samples that will be discarded by the decoder during playback.
      This timestamp value **MUST** be subtracted from each frame timestamp in order to get the timestamp that will be actually played.
      The value **SHOULD** be small so the muxing of tracks with the same actual timestamp are in the same `Cluster`.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="SeekPreRoll" path="\Segment\Tracks\TrackEntry\SeekPreRoll" id="0x56BB" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      After a discontinuity, the duration of the data
      that the decoder **MUST** decode before the decoded data is valid, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackTranslate" path="\Segment\Tracks\TrackEntry\TrackTranslate" id="0x6624" type="master">
    <documentation lang="en" purpose="definition">The mapping between this `TrackEntry` and a track value in the given Chapter Codec.</documentation>
    <documentation lang="en" purpose="rationale">
      Chapter Codecs may need to address content in a specific track, but they may not know of the way to identify tracks in Matroska.
      This element and its child elements add a way to map the internal tracks known to the Chapter Codec to the track IDs in Matroska.
      This allows remuxing a file with Chapter Codec without changing the content of the codec data, just the track mapping.
    </documentation>
  </element>
  <element name="TrackTranslateTrackID" path="\Segment\Tracks\TrackEntry\TrackTranslate\TrackTranslateTrackID" id="0x66A5" type="binary" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The binary value used to represent this `TrackEntry` in the chapter codec data.
      The format depends on the `ChapProcessCodecID` used; see (#chapprocesscodecid-element).
    </documentation>
  </element>
  <element name="TrackTranslateCodec" path="\Segment\Tracks\TrackEntry\TrackTranslate\TrackTranslateCodec" id="0x66BF" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Applies to the chapter codec of the given chapter edition(s); see (#chapprocesscodecid-element).</documentation>
    <extension type="enum source" source="Chapter Codec ID"/>
  </element>
  <element name="TrackTranslateEditionUID" path="\Segment\Tracks\TrackEntry\TrackTranslate\TrackTranslateEditionUID" id="0x66FC" type="uinteger">
    <documentation lang="en" purpose="definition">Specifies a chapter edition UID to which this `TrackTranslate` applies.</documentation>
    <documentation lang="en" purpose="usage notes">When no `TrackTranslateEditionUID` is specified in the `TrackTranslate`, the `TrackTranslate` applies to all chapter editions found in the `Segment` using the given `TrackTranslateCodec`.</documentation>
  </element>
  <element name="Video" path="\Segment\Tracks\TrackEntry\Video" id="0xE0" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">Video settings.</documentation>
    <extension type="libmatroska" cppname="TrackVideo"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="FlagInterlaced" path="\Segment\Tracks\TrackEntry\Video\FlagInterlaced" id="0x9A" type="uinteger" minver="2" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Specifies whether the video frames in this track are interlaced.</documentation>
    <restriction>
      <enum value="0" label="undetermined">
        <documentation lang="en" purpose="definition">Unknown status.</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD** be avoided.</documentation>
      </enum>
      <enum value="1" label="interlaced">
        <documentation lang="en" purpose="definition">Interlaced frames.</documentation>
      </enum>
      <enum value="2" label="progressive">
        <documentation lang="en" purpose="definition">No interlacing.</documentation>
      </enum>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoFlagInterlaced"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="FieldOrder" path="\Segment\Tracks\TrackEntry\Video\FieldOrder" id="0x9D" type="uinteger" minver="4" default="2" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Specifies the field ordering of video frames in this track.</documentation>
    <documentation lang="en" purpose="usage notes">If `FlagInterlaced` is not set to 1, this element **MUST** be ignored.</documentation>
    <restriction>
      <enum value="0" label="progressive">
        <documentation lang="en" purpose="definition">Interlaced frames.</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD** be avoided; setting `FlagInterlaced` to 2 is sufficient.</documentation>
      </enum>
      <enum value="1" label="tff">
        <documentation lang="en" purpose="definition">Top field displayed first. Top field stored first.</documentation>
      </enum>
      <enum value="2" label="undetermined">
        <documentation lang="en" purpose="definition">Unknown field order.</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD** be avoided.</documentation>
      </enum>
      <enum value="6" label="bff">
        <documentation lang="en" purpose="definition">Bottom field displayed first. Bottom field stored first.</documentation>
      </enum>
      <enum value="9" label="tff (interleaved)">
        <documentation lang="en" purpose="definition">Top field displayed first. Fields are interleaved in storage with the top line of the top field stored first.</documentation>
      </enum>
      <enum value="14" label="bff (interleaved)">
        <documentation lang="en" purpose="definition">Bottom field displayed first. Fields are interleaved in storage with the top line of the top field stored first.</documentation>
      </enum>
    </restriction>
    <extension type="libmatroska" cppname="VideoFieldOrder"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="StereoMode" path="\Segment\Tracks\TrackEntry\Video\StereoMode" id="0x53B8" type="uinteger" minver="3" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Stereo-3D video mode. See (#multi-planar-and-3d-videos) for more details.</documentation>
    <extension type="enum source" registry="Stereo Mode" policy="Specification Required"/>
    <restriction>
      <enum value="0" label="mono"/>
      <enum value="1" label="side by side (left eye first)"/>
      <enum value="2" label="top - bottom (right eye is first)"/>
      <enum value="3" label="top - bottom (left eye is first)"/>
      <enum value="4" label="checkboard (right eye is first)"/>
      <enum value="5" label="checkboard (left eye is first)"/>
      <enum value="6" label="row interleaved (right eye is first)"/>
      <enum value="7" label="row interleaved (left eye is first)"/>
      <enum value="8" label="column interleaved (right eye is first)"/>
      <enum value="9" label="column interleaved (left eye is first)"/>
      <enum value="10" label="anaglyph (cyan/red)"/>
      <enum value="11" label="side by side (right eye first)"/>
      <enum value="12" label="anaglyph (green/magenta)"/>
      <enum value="13" label="both eyes laced in one Block (left eye is first)"/>
      <enum value="14" label="both eyes laced in one Block (right eye is first)"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoStereoMode"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="AlphaMode" path="\Segment\Tracks\TrackEntry\Video\AlphaMode" id="0x53C0" type="uinteger" minver="3" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Indicates whether the `BlockAdditional` element with `BlockAddID` of "1"
      contains Alpha data as defined by the Codec Mapping for the `CodecID`.
      Undefined values (i.e., values other than 0 or 1) **SHOULD NOT** be used, as the
      behavior of known implementations is different.
    </documentation>
    <extension type="enum source" registry="Alpha Mode" policy="First Come First Served"/>
    <restriction>
      <enum value="0" label="none">
        <documentation lang="en" purpose="definition">The `BlockAdditional` element with `BlockAddID` of "1" does not exist or **SHOULD NOT** be considered as containing such data.</documentation>
      </enum>
      <enum value="1" label="present">
        <documentation lang="en" purpose="definition">The `BlockAdditional` element with `BlockAddID` of "1" contains alpha channel data.</documentation>
      </enum>
    </restriction>

    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoAlphaMode"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="OldStereoMode" path="\Segment\Tracks\TrackEntry\Video\OldStereoMode" id="0x53B9" type="uinteger" maxver="2" maxOccurs="1">
    <documentation lang="en" purpose="definition">Bogus `StereoMode` value used in old versions of [@?libmatroska].</documentation>
    <documentation lang="en" purpose="usage notes">This element **MUST NOT** be used. It was an incorrect value used in libmatroska up to 0.9.0.</documentation>
    <restriction>
      <enum value="0" label="mono"/>
      <enum value="1" label="right eye"/>
      <enum value="2" label="left eye"/>
      <enum value="3" label="both eyes"/>
    </restriction>
  </element>
  <element name="PixelWidth" path="\Segment\Tracks\TrackEntry\Video\PixelWidth" id="0xB0" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Width of the encoded video frames in pixels.</documentation>
    <extension type="libmatroska" cppname="VideoPixelWidth"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="PixelHeight" path="\Segment\Tracks\TrackEntry\Video\PixelHeight" id="0xBA" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Height of the encoded video frames in pixels.</documentation>
    <extension type="libmatroska" cppname="VideoPixelHeight"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="PixelCropBottom" path="\Segment\Tracks\TrackEntry\Video\PixelCropBottom" id="0x54AA" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The number of video pixels to remove at the bottom of the image.</documentation>
    <extension type="libmatroska" cppname="VideoPixelCropBottom"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="PixelCropTop" path="\Segment\Tracks\TrackEntry\Video\PixelCropTop" id="0x54BB" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The number of video pixels to remove at the top of the image.</documentation>
    <extension type="libmatroska" cppname="VideoPixelCropTop"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="PixelCropLeft" path="\Segment\Tracks\TrackEntry\Video\PixelCropLeft" id="0x54CC" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The number of video pixels to remove on the left of the image.</documentation>
    <extension type="libmatroska" cppname="VideoPixelCropLeft"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="PixelCropRight" path="\Segment\Tracks\TrackEntry\Video\PixelCropRight" id="0x54DD" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The number of video pixels to remove on the right of the image.</documentation>
    <extension type="libmatroska" cppname="VideoPixelCropRight"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="DisplayWidth" path="\Segment\Tracks\TrackEntry\Video\DisplayWidth" id="0x54B0" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Width of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).</documentation>
    <implementation_note note_attribute="default">If the DisplayUnit of the same `TrackEntry` is 0, then the default value for `DisplayWidth` is equal to `PixelWidth` - `PixelCropLeft` - `PixelCropRight`; else, there is no default value.</implementation_note>
    <extension type="libmatroska" cppname="VideoDisplayWidth"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="DisplayHeight" path="\Segment\Tracks\TrackEntry\Video\DisplayHeight" id="0x54BA" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Height of the video frames to display. Applies to the video frame after cropping (PixelCrop* Elements).</documentation>
    <implementation_note note_attribute="default">If the DisplayUnit of the same `TrackEntry` is 0, then the default value for `DisplayHeight` is equal to `PixelHeight` - `PixelCropTop` - `PixelCropBottom`; else, there is no default value.</implementation_note>
    <extension type="libmatroska" cppname="VideoDisplayHeight"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="DisplayUnit" path="\Segment\Tracks\TrackEntry\Video\DisplayUnit" id="0x54B2" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">How `DisplayWidth` and `DisplayHeight` are interpreted.</documentation>
    <extension type="enum source" registry="Display Unit" policy="Specification Required"/>
    <restriction>
      <enum value="0" label="pixels"/>
      <enum value="1" label="centimeters"/>
      <enum value="2" label="inches"/>
      <enum value="3" label="display aspect ratio"/>
      <enum value="4" label="unknown"/>
    </restriction>
    <extension type="libmatroska" cppname="VideoDisplayUnit"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="AspectRatioType" path="\Segment\Tracks\TrackEntry\Video\AspectRatioType" id="0x54B3" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Specifies the possible modifications to the aspect ratio.</documentation>
    <restriction>
      <enum value="0" label="free resizing"/>
      <enum value="1" label="keep aspect ratio"/>
      <enum value="2" label="fixed"/>
    </restriction>
    <extension type="libmatroska" cppname="VideoAspectRatio"/>
  </element>
  <element name="UncompressedFourCC" path="\Segment\Tracks\TrackEntry\Video\UncompressedFourCC" id="0x2EB524" type="binary" length="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies the uncompressed pixel format used for the `Track`'s data as a FourCC.
      This value is similar in scope to the biCompression value of AVI's `BITMAPINFO` [@?AVIFormat]. There is neither a definitive list of FourCC values nor an official registry. Some common values for YUV pixel formats can be found at [@?MSYUV8], [@?MSYUV16], and [@?FourCC-YUV]. Some common values for uncompressed RGB pixel formats can be found at [@?MSRGB] and [@?FourCC-RGB].
    </documentation>
    <implementation_note note_attribute="minOccurs">UncompressedFourCC **MUST** be set (minOccurs=1) in `TrackEntry` when the `CodecID` element of the `TrackEntry` is set to "V_UNCOMPRESSED".</implementation_note>
    <extension type="libmatroska" cppname="VideoColourSpace"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="GammaValue" path="\Segment\Tracks\TrackEntry\Video\GammaValue" id="0x2FB523" type="float" minver="0" maxver="0" range="&gt; 0x0p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Gamma value.</documentation>
    <extension type="libmatroska" cppname="VideoGamma"/>
  </element>
  <element name="FrameRate" path="\Segment\Tracks\TrackEntry\Video\FrameRate" id="0x2383E3" type="float" minver="0" maxver="0" range="&gt; 0x0p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Number of frames per second. This value is informational only. It is intended for constant frame rate streams and should not be
      used for a variable frame rate `TrackEntry`.
    </documentation>
    <extension type="libmatroska" cppname="VideoFrameRate"/>
  </element>
  <element name="Colour" path="\Segment\Tracks\TrackEntry\Video\Colour" id="0x55B0" type="master" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">Settings describing the color format.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColour"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="MatrixCoefficients" path="\Segment\Tracks\TrackEntry\Video\Colour\MatrixCoefficients" id="0x55B1" type="uinteger" minver="4" default="2" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The Matrix Coefficients of the video used to derive luma and chroma values from red, green, and blue color primaries.
      For clarity, the value and meanings for `MatrixCoefficients` are adopted from Table 4 of [@!ITU-H.273].
    </documentation>
    <restriction>
      <enum value="0" label="Identity"/>
      <enum value="1" label="ITU-R BT.709"/>
      <enum value="2" label="unspecified"/>
      <enum value="3" label="reserved"/>
      <enum value="4" label="US FCC 73.682"/>
      <enum value="5" label="ITU-R BT.470BG"/>
      <enum value="6" label="SMPTE 170M"/>
      <enum value="7" label="SMPTE 240M"/>
      <enum value="8" label="YCoCg"/>
      <enum value="9" label="BT2020 Non-constant Luminance"/>
      <enum value="10" label="BT2020 Constant Luminance"/>
      <enum value="11" label="SMPTE ST 2085"/>
      <enum value="12" label="Chroma-derived Non-constant Luminance"/>
      <enum value="13" label="Chroma-derived Constant Luminance"/>
      <enum value="14" label="ITU-R BT.2100-0"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourMatrix"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="BitsPerChannel" path="\Segment\Tracks\TrackEntry\Video\Colour\BitsPerChannel" id="0x55B2" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Number of decoded bits per channel. A value of 0 indicates that the `BitsPerChannel` is unspecified.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoBitsPerChannel"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ChromaSubsamplingHorz" path="\Segment\Tracks\TrackEntry\Video\Colour\ChromaSubsamplingHorz" id="0x55B3" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The number of pixels to remove in the Cr and Cb channels for every pixel not removed horizontally. Example: For video with 4:2:0 chroma subsampling, the `ChromaSubsamplingHorz`
      **SHOULD** be set to 1.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoChromaSubsampHorz"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ChromaSubsamplingVert" path="\Segment\Tracks\TrackEntry\Video\Colour\ChromaSubsamplingVert" id="0x55B4" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The number of pixels to remove in the Cr and Cb channels for every pixel not removed vertically.
      Example: For video with 4:2:0 chroma subsampling, the `ChromaSubsamplingVert`
      **SHOULD** be set to 1.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoChromaSubsampVert"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="CbSubsamplingHorz" path="\Segment\Tracks\TrackEntry\Video\Colour\CbSubsamplingHorz" id="0x55B5" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The number of pixels to remove in the Cb channel for every pixel not removed horizontally.
      This is additive with `ChromaSubsamplingHorz`.
      Example: For video with 4:2:1 chroma
      subsampling, the `ChromaSubsamplingHorz` **SHOULD** be set to 1, and `CbSubsamplingHorz` **SHOULD** be set to 1.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoCbSubsampHorz"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="CbSubsamplingVert" path="\Segment\Tracks\TrackEntry\Video\Colour\CbSubsamplingVert" id="0x55B6" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The number of pixels to remove in the Cb channel for every pixel not removed vertically.
      This is additive with `ChromaSubsamplingVert`.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoCbSubsampVert"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ChromaSitingHorz" path="\Segment\Tracks\TrackEntry\Video\Colour\ChromaSitingHorz" id="0x55B7" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">How chroma is subsampled horizontally.</documentation>
    <extension type="enum source" registry="Horizontal Chroma Siting" policy="First Come First Served"/>
    <restriction>
      <enum value="0" label="unspecified"/>
      <enum value="1" label="left collocated"/>
      <enum value="2" label="half"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoChromaSitHorz"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ChromaSitingVert" path="\Segment\Tracks\TrackEntry\Video\Colour\ChromaSitingVert" id="0x55B8" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">How chroma is subsampled vertically.</documentation>
    <extension type="enum source" registry="Vertical Chroma Siting" policy="First Come First Served"/>
    <restriction>
      <enum value="0" label="unspecified"/>
      <enum value="1" label="top collocated"/>
      <enum value="2" label="half"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoChromaSitVert"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="Range" path="\Segment\Tracks\TrackEntry\Video\Colour\Range" id="0x55B9" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Clipping of the color ranges.</documentation>
    <extension type="enum source" registry="Color Range" policy="Specification Required"/>
    <restriction>
      <enum value="0" label="unspecified"/>
      <enum value="1" label="broadcast range"/>
      <enum value="2" label="full range (no clipping)"/>
      <enum value="3" label="defined by MatrixCoefficients / TransferCharacteristics"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourRange"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TransferCharacteristics" path="\Segment\Tracks\TrackEntry\Video\Colour\TransferCharacteristics" id="0x55BA" type="uinteger" minver="4" default="2" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The transfer characteristics of the video. For clarity,
      the value and meanings for `TransferCharacteristics` are adopted from Table 3 of [@!ITU-H.273].
    </documentation>
    <restriction>
      <enum value="0" label="reserved"/>
      <enum value="1" label="ITU-R BT.709"/>
      <enum value="2" label="unspecified"/>
      <enum value="3" label="reserved2"/>
      <enum value="4" label="Gamma 2.2 curve - BT.470M"/>
      <enum value="5" label="Gamma 2.8 curve - BT.470BG"/>
      <enum value="6" label="SMPTE 170M"/>
      <enum value="7" label="SMPTE 240M"/>
      <enum value="8" label="Linear"/>
      <enum value="9" label="Log"/>
      <enum value="10" label="Log Sqrt"/>
      <enum value="11" label="IEC 61966-2-4"/>
      <enum value="12" label="ITU-R BT.1361 Extended Colour Gamut"/>
      <enum value="13" label="IEC 61966-2-1"/>
      <enum value="14" label="ITU-R BT.2020 10 bit"/>
      <enum value="15" label="ITU-R BT.2020 12 bit"/>
      <enum value="16" label="ITU-R BT.2100 Perceptual Quantization"/>
      <enum value="17" label="SMPTE ST 428-1"/>
      <enum value="18" label="ARIB STD-B67 (HLG)"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourTransferCharacter"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="Primaries" path="\Segment\Tracks\TrackEntry\Video\Colour\Primaries" id="0x55BB" type="uinteger" minver="4" default="2" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The color primaries of the video. For clarity,
      the value and meanings for `Primaries` are adopted from Table 2 of [@!ITU-H.273].
    </documentation>
    <restriction>
      <enum value="0" label="reserved"/>
      <enum value="1" label="ITU-R BT.709"/>
      <enum value="2" label="unspecified"/>
      <enum value="3" label="reserved2"/>
      <enum value="4" label="ITU-R BT.470M"/>
      <enum value="5" label="ITU-R BT.470BG - BT.601 625"/>
      <enum value="6" label="ITU-R BT.601 525 - SMPTE 170M"/>
      <enum value="7" label="SMPTE 240M"/>
      <enum value="8" label="FILM"/>
      <enum value="9" label="ITU-R BT.2020"/>
      <enum value="10" label="SMPTE ST 428-1"/>
      <enum value="11" label="SMPTE RP 432-2"/>
      <enum value="12" label="SMPTE EG 432-2"/>
      <enum value="22" label="EBU Tech. 3213-E - JEDEC P22 phosphors"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourPrimaries"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="MaxCLL" path="\Segment\Tracks\TrackEntry\Video\Colour\MaxCLL" id="0x55BC" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Maximum brightness of a single pixel (Maximum Content Light Level)
      in candelas per square meter (cd/m^2^).
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourMaxCLL"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="MaxFALL" path="\Segment\Tracks\TrackEntry\Video\Colour\MaxFALL" id="0x55BD" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Maximum brightness of a single full frame (Maximum Frame-Average Light Level)
      in candelas per square meter (cd/m^2^).
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourMaxFALL"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="MasteringMetadata" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata" id="0x55D0" type="master" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">SMPTE 2086 mastering data.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoColourMasterMeta"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="PrimaryRChromaticityX" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\PrimaryRChromaticityX" id="0x55D1" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Red X chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoRChromaX"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="PrimaryRChromaticityY" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\PrimaryRChromaticityY" id="0x55D2" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Red Y chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoRChromaY"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="PrimaryGChromaticityX" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\PrimaryGChromaticityX" id="0x55D3" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Green X chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoGChromaX"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="PrimaryGChromaticityY" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\PrimaryGChromaticityY" id="0x55D4" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Green Y chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoGChromaY"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="PrimaryBChromaticityX" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\PrimaryBChromaticityX" id="0x55D5" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Blue X chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoBChromaX"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="PrimaryBChromaticityY" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\PrimaryBChromaticityY" id="0x55D6" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Blue Y chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoBChromaY"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="WhitePointChromaticityX" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\WhitePointChromaticityX" id="0x55D7" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">White X chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoWhitePointChromaX"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="WhitePointChromaticityY" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\WhitePointChromaticityY" id="0x55D8" type="float" minver="4" range="0x0p+0-0x1p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">White Y chromaticity coordinate, as defined by [@!CIE-1931].</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoWhitePointChromaY"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="LuminanceMax" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\LuminanceMax" id="0x55D9" type="float" minver="4" range="&gt;= 0x0p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Maximum luminance. Represented in candelas per square meter (cd/m^2^).</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoLuminanceMax"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="LuminanceMin" path="\Segment\Tracks\TrackEntry\Video\Colour\MasteringMetadata\LuminanceMin" id="0x55DA" type="float" minver="4" range="&gt;= 0x0p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Minimum luminance. Represented in candelas per square meter (cd/m^2^).</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoLuminanceMin"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="Projection" path="\Segment\Tracks\TrackEntry\Video\Projection" id="0x7670" type="master" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">Describes the video projection details. Used to render spherical or VR videos or to flip videos horizontally or vertically.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoProjection"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ProjectionType" path="\Segment\Tracks\TrackEntry\Video\Projection\ProjectionType" id="0x7671" type="uinteger" minver="4" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Describes the projection used for this video track.</documentation>
    <extension type="enum source" registry="Projection Type" policy="First Come First Served"/>
    <restriction>
      <enum value="0" label="rectangular"/>
      <enum value="1" label="equirectangular"/>
      <enum value="2" label="cubemap"/>
      <enum value="3" label="mesh"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoProjectionType"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ProjectionPrivate" path="\Segment\Tracks\TrackEntry\Video\Projection\ProjectionPrivate" id="0x7672" type="binary" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Private data that only applies to a specific projection.
      *  If `ProjectionType` equals 0 (rectangular),
      then this element **MUST NOT** be present.
      *  If `ProjectionType` equals 1 (equirectangular), then this element **MUST** be present and contain the same binary data that would be stored inside
      an ISOBMFF Equirectangular Projection Box ("equi").
      *  If `ProjectionType` equals 2 (cubemap), then this element **MUST** be present and contain the same binary data that would be stored
      inside an ISOBMFF Cubemap Projection Box ("cbmp").
      *  If `ProjectionType` equals 3 (mesh), then this element **MUST** be present and contain the same binary data that would be stored inside
      an ISOBMFF Mesh Projection Box ("mshp").
    </documentation>
    <documentation lang="en" purpose="usage notes">
      ISOBMFF box size and FourCC fields are not included in the binary data,
      but the FullBox version and flag fields are. This is to avoid
      redundant framing information while preserving versioning and semantics between the two container formats.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoProjectionPrivate"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ProjectionPoseYaw" path="\Segment\Tracks\TrackEntry\Video\Projection\ProjectionPoseYaw" id="0x7673" type="float" minver="4" range="&gt;= -0xB4p+0, &lt;= 0xB4p+0" default="0x0p+0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies a yaw rotation to the projection. Value represents a clockwise rotation, in degrees, around the up vector. This rotation must be applied
      before any `ProjectionPosePitch` or `ProjectionPoseRoll` rotations.
      The value of this element **MUST** be in the -180 to 180 degree range, both inclusive.

      Setting `ProjectionPoseYaw` to 180 or -180 degrees with `ProjectionPoseRoll` and `ProjectionPosePitch` set to 0 degrees flips the image horizontally.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoProjectionPoseYaw"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ProjectionPosePitch" path="\Segment\Tracks\TrackEntry\Video\Projection\ProjectionPosePitch" id="0x7674" type="float" minver="4" range="&gt;= -0x5Ap+0, &lt;= 0x5Ap+0" default="0x0p+0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies a pitch rotation to the projection. Value represents a counter-clockwise rotation, in degrees, around the right vector. This rotation must be applied
      after the `ProjectionPoseYaw` rotation and before the `ProjectionPoseRoll` rotation.
      The value of this element **MUST** be in the -90 to 90 degree range, both inclusive.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoProjectionPosePitch"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ProjectionPoseRoll" path="\Segment\Tracks\TrackEntry\Video\Projection\ProjectionPoseRoll" id="0x7675" type="float" minver="4" range="&gt;= -0xB4p+0, &lt;= 0xB4p+0" default="0x0p+0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies a roll rotation to the projection. Value represents a
      counter-clockwise rotation, in degrees, around the forward vector. This
      rotation must be applied after the `ProjectionPoseYaw` and
      `ProjectionPosePitch` rotations.  The value of this element
      **MUST** be in the -180 to 180 degree range, both inclusive. Setting `ProjectionPoseRoll` to 180 or -180 degrees and
      `ProjectionPoseYaw` to 180 or -180 degrees with
      `ProjectionPosePitch` set to 0 degrees flips the image vertically.
      Setting `ProjectionPoseRoll` to 180 or -180 degrees with
      `ProjectionPoseYaw` and `ProjectionPosePitch` set to 0 degrees
      flips the image horizontally and vertically.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="VideoProjectionPoseRoll"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="Audio" path="\Segment\Tracks\TrackEntry\Audio" id="0xE1" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">Audio settings.</documentation>
    <extension type="libmatroska" cppname="TrackAudio"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="SamplingFrequency" path="\Segment\Tracks\TrackEntry\Audio\SamplingFrequency" id="0xB5" type="float" range="&gt; 0x0p+0" default="0x1.f4p+12" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Sampling frequency in Hz.</documentation>
    <extension type="libmatroska" cppname="AudioSamplingFreq"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="OutputSamplingFrequency" path="\Segment\Tracks\TrackEntry\Audio\OutputSamplingFrequency" id="0x78B5" type="float" range="&gt; 0x0p+0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Real output sampling frequency in Hz that is used for Spectral Band Replication (SBR) techniques.</documentation>
    <implementation_note note_attribute="default">The default value for `OutputSamplingFrequency` of the same `TrackEntry` is equal to the `SamplingFrequency`.</implementation_note>
    <extension type="libmatroska" cppname="AudioOutputSamplingFreq"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Channels" path="\Segment\Tracks\TrackEntry\Audio\Channels" id="0x9F" type="uinteger" range="not 0" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Numbers of channels in the track.</documentation>
    <extension type="libmatroska" cppname="AudioChannels"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ChannelPositions" path="\Segment\Tracks\TrackEntry\Audio\ChannelPositions" id="0x7D7B" type="binary" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Table of horizontal angles for each successive channel.</documentation>
    <extension type="libmatroska" cppname="AudioPosition"/>
  </element>
  <element name="BitDepth" path="\Segment\Tracks\TrackEntry\Audio\BitDepth" id="0x6264" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Bits per sample, mostly used for PCM.</documentation>
    <extension type="libmatroska" cppname="AudioBitDepth"/>
    <extension type="stream copy" keep="1"/>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Emphasis" path="\Segment\Tracks\TrackEntry\Audio\Emphasis" id="0x52F1" type="uinteger" minver="5" default="0" minOccurs="1" maxOccurs="1" >
    <documentation lang="en" purpose="definition">Audio emphasis applied on audio samples. The player **MUST** apply the inverse emphasis to get the proper audio samples.</documentation>
    <restriction>
      <enum value="0" label="No emphasis"/>
      <enum value="1" label="CD audio">
        <documentation lang="en" purpose="definition">First order filter with zero point at 50 microseconds and a pole at 15 microseconds. Also found on DVD Audio and MPEG audio.</documentation>
      </enum>
      <enum value="2" label="reserved"/>
      <enum value="3" label="CCIT J.17">
        <documentation lang="en" purpose="definition">Defined in [@!ITU-J.17].</documentation>
      </enum>
      <enum value="4" label="FM 50">
        <documentation lang="en" purpose="definition">FM Radio in Europe. RC Filter with a time constant of 50 microseconds.</documentation>
      </enum>
      <enum value="5" label="FM 75">
        <documentation lang="en" purpose="definition">FM Radio in the USA. RC Filter with a time constant of 75 microseconds.</documentation>
      </enum>
      <enum value="10" label="Phono RIAA">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=3180, t2=318 and t3=75 microseconds. [@!NAB1964]</documentation>
      </enum>
      <enum value="11" label="Phono IEC N78">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=3180, t2=450 and t3=50 microseconds.</documentation>
      </enum>
      <enum value="12" label="Phono TELDEC">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=3180, t2=318 and t3=50 microseconds.</documentation>
      </enum>
      <enum value="13" label="Phono EMI">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=2500, t2=500 and t3=70 microseconds.</documentation>
      </enum>
      <enum value="14" label="Phono Columbia LP">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=1590, t2=318 and t3=100 microseconds.</documentation>
      </enum>
      <enum value="15" label="Phono LONDON">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=1590, t2=318 and t3=50 microseconds.</documentation>
      </enum>
      <enum value="16" label="Phono NARTB">
        <documentation lang="en" purpose="definition">Phono filter with time constants of t1=3180, t2=318 and t3=100 microseconds.</documentation>
      </enum>
    </restriction>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackOperation" path="\Segment\Tracks\TrackEntry\TrackOperation" id="0xE2" type="master" minver="3" maxOccurs="1">
    <documentation lang="en" purpose="definition">Operation that needs to be applied on tracks to create this virtual track. For more details, see (#track-operation).</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackCombinePlanes" path="\Segment\Tracks\TrackEntry\TrackOperation\TrackCombinePlanes" id="0xE3" type="master" minver="3" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains the list of all video plane tracks that need to be combined to create this 3D track.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackPlane" path="\Segment\Tracks\TrackEntry\TrackOperation\TrackCombinePlanes\TrackPlane" id="0xE4" type="master" minver="3" minOccurs="1">
    <documentation lang="en" purpose="definition">Contains a video plane track that needs to be combined to create this 3D track.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackPlaneUID" path="\Segment\Tracks\TrackEntry\TrackOperation\TrackCombinePlanes\TrackPlane\TrackPlaneUID" id="0xE5" type="uinteger" minver="3" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `TrackUID` number of the track representing the plane.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackPlaneType" path="\Segment\Tracks\TrackEntry\TrackOperation\TrackCombinePlanes\TrackPlane\TrackPlaneType" id="0xE6" type="uinteger" minver="3" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The kind of plane this track corresponds to.</documentation>
    <extension type="enum source" registry="Track Plane Type" policy="First Come First Served"/>
    <restriction>
      <enum value="0" label="left eye"/>
      <enum value="1" label="right eye"/>
      <enum value="2" label="background"/>
    </restriction>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackJoinBlocks" path="\Segment\Tracks\TrackEntry\TrackOperation\TrackJoinBlocks" id="0xE9" type="master" minver="3" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains the list of all tracks whose `Blocks` need to be combined to create this virtual track.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrackJoinUID" path="\Segment\Tracks\TrackEntry\TrackOperation\TrackJoinBlocks\TrackJoinUID" id="0xED" type="uinteger" minver="3" range="not 0" minOccurs="1">
    <documentation lang="en" purpose="definition">The `TrackUID` number of a track whose blocks are used to create this virtual track.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="TrickTrackUID" path="\Segment\Tracks\TrackEntry\TrickTrackUID" id="0xC0" type="uinteger" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `TrackUID` of the Smooth FF/RW video in the paired EBML structure corresponding to this video track. See [@?DivXTrickTrack].</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="TrickTrackSegmentUID" path="\Segment\Tracks\TrackEntry\TrickTrackSegmentUID" id="0xC1" type="binary" minver="0" maxver="0" length="16" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `SegmentUUID` of the `Segment` containing the track identified by TrickTrackUID. See [@?DivXTrickTrack].</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="TrickTrackFlag" path="\Segment\Tracks\TrackEntry\TrickTrackFlag" id="0xC6" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Set to 1 if this video track is a Smooth FF/RW track. If set to 1, `MasterTrackUID` and `MasterTrackSegUID` should be present, and
      `BlockGroups` for this track must contain ReferenceFrame structures.
      Otherwise, TrickTrackUID and TrickTrackSegUID must be present if this track has a corresponding Smooth FF/RW track. See [@?DivXTrickTrack].
    </documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="TrickMasterTrackUID" path="\Segment\Tracks\TrackEntry\TrickMasterTrackUID" id="0xC7" type="uinteger" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `TrackUID` of the video track in the paired EBML structure that corresponds to this Smooth FF/RW track. See [@?DivXTrickTrack].</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="TrickMasterTrackSegmentUID" path="\Segment\Tracks\TrackEntry\TrickMasterTrackSegmentUID" id="0xC4" type="binary" minver="0" maxver="0" length="16" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `SegmentUUID` of the `Segment` containing the track identified by MasterTrackUID. See [@?DivXTrickTrack].</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="ContentEncodings" path="\Segment\Tracks\TrackEntry\ContentEncodings" id="0x6D80" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">Settings for several content encoding mechanisms like compression or encryption.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncoding" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding" id="0x6240" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Settings for one content encoding like compression or encryption.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncodingOrder" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncodingOrder" id="0x5031" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Defines the order to apply each `ContentEncoding` of the `ContentEncodings`.
      The decoder/demuxer **MUST** start with the `ContentEncoding` with the highest `ContentEncodingOrder` and work its way down to the `ContentEncoding` with the lowest `ContentEncodingOrder`.
      This value **MUST** be unique for each `ContentEncoding` found in the `ContentEncodings` of this `TrackEntry`.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncodingScope" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncodingScope" id="0x5032" type="uinteger" range="not 0" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A bit field that describes which elements have been modified in this way. Values (big-endian) can be OR'ed.</documentation>
    <extension type="enum source" registry="Content Encoding Scope" policy="Specification Required" bitfield="1"/>
    <restriction>
      <enum value="0x1" label="Block">
        <documentation lang="en" purpose="definition">All frame contents, excluding lacing data.</documentation>
      </enum>
      <enum value="0x2" label="Private">
        <documentation lang="en" purpose="definition">The track's `CodecPrivate` data.</documentation>
      </enum>
      <enum value="0x4" label="Next">
        <documentation lang="en" purpose="definition">The next ContentEncoding (next `ContentEncodingOrder`; the data inside `ContentCompression` and/or `ContentEncryption`).</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD NOT** be used, as it's not supported by players.</documentation>
      </enum>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncodingType" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncodingType" id="0x5033" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A value describing the kind of transformation that is applied.</documentation>
    <extension type="enum source" registry="Content Encoding Type" policy="Specification Required"/>
    <restriction>
      <enum value="0" label="Compression"/>
      <enum value="1" label="Encryption"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentCompression" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentCompression" id="0x5034" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Settings describing the compression used.
      This element **MUST** be present if the value of `ContentEncodingType` is 0 and absent otherwise.
      Each block **MUST** be decompressable, even if no previous block is available in order to not prevent seeking.
    </documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentCompAlgo" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentCompression\ContentCompAlgo" id="0x4254" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The compression algorithm used.</documentation>
    <documentation lang="en" purpose="usage notes">Compression method "1" (bzlib) and "2" (lzo1x) lack proper documentation on the format, which limits implementation possibilities. Due to licensing conflicts on commonly available libraries' compression methods, "2" (lzo1x) does not offer widespread interoperability. A `Matroska Writer` **SHOULD NOT** use these compression methods by default. A `Matroska Reader` **MAY** support methods "1" and "2" and **SHOULD** support other methods.</documentation>
    <extension type="enum source" registry="Compression Algorithm" policy="Specification Required"/>
    <restriction>
      <enum value="0" label="zlib">
        <documentation lang="en" purpose="definition">zlib compression [@!RFC1950].</documentation>
      </enum>
      <enum value="1" label="bzlib">
        <documentation lang="en" purpose="definition">bzip2 compression [@?BZIP2] **SHOULD NOT** be used; see usage notes.</documentation>
      </enum>
      <enum value="2" label="lzo1x">
        <documentation lang="en" purpose="definition">Lempel-Ziv-Oberhumer compression [@?LZO] **SHOULD NOT** be used; see usage notes.</documentation>
      </enum>
      <enum value="3" label="Header Stripping">
        <documentation lang="en" purpose="definition">Octets in `ContentCompSettings` ((#contentcompsettings-element)) have been stripped from each frame.</documentation>
      </enum>
    </restriction>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentCompSettings" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentCompression\ContentCompSettings" id="0x4255" type="binary" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Settings that might be needed by the decompressor. For Header Stripping (`ContentCompAlgo`=3),
      the bytes that were removed from the beginning of each frame of the track.
    </documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncryption" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption" id="0x5035" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Settings describing the encryption used.
      This element **MUST** be present if the value of `ContentEncodingType` is 1 (encryption) and **MUST** be ignored otherwise.
      A `Matroska Player` **MAY** support encryption.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncAlgo" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentEncAlgo" id="0x47E1" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The encryption algorithm used.</documentation>
    <extension type="enum source" registry="Encryption Algorithm" policy="First Come First Served"/>
    <restriction>
      <enum value="0" label="Not encrypted">
        <documentation lang="en" purpose="definition">The data are not encrypted.</documentation>
      </enum>
      <enum value="1" label="DES">
        <documentation lang="en" purpose="definition">Data Encryption Standard (DES) [@?FIPS46-3].</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD** be avoided.</documentation>
      </enum>
      <enum value="2" label="3DES">
        <documentation lang="en" purpose="definition">Triple Data Encryption Algorithm [@?SP800-67].</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD** be avoided.</documentation>
      </enum>
      <enum value="3" label="Twofish">
        <documentation lang="en" purpose="definition">Twofish Encryption Algorithm [@?Twofish].</documentation>
      </enum>
      <enum value="4" label="Blowfish">
        <documentation lang="en" purpose="definition">Blowfish Encryption Algorithm [@?Blowfish].</documentation>
        <documentation lang="en" purpose="usage notes">This value **SHOULD** be avoided.</documentation>
      </enum>
      <enum value="5" label="AES">
        <documentation lang="en" purpose="definition">Advanced Encryption Standard (AES) [@?FIPS197].</documentation>
      </enum>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncKeyID" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentEncKeyID" id="0x47E2" type="binary" maxOccurs="1">
    <documentation lang="en" purpose="definition">For public key algorithms, the ID of the public key that the data was encrypted with.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentEncAESSettings" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentEncAESSettings" id="0x47E7" type="master" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">Settings describing the encryption algorithm used.</documentation>
    <implementation_note note_attribute="maxOccurs">ContentEncAESSettings **MUST NOT** be set (maxOccurs=0) if ContentEncAlgo is not AES (5).</implementation_note>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="AESSettingsCipherMode" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentEncAESSettings\AESSettingsCipherMode" id="0x47E8" type="uinteger" minver="4" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The AES cipher mode used in the encryption.</documentation>
    <implementation_note note_attribute="maxOccurs">AESSettingsCipherMode **MUST NOT** be set (maxOccurs=0) if ContentEncAlgo is not AES (5).</implementation_note>
    <extension type="enum source" registry="AES Cipher Mode" policy="First Come First Served"/>
    <restriction>
      <enum value="1" label="AES-CTR">
        <documentation lang="en" purpose="definition">Counter [@?SP800-38A]</documentation>
      </enum>
      <enum value="2" label="AES-CBC">
        <documentation lang="en" purpose="definition">Cipher Block Chaining [@?SP800-38A]</documentation>
      </enum>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ContentSignature" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentSignature" id="0x47E3" type="binary" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">A cryptographic signature of the contents.</documentation>
  </element>
  <element name="ContentSigKeyID" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentSigKeyID" id="0x47E4" type="binary" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">This is the ID of the private key that the data was signed with.</documentation>
  </element>
  <element name="ContentSigAlgo" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentSigAlgo" id="0x47E5" type="uinteger" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The algorithm used for the signature.</documentation>
    <restriction>
      <enum value="0" label="Not signed"/>
      <enum value="1" label="RSA"/>
    </restriction>
  </element>
  <element name="ContentSigHashAlgo" path="\Segment\Tracks\TrackEntry\ContentEncodings\ContentEncoding\ContentEncryption\ContentSigHashAlgo" id="0x47E6" type="uinteger" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">The hash algorithm used for the signature.</documentation>
    <restriction>
      <enum value="0" label="Not signed"/>
      <enum value="1" label="SHA1-160"/>
      <enum value="2" label="MD5"/>
    </restriction>
  </element>
  <element name="Cues" path="\Segment\Cues" id="0x1C53BB6B" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      A `Top-Level Element` to speed seeking access.  All entries are
      local to the `Segment`.
    </documentation>
    <implementation_note note_attribute="minOccurs">This element **SHOULD** be set when the `Segment` is not transmitted as a live stream; see (#livestreaming).</implementation_note>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CuePoint" path="\Segment\Cues\CuePoint" id="0xBB" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Contains all information relative to a seek point in the `Segment`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueTime" path="\Segment\Cues\CuePoint\CueTime" id="0xB3" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Absolute timestamp of the seek point, expressed in Segment Ticks, which are based on `TimestampScale`; see (#timestamp-ticks).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueTrackPositions" path="\Segment\Cues\CuePoint\CueTrackPositions" id="0xB7" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Contains positions for different tracks corresponding to the timestamp.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueTrack" path="\Segment\Cues\CuePoint\CueTrackPositions\CueTrack" id="0xF7" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The track for which a position is given.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueClusterPosition" path="\Segment\Cues\CuePoint\CueTrackPositions\CueClusterPosition" id="0xF1" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `Segment Position` ((#segment-position)) of the `Cluster` containing the associated `Block`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueRelativePosition" path="\Segment\Cues\CuePoint\CueTrackPositions\CueRelativePosition" id="0xF0" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The relative position inside the `Cluster` of the referenced `SimpleBlock` or `BlockGroup`
      with 0 being the first possible position for an element inside that `Cluster`.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueDuration" path="\Segment\Cues\CuePoint\CueTrackPositions\CueDuration" id="0xB2" type="uinteger" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The duration of the block, expressed in Segment Ticks, which are based on `TimestampScale`; see (#timestamp-ticks).
      If missing, the track's `DefaultDuration` does not apply and no duration information is available in terms of the cues.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueBlockNumber" path="\Segment\Cues\CuePoint\CueTrackPositions\CueBlockNumber" id="0x5378" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">Number of the `Block` in the specified `Cluster`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="CueCodecState" path="\Segment\Cues\CuePoint\CueTrackPositions\CueCodecState" id="0xEA" type="uinteger" minver="2" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The `Segment Position` ((#segment-position)) of the
      Codec State corresponding to this `Cues` element. 0 means that the
      data is taken from the initial `TrackEntry`.
    </documentation>
  </element>
  <element name="CueReference" path="\Segment\Cues\CuePoint\CueTrackPositions\CueReference" id="0xDB" type="master" minver="2">
    <documentation lang="en" purpose="definition">The `Clusters` containing the referenced `Blocks`.</documentation>
  </element>
  <element name="CueRefTime" path="\Segment\Cues\CuePoint\CueTrackPositions\CueReference\CueRefTime" id="0x96" type="uinteger" minver="2" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Timestamp of the referenced `Block`, expressed in Segment Ticks which is based on `TimestampScale`; see (#timestamp-ticks).</documentation>
  </element>
  <element name="CueRefCluster" path="\Segment\Cues\CuePoint\CueTrackPositions\CueReference\CueRefCluster" id="0x97" type="uinteger" minver="0" maxver="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `Segment Position` of the `Cluster` containing the referenced `Block`.</documentation>
  </element>
  <element name="CueRefNumber" path="\Segment\Cues\CuePoint\CueTrackPositions\CueReference\CueRefNumber" id="0x535F" type="uinteger" minver="0" maxver="0" range="not 0" default="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Number of the referenced `Block` of Track X in the specified `Cluster`.</documentation>
  </element>
  <element name="CueRefCodecState" path="\Segment\Cues\CuePoint\CueTrackPositions\CueReference\CueRefCodecState" id="0xEB" type="uinteger" minver="0" maxver="0" default="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The `Segment Position` of the Codec State corresponding to this referenced element.
      0 means that the data is taken from the initial `TrackEntry`.
    </documentation>
  </element>
  <element name="Attachments" path="\Segment\Attachments" id="0x1941A469" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains attached files.</documentation>
  </element>
  <element name="AttachedFile" path="\Segment\Attachments\AttachedFile" id="0x61A7" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">An attached file.</documentation>
    <extension type="libmatroska" cppname="Attached"/>
  </element>
  <element name="FileDescription" path="\Segment\Attachments\AttachedFile\FileDescription" id="0x467E" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">A human-friendly name for the attached file.</documentation>
  </element>
  <element name="FileName" path="\Segment\Attachments\AttachedFile\FileName" id="0x466E" type="utf-8" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Filename of the attached file.</documentation>
  </element>
  <element name="FileMediaType" path="\Segment\Attachments\AttachedFile\FileMediaType" id="0x4660" type="string" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Media type of the file following the format described in [@!RFC6838].</documentation>
    <extension type="libmatroska" cppname="MimeType"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="FileData" path="\Segment\Attachments\AttachedFile\FileData" id="0x465C" type="binary" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The data of the file.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="FileUID" path="\Segment\Attachments\AttachedFile\FileUID" id="0x46AE" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">UID representing the file, as random as possible.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="FileReferral" path="\Segment\Attachments\AttachedFile\FileReferral" id="0x4675" type="binary" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">A binary value that a track/codec can refer to when the attachment is needed.</documentation>
  </element>
  <element name="FileUsedStartTime" path="\Segment\Attachments\AttachedFile\FileUsedStartTime" id="0x4661" type="uinteger" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The timestamp at which this optimized font attachment comes into context, expressed in Segment Ticks, which are based on
      `TimestampScale`. See [@?DivXWorldFonts].
    </documentation>
    <documentation lang="en" purpose="usage notes">This element is reserved for future use and if written **MUST** be the segment start timestamp.</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="FileUsedEndTime" path="\Segment\Attachments\AttachedFile\FileUsedEndTime" id="0x4662" type="uinteger" minver="0" maxver="0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The timestamp at which this optimized font attachment goes out of context, expressed in Segment Ticks, which are based on
      `TimestampScale`. See [@?DivXWorldFonts].
    </documentation>
    <documentation lang="en" purpose="usage notes">This element is reserved for future use and if written **MUST** be the segment end timestamp.</documentation>
    <extension type="divx.com" divx="1"/>
  </element>
  <element name="Chapters" path="\Segment\Chapters" id="0x1043A770" type="master" maxOccurs="1" recurring="1">
    <documentation lang="en" purpose="definition">
      A system to define basic menus and partition data.
      For more detailed information, see (#chapters).
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="EditionEntry" path="\Segment\Chapters\EditionEntry" id="0x45B9" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">Contains all information about a `Segment` edition.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="EditionUID" path="\Segment\Chapters\EditionEntry\EditionUID" id="0x45BC" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">A UID that identifies the edition. It's useful for tagging an edition.</documentation>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="EditionFlagHidden" path="\Segment\Chapters\EditionEntry\EditionFlagHidden" id="0x45BD" type="uinteger" range="0-1" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Set to 1 if an edition is hidden. Hidden editions **SHOULD NOT** be available to the user interface
      (but still be available to Control Tracks; see (#chapter-flags) on `Chapter` flags).
    </documentation>
    <extension type="other document" spec="control-track"/>
  </element>
  <element name="EditionFlagDefault" path="\Segment\Chapters\EditionEntry\EditionFlagDefault" id="0x45DB" type="uinteger" range="0-1" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if the edition **SHOULD** be used as the default one.</documentation>
  </element>
  <element name="EditionFlagOrdered" path="\Segment\Chapters\EditionEntry\EditionFlagOrdered" id="0x45DD" type="uinteger" range="0-1" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Set to 1 if the chapters can be defined multiple times and the order to play them is enforced; see (#editionflagordered).</documentation>
  </element>
  <element name="EditionDisplay" path="\Segment\Chapters\EditionEntry\EditionDisplay" id="0x4520" type="master" minver="5">
    <documentation lang="en" purpose="definition">Contains a possible string to use for the edition display for the given languages.</documentation>
  </element>
  <element name="EditionString" path="\Segment\Chapters\EditionEntry\EditionDisplay\EditionString" id="0x4521" type="utf-8" minver="5" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains the string to use as the edition name.</documentation>
  </element>
  <element name="EditionLanguageIETF" path="\Segment\Chapters\EditionEntry\EditionDisplay\EditionLanguageIETF" id="0x45E4" type="string" minver="5">
    <documentation lang="en" purpose="definition">
      One language corresponding to the EditionString,
      in the form defined in [@!RFC5646]; see (#language-codes) on language codes.
    </documentation>
  </element>
  <element name="ChapterAtom" path="\Segment\Chapters\EditionEntry\+ChapterAtom" id="0xB6" type="master" minOccurs="1" recursive="1">
    <documentation lang="en" purpose="definition">Contains the atom information to use as the chapter atom (applies to all tracks).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ChapterUID" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterUID" id="0x73C4" type="uinteger" range="not 0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A UID that identifies the `Chapter`.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="stream copy" keep="1"/>
  </element>
  <element name="ChapterStringUID" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterStringUID" id="0x5654" type="utf-8" minver="3" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      A unique string ID that identifies the `Chapter`.
      For example, it is used as the storage for cue identifier values [@?WebVTT].
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ChapterTimeStart" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterTimeStart" id="0x91" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Timestamp of the start of `Chapter`, expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ChapterTimeEnd" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterTimeEnd" id="0x92" type="uinteger" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Timestamp of the end of `Chapter` (timestamp excluded), expressed in Matroska Ticks -- i.e., in nanoseconds; see (#timestamp-ticks).
      The value **MUST** be greater than or equal to the `ChapterTimeStart` of the same `ChapterAtom`.
    </documentation>
    <documentation lang="en" purpose="usage notes">
      With the `ChapterTimeEnd` timestamp value being excluded, it **MUST** take into account the duration of
      the last frame it includes, especially for the `ChapterAtom` using the last frames of the `Segment`.
    </documentation>
    <implementation_note note_attribute="minOccurs">ChapterTimeEnd **MUST** be set (minOccurs=1) if the `Edition` is an ordered edition; see (#editionflagordered). If it's a `Parent Chapter`, see (#nested-chapters).</implementation_note>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ChapterFlagHidden" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterFlagHidden" id="0x98" type="uinteger" range="0-1" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Set to 1 if a chapter is hidden.
      Hidden chapters **SHOULD NOT** be available to the user interface
      (but still be available to Control Tracks; see (#chapterflaghidden) on `Chapter` flags).
    </documentation>
  </element>
  <element name="ChapterFlagEnabled" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterFlagEnabled" id="0x4598" type="uinteger" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Set to 1 if the chapter is enabled. It can be enabled/disabled by a Control Track.
      When disabled, the movie **SHOULD** skip all the content between the TimeStart and TimeEnd of this chapter; see (#chapter-flags) on `Chapter` flags.
    </documentation>
    <extension type="other document" spec="control-track"/>
  </element>
  <element name="ChapterSegmentUUID" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterSegmentUUID" id="0x6E67" type="binary" length="16" maxOccurs="1">
    <documentation lang="en" purpose="definition">The `SegmentUUID` of another `Segment` to play during this chapter.</documentation>
    <documentation lang="en" purpose="usage notes">The value **MUST NOT** be the `SegmentUUID` value of the `Segment` it belongs to.</documentation>
    <implementation_note note_attribute="minOccurs">`ChapterSegmentUUID` **MUST** be set (minOccurs=1) if `ChapterSegmentEditionUID` is used; see (#medium-linking) on Medium-Linking `Segments`.</implementation_note>
    <extension type="libmatroska" cppname="ChapterSegmentUID"/>
  </element>
  <element name="ChapterSkipType" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterSkipType" id="0x4588" type="uinteger" minver="5" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Indicates what type of content the `ChapterAtom` contains and might be skipped.
      It can be used to automatically skip content based on the type.
      If a `ChapterAtom` is inside a `ChapterAtom` that has a `ChapterSkipType` set, it
      **MUST NOT** have a `ChapterSkipType` or have a `ChapterSkipType` with the same value as it's parent `ChapterAtom`.
      If the `ChapterAtom` doesn't contain a `ChapterTimeEnd`, the value of the `ChapterSkipType` is only valid until the next `ChapterAtom` with a `ChapterSkipType` value or the end of the file.
    </documentation>
    <extension type="webmproject.org" webm="0"/>
    <restriction>
      <enum value="0" label="No Skipping">
        <documentation lang="en" purpose="definition">Content which should not be skipped.</documentation>
      </enum>
      <enum value="1" label="Opening Credits">
        <documentation lang="en" purpose="definition">Credits usually found at the beginning of the content.</documentation>
      </enum>
      <enum value="2" label="End Credits">
        <documentation lang="en" purpose="definition">Credits usually found at the end of the content.</documentation>
      </enum>
      <enum value="3" label="Recap">
        <documentation lang="en" purpose="definition">Recap of previous episodes of the content, usually found around the beginning.</documentation>
      </enum>
      <enum value="4" label="Next Preview">
        <documentation lang="en" purpose="definition">Preview of the next episode of the content, usually found around the end. It may contain spoilers the user wants to avoid.</documentation>
      </enum>
      <enum value="5" label="Preview">
        <documentation lang="en" purpose="definition">Preview of the current episode of the content, usually found around the beginning. It may contain spoilers the user want to avoid.</documentation>
      </enum>
      <enum value="6" label="Advertisement">
        <documentation lang="en" purpose="definition">Advertisement within the content.</documentation>
      </enum>
      <enum value="7" label="Intermission">
        <documentation lang="en" purpose="definition">A pause of content between main parts of the content.</documentation>
      </enum>
    </restriction>
  </element>
  <element name="ChapterSegmentEditionUID" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterSegmentEditionUID" id="0x6EBC" type="uinteger" range="not 0" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The `EditionUID` to play from the `Segment` linked in `ChapterSegmentUUID`.
      If `ChapterSegmentEditionUID` is undeclared, then no `Edition` of the `Linked Segment` is used; see (#medium-linking) on Medium-Linking `Segments`.
    </documentation>
  </element>
  <element name="ChapterPhysicalEquiv" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterPhysicalEquiv" id="0x63C3" type="uinteger" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies the physical equivalent of this `ChapterAtom`, e.g., "DVD" (60) or "SIDE" (50);
      see (#physical-types) for a complete list of values.
    </documentation>
  </element>
  <element name="ChapterTrack" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterTrack" id="0x8F" type="master" maxOccurs="1">
    <documentation lang="en" purpose="definition">List of tracks on which the chapter applies. If this element is not present, all tracks apply.</documentation>
    <extension type="other document" spec="control-track"/>
  </element>
  <element name="ChapterTrackUID" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterTrack\ChapterTrackUID" id="0x89" type="uinteger" range="not 0" minOccurs="1">
    <documentation lang="en" purpose="definition">
      UID of the `Track` to apply this chapter to.
      In the absence of a control track, choosing this chapter will select the listed `Tracks` and deselect unlisted tracks.
      Absence of this element indicates that the `Chapter` **SHOULD** be applied to any currently used `Tracks`.
    </documentation>
    <extension type="libmatroska" cppname="ChapterTrackNumber"/>
    <extension type="other document" spec="control-track"/>
  </element>
  <element name="ChapterDisplay" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterDisplay" id="0x80" type="master">
    <documentation lang="en" purpose="definition">Contains all possible strings to use for the chapter display.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="ChapString" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterDisplay\ChapString" id="0x85" type="utf-8" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains the string to use as the chapter atom.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="ChapterString"/>
  </element>
  <element name="ChapLanguage" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterDisplay\ChapLanguage" id="0x437C" type="string" default="eng" minOccurs="1">
    <documentation lang="en" purpose="definition">
      A language corresponding to the string,
      in the Matroska languages form; see (#language-codes) on language codes.
      This element **MUST** be ignored if a `ChapLanguageBCP47` element is used within the same `ChapterDisplay` element.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="ChapterLanguage"/>
  </element>
  <element name="ChapLanguageBCP47" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterDisplay\ChapLanguageBCP47" id="0x437D" type="string" minver="4">
    <documentation lang="en" purpose="definition">
      A language corresponding to the `ChapString`,
      in the form defined in [@!RFC5646]; see (#language-codes) on language codes.
      If a `ChapLanguageBCP47` element is used, then any `ChapLanguage` and `ChapCountry` elements used in the same `ChapterDisplay` **MUST** be ignored.
    </documentation>
    <extension type="libmatroska" cppname="ChapLanguageIETF"/>
  </element>
  <element name="ChapCountry" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapterDisplay\ChapCountry" id="0x437E" type="string">
    <documentation lang="en" purpose="definition">
      A country corresponding to the string,
      in the Matroska countries form; see (#country-codes) on country codes.
      This element **MUST** be ignored if a `ChapLanguageBCP47` element is used within the same `ChapterDisplay` element.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="ChapterCountry"/>
  </element>
  <element name="ChapProcess" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapProcess" id="0x6944" type="master">
    <documentation lang="en" purpose="definition">Contains all the commands associated with the Atom.</documentation>
    <extension type="libmatroska" cppname="ChapterProcess"/>
  </element>
  <element name="ChapProcessCodecID" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapProcess\ChapProcessCodecID" id="0x6955" type="uinteger" default="0" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Contains the type of the codec used for processing.</documentation>
    <extension type="enum source" registry="Chapter Codec ID" policy="Specification Required"/>
    <restriction>
      <enum value="0" label="Matroska Script">
        <documentation lang="en" purpose="definition">Chapter commands using the Matroska Script codec.</documentation>
      </enum>
      <enum value="1" label="DVD-menu">
        <documentation lang="en" purpose="definition">Chapter commands using the DVD-like codec.</documentation>
      </enum>
    </restriction>
    <extension type="libmatroska" cppname="ChapterProcessCodecID"/>
  </element>
  <element name="ChapProcessPrivate" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapProcess\ChapProcessPrivate" id="0x450D" type="binary" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Optional data attached to the `ChapProcessCodecID` information.
      For `ChapProcessCodecID` = 1, it is the "DVD level" equivalent; see (#menu-features) on DVD menus.
    </documentation>
    <extension type="libmatroska" cppname="ChapterProcessPrivate"/>
  </element>
  <element name="ChapProcessCommand" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapProcess\ChapProcessCommand" id="0x6911" type="master">
    <documentation lang="en" purpose="definition">Contains all the commands associated with the Atom.</documentation>
    <extension type="libmatroska" cppname="ChapterProcessCommand"/>
  </element>
  <element name="ChapProcessTime" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapProcess\ChapProcessCommand\ChapProcessTime" id="0x6922" type="uinteger" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">Defines when the process command **SHOULD** be handled.</documentation>
    <restriction>
      <enum value="0" label="during the whole chapter"/>
      <enum value="1" label="before starting playback"/>
      <enum value="2" label="after playback of the chapter"/>
    </restriction>
    <extension type="libmatroska" cppname="ChapterProcessTime"/>
  </element>
  <element name="ChapProcessData" path="\Segment\Chapters\EditionEntry\+ChapterAtom\ChapProcess\ChapProcessCommand\ChapProcessData" id="0x6933" type="binary" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Contains the command information.
      The data **SHOULD** be interpreted depending on the `ChapProcessCodecID` value. For `ChapProcessCodecID` = 1,
      the data correspond to the binary DVD cell pre/post commands; see (#menu-features) on DVD menus.
    </documentation>
    <extension type="libmatroska" cppname="ChapterProcessData"/>
  </element>
  <element name="Tags" path="\Segment\Tags" id="0x1254C367" type="master">
    <documentation lang="en" purpose="definition">
      Element containing metadata describing `Tracks`, `Editions`, `Chapters`, `Attachments`, or the `Segment` as a whole.
      A list of valid tags can be found in [@?I-D.ietf-cellar-tags].
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Tag" path="\Segment\Tags\Tag" id="0x7373" type="master" minOccurs="1">
    <documentation lang="en" purpose="definition">A single metadata descriptor.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="Targets" path="\Segment\Tags\Tag\Targets" id="0x63C0" type="master" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies which other elements the metadata represented by the tag value applies to.
      If empty or omitted, then the tag value describes everything in the `Segment`.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="TagTargets"/>
  </element>
  <element name="TargetTypeValue" path="\Segment\Tags\Tag\Targets\TargetTypeValue" id="0x68CA" type="uinteger" range="not 0" default="50" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A number to indicate the logical level of the target.</documentation>
    <documentation lang="en" purpose="usage notes">
      The `TargetTypeValue` values are meant to be compared.
      Higher values **MUST** correspond to a logical level that contains the lower logical level `TargetTypeValue` values.
    </documentation>
    <extension type="enum source" registry="Tags Target Type" policy="Specification Required"/>
    <restriction>
      <enum value="10" label="SHOT">
        <documentation lang="en" purpose="definition">The lowest hierarchy found in music or movies.</documentation>
      </enum>
      <enum value="20" label="SUBTRACK / MOVEMENT / SCENE">
        <documentation lang="en" purpose="definition">Corresponds to parts of a track for audio, such as a movement or scene in a movie.</documentation>
      </enum>
      <enum value="30" label="TRACK / SONG / CHAPTER">
        <documentation lang="en" purpose="definition">The common parts of an album or movie.</documentation>
      </enum>
      <enum value="40" label="PART / SESSION">
        <documentation lang="en" purpose="definition">When an album or episode has different logical parts.</documentation>
      </enum>
      <enum value="50" label="ALBUM / OPERA / CONCERT / MOVIE / EPISODE">
        <documentation lang="en" purpose="definition">The most common grouping level of music and video (e.g., an episode for TV series).</documentation>
      </enum>
      <enum value="60" label="EDITION / ISSUE / VOLUME / OPUS / SEASON / SEQUEL">
        <documentation lang="en" purpose="definition">A list of lower levels grouped together.</documentation>
      </enum>
      <enum value="70" label="COLLECTION">
        <documentation lang="en" purpose="definition">The highest hierarchical level that tags can describe.</documentation>
      </enum>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="TagTargetTypeValue"/>
  </element>
  <element name="TargetType" path="\Segment\Tags\Tag\Targets\TargetType" id="0x63CA" type="string" maxOccurs="1">
    <documentation lang="en" purpose="definition">An informational string that can be used to display the logical level of the target, such as "ALBUM", "TRACK", "MOVIE", "CHAPTER", etc.</documentation>
    <restriction>
      <enum value="COLLECTION" label="TargetTypeValue 70"/>
      <enum value="EDITION" label="TargetTypeValue 60"/>
      <enum value="ISSUE" label="TargetTypeValue 60"/>
      <enum value="VOLUME" label="TargetTypeValue 60"/>
      <enum value="OPUS" label="TargetTypeValue 60"/>
      <enum value="SEASON" label="TargetTypeValue 60"/>
      <enum value="SEQUEL" label="TargetTypeValue 60"/>
      <enum value="ALBUM" label="TargetTypeValue 50"/>
      <enum value="OPERA" label="TargetTypeValue 50"/>
      <enum value="CONCERT" label="TargetTypeValue 50"/>
      <enum value="MOVIE" label="TargetTypeValue 50"/>
      <enum value="EPISODE" label="TargetTypeValue 50"/>
      <enum value="PART" label="TargetTypeValue 40"/>
      <enum value="SESSION" label="TargetTypeValue 40"/>
      <enum value="TRACK" label="TargetTypeValue 30"/>
      <enum value="SONG" label="TargetTypeValue 30"/>
      <enum value="CHAPTER" label="TargetTypeValue 30"/>
      <enum value="SUBTRACK" label="TargetTypeValue 20"/>
      <enum value="MOVEMENT" label="TargetTypeValue 20"/>
      <enum value="SCENE" label="TargetTypeValue 20"/>
      <enum value="SHOT" label="TargetTypeValue 10"/>
    </restriction>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="TagTargetType"/>
  </element>
  <element name="TagTrackUID" path="\Segment\Tags\Tag\Targets\TagTrackUID" id="0x63C5" type="uinteger" default="0">
    <documentation lang="en" purpose="definition">A UID that identifies the `Track(s)` that the tags belong to.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the value is 0 at this level, the tags apply to all tracks in the `Segment`.
      If set to any other value, it **MUST** match the `TrackUID` value of a track found in this `Segment`.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TagEditionUID" path="\Segment\Tags\Tag\Targets\TagEditionUID" id="0x63C9" type="uinteger" default="0">
    <documentation lang="en" purpose="definition">A UID that identifies the `EditionEntry(s)` that the tags belong to.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the value is 0 at this level, the tags apply to all editions in the `Segment`.
      If set to any other value, it **MUST** match the `EditionUID` value of an edition found in this `Segment`.
    </documentation>
  </element>
  <element name="TagChapterUID" path="\Segment\Tags\Tag\Targets\TagChapterUID" id="0x63C4" type="uinteger" default="0">
    <documentation lang="en" purpose="definition">A UID that identifies the `Chapter(s)` that the tags belong to.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the value is 0 at this level, the tags apply to all chapters in the `Segment`.
      If set to any other value, it **MUST** match the `ChapterUID` value of a chapter found in this `Segment`.
    </documentation>
  </element>
  <element name="TagAttachmentUID" path="\Segment\Tags\Tag\Targets\TagAttachmentUID" id="0x63C6" type="uinteger" default="0">
    <documentation lang="en" purpose="definition">A UID that identifies the Attachment(s) that the tags belong to.</documentation>
    <documentation lang="en" purpose="usage notes">
      If the value is 0 at this level, the tags apply to all the attachments in
      the `Segment`.  If set to any other value, it **MUST** match
      the `FileUID` value of an attachment found in this `Segment`.
    </documentation>
  </element>
  <element name="SimpleTag" path="\Segment\Tags\Tag\+SimpleTag" id="0x67C8" type="master" minOccurs="1" recursive="1">
    <documentation lang="en" purpose="definition">Contains general information about the target.</documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="TagSimple"/>
  </element>
  <element name="TagName" path="\Segment\Tags\Tag\+SimpleTag\TagName" id="0x45A3" type="utf-8" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">The name of the tag value that is going to be stored.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TagLanguage" path="\Segment\Tags\Tag\+SimpleTag\TagLanguage" id="0x447A" type="string" default="und" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      Specifies the language of the specified tag in the Matroska languages form; see (#language-codes) on language codes.
      This element **MUST** be ignored if the `TagLanguageBCP47` element is used within the same `SimpleTag` element.
    </documentation>
    <extension type="webmproject.org" webm="1"/>
    <extension type="libmatroska" cppname="TagLangue"/>
  </element>
  <element name="TagLanguageBCP47" path="\Segment\Tags\Tag\+SimpleTag\TagLanguageBCP47" id="0x447B" type="string" minver="4" maxOccurs="1">
    <documentation lang="en" purpose="definition">
      The language used in the `TagString`,
      in the form defined in [@!RFC5646]; see (#language-codes) on language codes.
      If this element is used, then any `TagLanguage` elements used in the same `SimpleTag` **MUST** be ignored.
    </documentation>
    <extension type="libmatroska" cppname="TagLanguageIETF"/>
  </element>
  <element name="TagDefault" path="\Segment\Tags\Tag\+SimpleTag\TagDefault" id="0x4484" type="uinteger" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A boolean value to indicate if this is the default/original language to use for the given tag.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TagDefaultBogus" path="\Segment\Tags\Tag\+SimpleTag\TagDefaultBogus" id="0x44B4" type="uinteger" minver="0" maxver="0" range="0-1" default="1" minOccurs="1" maxOccurs="1">
    <documentation lang="en" purpose="definition">A variant of the `TagDefault` element with a bogus element ID; see (#tagdefault-element).</documentation>
  </element>
  <element name="TagString" path="\Segment\Tags\Tag\+SimpleTag\TagString" id="0x4487" type="utf-8" maxOccurs="1">
    <documentation lang="en" purpose="definition">The tag value.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
  <element name="TagBinary" path="\Segment\Tags\Tag\+SimpleTag\TagBinary" id="0x4485" type="binary" maxOccurs="1">
    <documentation lang="en" purpose="definition">The tag value if it is binary. Note that this cannot be used in the same `SimpleTag` as `TagString`.</documentation>
    <extension type="webmproject.org" webm="1"/>
  </element>
</EBMLSchema>