-
Notifications
You must be signed in to change notification settings - Fork 12
/
schema.js
2313 lines (2308 loc) · 65.3 KB
/
schema.js
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
/*jslint node: true, vars: true, nomen: true */
'use strict';
var byEbmlID = {
0x80: {
name: "ChapterDisplay",
level: 4,
type: "m",
multiple: true,
webm: true,
description: "Contains all possible strings to use for the chapter display."
},
0x83: {
name: "TrackType",
level: 3,
type: "u",
mandatory: true,
description: "The `TrackType` defines the type of each frame found in the Track. The value **SHOULD** be stored on 1 octet."
},
0x85: {
name: "ChapString",
cppname: "ChapterString",
level: 5,
type: "8",
mandatory: true,
webm: true,
description: "Contains the string to use as the chapter atom."
},
0x86: {
name: "CodecID",
level: 3,
type: "s",
mandatory: true,
description: "An ID corresponding to the codec, see [@!MatroskaCodec] for more info."
},
0x88: {
name: "FlagDefault",
cppname: "TrackFlagDefault",
level: 3,
type: "u",
mandatory: true,
"default": "1",
range: "0-1",
description: "Set if that track (audio, video or subs) **SHOULD** be eligible for automatic selection by the player; see (#default-track-selection) for more details."
},
0x89: {
name: "ChapterTrackUID",
cppname: "ChapterTrackNumber",
level: 5,
type: "u",
mandatory: true,
multiple: true,
range: "not 0",
description: "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."
},
0x8e: {
name: "Slices",
level: 3,
type: "m",
maxver: 0,
description: "Contains slices description."
},
0x8f: {
name: "ChapterTrack",
level: 4,
type: "m",
description: "List of tracks on which the chapter applies. If this Element is not present, all tracks apply"
},
0x91: {
name: "ChapterTimeStart",
level: 4,
type: "u",
mandatory: true,
webm: true,
description: "Timestamp of the start of Chapter, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."
},
0x92: {
name: "ChapterTimeEnd",
level: 4,
type: "u",
webm: true,
description: "Timestamp of the end of Chapter timestamp excluded, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks). The value **MUST** be greater than or equal to the `ChapterTimeStart` of the same `ChapterAtom`."
},
0x96: {
name: "CueRefTime",
level: 5,
type: "u",
mandatory: true,
minver: 2,
description: "Timestamp of the referenced Block, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."
},
0x97: {
name: "CueRefCluster",
level: 5,
type: "u",
mandatory: true,
minver: 0,
maxver: 0,
description: "The Segment Position of the Cluster containing the referenced Block."
},
0x98: {
name: "ChapterFlagHidden",
level: 4,
type: "u",
mandatory: true,
"default": "0",
range: "0-1",
description: "Set to 1 if a chapter is hidden. Hidden chapters **SHOULD NOT** be available to the user interface (but still to Control Tracks; see (#chapterflaghidden) on Chapter flags)."
},
0x9a: {
name: "FlagInterlaced",
cppname: "VideoFlagInterlaced",
level: 4,
type: "u",
mandatory: true,
minver: 2,
webm: true,
"default": "0",
description: "Specify whether the video frames in this track are interlaced or not."
},
0x9b: {
name: "BlockDuration",
level: 3,
type: "u",
description: "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."
},
0x9c: {
name: "FlagLacing",
cppname: "TrackFlagLacing",
level: 3,
type: "u",
mandatory: true,
"default": "1",
range: "0-1",
description: "Set to 1 if the track **MAY** contain blocks using lacing. When set to 0 all blocks **MUST** have their lacing flags set to No lacing; see (#block-lacing) on Block Lacing."
},
0x9d: {
name: "FieldOrder",
cppname: "VideoFieldOrder",
level: 4,
type: "u",
mandatory: true,
minver: 4,
"default": "2",
description: "Specify the field ordering of video frames in this track."
},
0x9f: {
name: "Channels",
cppname: "AudioChannels",
level: 4,
type: "u",
mandatory: true,
"default": "1",
range: "not 0",
description: "Numbers of channels in the track."
},
0xa0: {
name: "BlockGroup",
level: 2,
type: "m",
multiple: true,
description: "Basic container of information containing a single Block and information specific to that Block."
},
0xa1: {
name: "Block",
level: 3,
type: "b",
mandatory: true,
description: "Block containing the actual data to be rendered and a timestamp relative to the Cluster Timestamp; see (#block-structure) on Block Structure."
},
0xa2: {
name: "BlockVirtual",
level: 3,
type: "b",
minver: 0,
maxver: 0,
description: "A Block with no data. It **MUST** be stored in the stream at the place the real Block would be in display order. "
},
0xa3: {
name: "SimpleBlock",
level: 2,
type: "b",
multiple: true,
minver: 2,
webm: true,
divx: true,
description: "Similar to Block, see (#block-structure), but without all the extra information, mostly used to reduced overhead when no extra feature is needed; see (#simpleblock-structure) on SimpleBlock Structure."
},
0xa4: {
name: "CodecState",
level: 3,
type: "b",
minver: 2,
description: "The new codec state to use. Data interpretation is private to the codec. This information **SHOULD** always be referenced by a seek entry."
},
0xa5: {
name: "BlockAdditional",
level: 5,
type: "b",
mandatory: true,
webm: true,
description: "Interpreted by the codec as it wishes (using the BlockAddID)."
},
0xa6: {
name: "BlockMore",
level: 4,
type: "m",
mandatory: true,
multiple: true,
webm: true,
description: "Contain the BlockAdditional and some parameters."
},
0xa7: {
name: "Position",
cppname: "ClusterPosition",
level: 2,
type: "u",
description: "The Segment Position of the Cluster in the Segment (0 in live streams). It might help to resynchronise offset on damaged streams."
},
0xaa: {
name: "CodecDecodeAll",
level: 3,
type: "u",
mandatory: true,
maxver: 0,
"default": "1",
range: "0-1",
description: "Set to 1 if the codec can decode potentially damaged data."
},
0xab: {
name: "PrevSize",
cppname: "ClusterPrevSize",
level: 2,
type: "u",
description: "Size of the previous Cluster, in octets. Can be useful for backward playing."
},
0xae: {
name: "TrackEntry",
level: 2,
type: "m",
mandatory: true,
multiple: true,
description: "Describes a track with all Elements."
},
0xaf: {
name: "EncryptedBlock",
level: 2,
type: "b",
multiple: true,
minver: 0,
maxver: 0,
description: "Similar to SimpleBlock, see (#simpleblock-structure), but the data inside the Block are Transformed (encrypt and/or signed)."
},
0xb0: {
name: "PixelWidth",
cppname: "VideoPixelWidth",
level: 4,
type: "u",
mandatory: true,
range: "not 0",
description: "Width of the encoded video frames in pixels."
},
0xb2: {
name: "CueDuration",
level: 4,
type: "u",
minver: 4,
webm: true,
description: "The duration of the block, expressed in Segment Ticks which is 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."
},
0xb3: {
name: "CueTime",
level: 3,
type: "u",
mandatory: true,
description: "Absolute timestamp of the seek point, expressed in Matroska Ticks -- ie in nanoseconds; see (#timestamp-ticks)."
},
0xb5: {
name: "SamplingFrequency",
cppname: "AudioSamplingFreq",
level: 4,
type: "f",
mandatory: true,
"default": "0x1.f4p+12",
range: "> 0x0p+0",
description: "Sampling frequency in Hz."
},
0xb6: {
name: "ChapterAtom",
level: 3,
type: "m",
mandatory: true,
multiple: true,
webm: true,
description: "Contains the atom information to use as the chapter atom (apply to all tracks)."
},
0xb7: {
name: "CueTrackPositions",
level: 3,
type: "m",
mandatory: true,
multiple: true,
description: "Contain positions for different tracks corresponding to the timestamp."
},
0xb9: {
name: "FlagEnabled",
cppname: "TrackFlagEnabled",
level: 3,
type: "u",
mandatory: true,
minver: 2,
webm: true,
"default": "1",
range: "0-1",
description: "Set to 1 if the track is usable. It is possible to turn a not usable track into a usable track using chapter codecs or control tracks."
},
0xba: {
name: "PixelHeight",
cppname: "VideoPixelHeight",
level: 4,
type: "u",
mandatory: true,
range: "not 0",
description: "Height of the encoded video frames in pixels."
},
0xbb: {
name: "CuePoint",
level: 2,
type: "m",
mandatory: true,
multiple: true,
description: "Contains all information relative to a seek point in the Segment."
},
0xbf: {
name: "CRC-32",
level: -1,
type: "b",
minver: 1,
webm: false,
description: "The CRC is computed on all the data of the Master element it's in. The CRC element should be the first in it's parent master for easier reading. All level 1 elements should include a CRC-32. The CRC in use is the IEEE CRC32 Little Endian.",
crc: true
},
0xc0: {
name: "TrickTrackUID",
level: 3,
type: "u",
minver: 0,
maxver: 0,
divx: true,
description: "The TrackUID of the Smooth FF/RW video in the paired EBML structure corresponding to this video track. See [@?DivXTrickTrack]."
},
0xc1: {
name: "TrickTrackSegmentUID",
level: 3,
type: "b",
minver: 0,
maxver: 0,
divx: true,
description: "The SegmentUID of the Segment containing the track identified by TrickTrackUID. See [@?DivXTrickTrack]."
},
0xc4: {
name: "TrickMasterTrackSegmentUID",
level: 3,
type: "b",
minver: 0,
maxver: 0,
divx: true,
description: "The SegmentUID of the Segment containing the track identified by MasterTrackUID. See [@?DivXTrickTrack]."
},
0xc6: {
name: "TrickTrackFlag",
level: 3,
type: "u",
minver: 0,
maxver: 0,
divx: true,
"default": "0",
description: "Set to 1 if this video track is a Smooth FF/RW track. If set to 1, MasterTrackUID and MasterTrackSegUID should must 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]."
},
0xc7: {
name: "TrickMasterTrackUID",
level: 3,
type: "u",
minver: 0,
maxver: 0,
divx: true,
description: "The TrackUID of the video track in the paired EBML structure that corresponds to this Smooth FF/RW track. See [@?DivXTrickTrack]."
},
0xc8: {
name: "ReferenceFrame",
level: 3,
type: "m",
minver: 0,
maxver: 0,
divx: true,
description: "Contains information about the last reference frame. See [@?DivXTrickTrack]."
},
0xc9: {
name: "ReferenceOffset",
level: 4,
type: "u",
mandatory: true,
minver: 0,
maxver: 0,
divx: true,
description: "The relative offset, in bytes, from the previous BlockGroup element for this Smooth FF/RW video track to the containing BlockGroup element. See [@?DivXTrickTrack]."
},
0xca: {
name: "ReferenceTimestamp",
cppname: "ReferenceTimeCode",
level: 4,
type: "u",
mandatory: true,
minver: 0,
maxver: 0,
divx: true,
description: "The timestamp of the BlockGroup pointed to by ReferenceOffset, expressed in Track Ticks; see (#timestamp-ticks). See [@?DivXTrickTrack]."
},
0xcb: {
name: "BlockAdditionID",
cppname: "SliceBlockAddID",
level: 5,
type: "u",
minver: 0,
maxver: 0,
"default": "0",
description: "The ID of the BlockAdditional Element (0 is the main Block)."
},
0xcc: {
name: "LaceNumber",
cppname: "SliceLaceNumber",
level: 5,
type: "u",
minver: 0,
maxver: 0,
description: "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."
},
0xcd: {
name: "FrameNumber",
cppname: "SliceFrameNumber",
level: 5,
type: "u",
minver: 0,
maxver: 0,
"default": "0",
description: "The number of the frame to generate from this lace with this delay (allow you to generate many frames from the same Block/Frame)."
},
0xce: {
name: "Delay",
cppname: "SliceDelay",
level: 5,
type: "u",
minver: 0,
maxver: 0,
"default": "0",
description: "The delay to apply to the Element, expressed in Track Ticks; see (#timestamp-ticks)."
},
0xcf: {
name: "SliceDuration",
level: 5,
type: "u",
minver: 0,
maxver: 0,
"default": "0",
description: "The duration to apply to the Element, expressed in Track Ticks; see (#timestamp-ticks)."
},
0xd7: {
name: "TrackNumber",
level: 3,
type: "u",
mandatory: true,
range: "not 0",
description: "The track number as used in the Block Header (using more than 127 tracks is not encouraged, though the design allows an unlimited number)."
},
0xdb: {
name: "CueReference",
level: 4,
type: "m",
multiple: true,
minver: 2,
description: "The Clusters containing the referenced Blocks."
},
0xe0: {
name: "Video",
cppname: "TrackVideo",
level: 3,
type: "m",
description: "Video settings."
},
0xe1: {
name: "Audio",
cppname: "TrackAudio",
level: 3,
type: "m",
description: "Audio settings."
},
0xe2: {
name: "TrackOperation",
level: 3,
type: "m",
minver: 3,
description: "Operation that needs to be applied on tracks to create this virtual track. For more details look at (#track-operation)."
},
0xe3: {
name: "TrackCombinePlanes",
level: 4,
type: "m",
minver: 3,
description: "Contains the list of all video plane tracks that need to be combined to create this 3D track"
},
0xe4: {
name: "TrackPlane",
level: 5,
type: "m",
mandatory: true,
multiple: true,
minver: 3,
description: "Contains a video plane track that need to be combined to create this 3D track"
},
0xe5: {
name: "TrackPlaneUID",
level: 6,
type: "u",
mandatory: true,
minver: 3,
range: "not 0",
description: "The trackUID number of the track representing the plane."
},
0xe6: {
name: "TrackPlaneType",
level: 6,
type: "u",
mandatory: true,
minver: 3,
description: "The kind of plane this track corresponds to."
},
0xe7: {
name: "Timestamp",
cppname: "ClusterTimecode",
level: 2,
type: "u",
mandatory: true,
description: "Absolute timestamp of the cluster, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks)."
},
0xe8: {
name: "TimeSlice",
level: 4,
type: "m",
multiple: true,
minver: 0,
maxver: 0,
description: "Contains extra time information about the data contained in the Block. Being able to interpret this Element is not **REQUIRED** for playback."
},
0xe9: {
name: "TrackJoinBlocks",
level: 4,
type: "m",
minver: 3,
description: "Contains the list of all tracks whose Blocks need to be combined to create this virtual track"
},
0xea: {
name: "CueCodecState",
level: 4,
type: "u",
mandatory: true,
minver: 2,
"default": "0",
description: "The Segment Position of the Codec State corresponding to this Cue Element. 0 means that the data is taken from the initial Track Entry."
},
0xeb: {
name: "CueRefCodecState",
level: 5,
type: "u",
minver: 0,
maxver: 0,
"default": "0",
description: "The Segment Position of the Codec State corresponding to this referenced Element. 0 means that the data is taken from the initial Track Entry."
},
0xec: {
name: "Void",
level: -1,
type: "b",
minver: 1,
description: "Used to void damaged data, to avoid unexpected behaviors when using damaged data. The content is discarded. Also used to reserve space in a sub-element for later use."
},
0xed: {
name: "TrackJoinUID",
level: 5,
type: "u",
mandatory: true,
multiple: true,
minver: 3,
range: "not 0",
description: "The trackUID number of a track whose blocks are used to create this virtual track."
},
0xee: {
name: "BlockAddID",
level: 5,
type: "u",
mandatory: true,
webm: true,
"default": "1",
range: "not 0",
description: "An ID to identify the BlockAdditional level. If BlockAddIDType of the corresponding block is 0, this value is also the value of BlockAddIDType for the meaning of the content of BlockAdditional."
},
0xf0: {
name: "CueRelativePosition",
level: 4,
type: "u",
minver: 4,
webm: true,
description: "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."
},
0xf1: {
name: "CueClusterPosition",
level: 4,
type: "u",
mandatory: true,
description: "The Segment Position of the Cluster containing the associated Block."
},
0xf7: {
name: "CueTrack",
level: 4,
type: "u",
mandatory: true,
range: "not 0",
description: "The track for which a position is given."
},
0xfa: {
name: "ReferencePriority",
level: 3,
type: "u",
mandatory: true,
"default": "0",
description: "This frame is referenced and has the specified cache priority. In cache only a frame of the same or higher priority can replace this frame. A value of 0 means the frame is not referenced."
},
0xfb: {
name: "ReferenceBlock",
level: 3,
type: "i",
multiple: true,
description: "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` this `Block` depends on. Historically Matroska Writer didn't write the actual `Block(s)` this `Block` depends on, but *some* `Block` in the past. The value \"0\" **MAY** also be used to signify this `Block` cannot be decoded on its own, but without knownledge of which `Block` is necessary. In this case, other `ReferenceBlock` **MUST NOT** be found in the same `BlockGroup`. If the `BlockGroup` doesn't have any `ReferenceBlock` element, then the `Block` it contains can be decoded without using any other `Block` data."
},
0xfd: {
name: "ReferenceVirtual",
level: 3,
type: "i",
minver: 0,
maxver: 0,
description: "The Segment Position of the data that would otherwise be in position of the virtual block."
},
0x41a4: {
name: "BlockAddIDName",
level: 4,
type: "s",
minver: 4,
description: "A human-friendly name describing the type of BlockAdditional data, as defined by the associated Block Additional Mapping."
},
0x41e4: {
name: "BlockAdditionMapping",
level: 3,
type: "m",
multiple: true,
minver: 4,
description: "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."
},
0x41e7: {
name: "BlockAddIDType",
level: 4,
type: "u",
mandatory: true,
minver: 4,
"default": "0",
description: "Stores the registered identifier of the Block Additional Mapping to define how the BlockAdditional data should be handled."
},
0x41ed: {
name: "BlockAddIDExtraData",
level: 4,
type: "b",
minver: 4,
description: "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."
},
0x41f0: {
name: "BlockAddIDValue",
level: 4,
type: "u",
minver: 4,
range: ">=2",
description: "If the track format extension needs content beside frames, the value refers to the BlockAddID ((#blockaddid-element)), value being described. To keep MaxBlockAdditionID as low as possible, small values **SHOULD** be used."
},
0x4254: {
name: "ContentCompAlgo",
level: 6,
type: "u",
mandatory: true,
"default": "0",
description: "The compression algorithm used."
},
0x4255: {
name: "ContentCompSettings",
level: 6,
type: "b",
description: "Settings that might be needed by the decompressor. For Header Stripping (`ContentCompAlgo`=3), the bytes that were removed from the beginning of each frames of the track."
},
0x4282: {
name: "DocType",
level: 1,
type: "s",
mandatory: true,
"default": "matroska",
minver: 1,
description: "A string that describes the type of document that follows this EBML header. 'matroska' in our case or 'webm' for webm files."
},
0x4285: {
name: "DocTypeReadVersion",
level: 1,
type: "u",
mandatory: true,
"default": 1,
minver: 1,
description: "The minimum DocType version an interpreter has to support to read this file."
},
0x4286: {
name: "EBMLVersion",
level: 1,
type: "u",
mandatory: true,
"default": 1,
minver: 1,
description: "The version of EBML parser used to create the file."
},
0x4287: {
name: "DocTypeVersion",
level: 1,
type: "u",
mandatory: true,
"default": 1,
minver: 1,
description: "The version of DocType interpreter used to create the file."
},
0x42f2: {
name: "EBMLMaxIDLength",
level: 1,
type: "u",
mandatory: true,
"default": "4",
range: ">=4"
},
0x42f3: {
name: "EBMLMaxSizeLength",
level: 1,
type: "u",
mandatory: true,
"default": "8",
range: "not 0"
},
0x42f7: {
name: "EBMLReadVersion",
level: 1,
type: "u",
mandatory: true,
"default": 1,
minver: 1,
description: "The minimum EBML version a parser has to support to read this file."
},
0x437c: {
name: "ChapLanguage",
cppname: "ChapterLanguage",
level: 5,
type: "s",
mandatory: true,
multiple: true,
webm: true,
"default": "eng",
description: "A language corresponding to the string, in the bibliographic ISO-639-2 form [@!ISO639-2]. This Element **MUST** be ignored if a ChapLanguageIETF Element is used within the same ChapterDisplay Element."
},
0x437d: {
name: "ChapLanguageBCP47",
level: 5,
type: "s",
multiple: true,
minver: 4,
description: "Specifies a language corresponding to the ChapString in the format defined in [@!BCP47] and using the IANA Language Subtag Registry [@!IANALangRegistry]. If a ChapLanguageIETF Element is used, then any ChapLanguage and ChapCountry Elements used in the same ChapterDisplay **MUST** be ignored."
},
0x437e: {
name: "ChapCountry",
cppname: "ChapterCountry",
level: 5,
type: "s",
multiple: true,
webm: true,
description: "A country corresponding to the string, using the same 2 octets country-codes as in Internet domains [@!IANADomains] based on [@!ISO3166-1] alpha-2 codes. This Element **MUST** be ignored if a ChapLanguageIETF Element is used within the same ChapterDisplay Element."
},
0x4444: {
name: "SegmentFamily",
level: 2,
type: "b",
multiple: true,
description: "A randomly generated unique ID that all Segments of a Linked Segment **MUST** share (128 bits)."
},
0x4461: {
name: "DateUTC",
level: 2,
type: "d",
description: "The date and time that the Segment was created by the muxing application or library."
},
0x447a: {
name: "TagLanguage",
cppname: "TagLangue",
level: 4,
type: "s",
mandatory: true,
webm: true,
"default": "und",
description: "Specifies the language of the tag specified, in the Matroska languages form; see (#language-codes) on language codes. This Element **MUST** be ignored if the TagLanguageIETF Element is used within the same SimpleTag Element."
},
0x447b: {
name: "TagLanguageBCP47",
level: 4,
type: "s",
minver: 4,
description: "Specifies the language used in the TagString according to [@!BCP47] and using the IANA Language Subtag Registry [@!IANALangRegistry]. If this Element is used, then any TagLanguage Elements used in the same SimpleTag **MUST** be ignored."
},
0x4484: {
name: "TagDefault",
level: 4,
type: "u",
mandatory: true,
webm: true,
"default": "1",
range: "0-1",
description: "A boolean value to indicate if this is the default/original language to use for the given tag."
},
0x4485: {
name: "TagBinary",
level: 4,
type: "b",
webm: true,
description: "The values of the Tag, if it is binary. Note that this cannot be used in the same SimpleTag as TagString."
},
0x4487: {
name: "TagString",
level: 4,
type: "8",
webm: true,
description: "The value of the Tag."
},
0x4489: {
name: "Duration",
level: 2,
type: "f",
range: "> 0x0p+0",
description: "Duration of the Segment, expressed in Segment Ticks which is based on TimestampScale; see (#timestamp-ticks)."
},
0x44b4: {
name: "TagDefaultBogus",
level: 4,
type: "u",
mandatory: true,
minver: 0,
maxver: 0,
"default": "1",
range: "0-1",
description: "A variant of the TagDefault element with a bogus Element ID; see (#tagdefault-element)."
},
0x450d: {
name: "ChapProcessPrivate",
cppname: "ChapterProcessPrivate",
level: 5,
type: "b",
description: "Some optional data attached to the ChapProcessCodecID information. For ChapProcessCodecID = 1, it is the \"DVD level\" equivalent; see (#menu-features) on DVD menus."
},
0x4598: {
name: "ChapterFlagEnabled",
level: 4,
type: "u",
mandatory: true,
"default": "1",
range: "0-1",
description: "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."
},
0x45a3: {
name: "TagName",
level: 4,
type: "8",
mandatory: true,
webm: true,
description: "The name of the Tag that is going to be stored."
},
0x45b9: {
name: "EditionEntry",
level: 2,
type: "m",
mandatory: true,
multiple: true,
webm: true,
description: "Contains all information about a Segment edition."
},
0x45bc: {
name: "EditionUID",
level: 3,
type: "u",
range: "not 0",
description: "A unique ID to identify the edition. It's useful for tagging an edition."
},
0x45bd: {
name: "EditionFlagHidden",
level: 3,
type: "u",
mandatory: true,
"default": "0",
range: "0-1",
description: "Set to 1 if an edition is hidden. Hidden editions **SHOULD NOT** be available to the user interface (but still to Control Tracks; see (#chapter-flags) on Chapter flags)."
},
0x45db: {
name: "EditionFlagDefault",
level: 3,
type: "u",
mandatory: true,
"default": "0",
range: "0-1",
description: "Set to 1 if the edition **SHOULD** be used as the default one."
},
0x45dd: {
name: "EditionFlagOrdered",
level: 3,
type: "u",
mandatory: true,
"default": "0",
range: "0-1",
description: "Set to 1 if the chapters can be defined multiple times and the order to play them is enforced; see (#editionflagordered)."
},
0x465c: {
name: "FileData",
level: 3,
type: "b",
mandatory: true,
description: "The data of the file."
},
0x4660: {
name: "FileMediaType",
cppname: "MimeType",
level: 3,
type: "s",
mandatory: true,
description: "MIME type of the file."
},
0x4661: {
name: "FileUsedStartTime",
level: 3,
type: "u",
minver: 0,
maxver: 0,
divx: true,
description: "The timestamp at which this optimized font attachment comes into context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts]."
},
0x4662: {
name: "FileUsedEndTime",
level: 3,
type: "u",
minver: 0,
maxver: 0,
divx: true,
description: "The timestamp at which this optimized font attachment goes out of context, expressed in Segment Ticks which is based on TimestampScale. See [@?DivXWorldFonts]."
},
0x466e: {
name: "FileName",
level: 3,
type: "8",
mandatory: true,
description: "Filename of the attached file."
},
0x4675: {
name: "FileReferral",
level: 3,
type: "b",
minver: 0,
maxver: 0,
description: "A binary value that a track/codec can refer to when the attachment is needed."
},
0x467e: {
name: "FileDescription",
level: 3,
type: "8",
description: "A human-friendly name for the attached file."
},
0x46ae: {
name: "FileUID",
level: 3,
type: "u",
mandatory: true,
range: "not 0",
description: "Unique ID representing the file, as random as possible."
},
0x47e1: {
name: "ContentEncAlgo",
level: 6,
type: "u",
mandatory: true,
webm: true,