Code
·
933 lines
·
32831 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
933using System;
using System.Collections.Generic;
using System.CodeDom.Compiler;
using Matroska.Attributes;
//--------------------------------------------------------------------------------------------------------
// <auto-generated>
// This C# code class was auto-generated at 06/14/2025 08:18:21.
// Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
//
// Based on "https://github.com/ietf-wg-cellar/matroska-specification/blob/master/ebml_matroska.xml".
// </auto-generated>
//--------------------------------------------------------------------------------------------------------
namespace Matroska.Models;
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class EBML : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.DocType)]
public string DocType { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.DocTypeExtension)]
public DocTypeExtension? DocTypeExtension { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DocTypeReadVersion)]
public ulong DocTypeReadVersion { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DocTypeVersion)]
public ulong DocTypeVersion { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EBMLMaxIDLength)]
public ulong EBMLMaxIDLength { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EBMLMaxSizeLength)]
public ulong EBMLMaxSizeLength { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EBMLReadVersion)]
public ulong EBMLReadVersion { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EBMLVersion)]
public ulong EBMLVersion { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class DocTypeExtension : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.DocTypeExtensionName)]
public string DocTypeExtensionName { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.DocTypeExtensionVersion)]
public ulong DocTypeExtensionVersion { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Segment : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.Attachments)]
public Attachments? Attachments { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Chapters)]
public Chapters? Chapters { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Cluster, typeof(Cluster))]
public List<Cluster>? Clusters { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Cues)]
public Cues? Cues { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Info)]
public Info Info { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.SeekHead)]
public SeekHead? SeekHead { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Tags)]
public Tags? Tags { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Tracks)]
public Tracks? Tracks { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Attachments : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.AttachedFile, typeof(AttachedFile))]
public List<AttachedFile> AttachedFiles { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class AttachedFile : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.FileData)]
public byte[]? FileData { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.FileDescription)]
public string? FileDescription { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FileMediaType)]
public string FileMediaType { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.FileName)]
public string FileName { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.FileReferral)]
public byte[]? FileReferral { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FileUID)]
public ulong FileUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FileUsedEndTime)]
public ulong? FileUsedEndTime { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FileUsedStartTime)]
public ulong? FileUsedStartTime { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Chapters : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.EditionEntry)]
public EditionEntry EditionEntry { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class EditionEntry : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ChapterAtom)]
public ChapterAtom ChapterAtom { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.EditionDisplay)]
public EditionDisplay? EditionDisplay { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EditionFlagDefault)]
public ulong EditionFlagDefault { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EditionFlagHidden)]
public ulong EditionFlagHidden { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EditionFlagOrdered)]
public ulong EditionFlagOrdered { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EditionUID)]
public ulong? EditionUID { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ChapterAtom : BaseModel
{
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ChapProcess : BaseModel
{
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ChapProcessCommand : BaseModel
{
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ChapterDisplay : BaseModel
{
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ChapterTrack : BaseModel
{
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class EditionDisplay : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.EditionLanguageIETF)]
public string? EditionLanguageIETF { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EditionString)]
public string EditionString { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Cluster : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BlockGroup, typeof(BlockGroup))]
public List<BlockGroup>? BlockGroups { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.EncryptedBlock, typeof(EncryptedBlock))]
public List<EncryptedBlock>? EncryptedBlocks { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Position)]
public ulong? Position { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrevSize)]
public ulong? PrevSize { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SilentTracks)]
public SilentTracks? SilentTracks { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SimpleBlock, typeof(SimpleBlock))]
public List<SimpleBlock>? SimpleBlocks { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Timestamp)]
public ulong Timestamp { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class BlockGroup : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.Block, typeof(Block))]
public List<Block> Blocks { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.BlockAdditions)]
public BlockAdditions? BlockAdditions { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockDuration)]
public ulong? BlockDuration { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockVirtual, typeof(BlockVirtual))]
public List<BlockVirtual>? BlockVirtuals { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecState)]
public byte[]? CodecState { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DiscardPadding)]
public long? DiscardPadding { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ReferenceBlock)]
public long? ReferenceBlock { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ReferenceFrame)]
public ReferenceFrame? ReferenceFrame { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ReferencePriority)]
public ulong ReferencePriority { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ReferenceVirtual)]
public long? ReferenceVirtual { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Slices)]
public Slices? Slices { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class BlockAdditions : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BlockMore)]
public BlockMore BlockMore { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class BlockMore : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BlockAddID)]
public ulong BlockAddID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockAdditional, typeof(BlockAdditional))]
public List<BlockAdditional> BlockAdditionals { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ReferenceFrame : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ReferenceOffset)]
public ulong ReferenceOffset { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ReferenceTimestamp)]
public ulong ReferenceTimestamp { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Slices : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TimeSlice)]
public TimeSlice? TimeSlice { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TimeSlice : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BlockAdditionID)]
public ulong? BlockAdditionID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Delay)]
public ulong? Delay { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FrameNumber)]
public ulong? FrameNumber { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.LaceNumber)]
public ulong? LaceNumber { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SliceDuration)]
public ulong? SliceDuration { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class SilentTracks : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.SilentTrackNumber)]
public ulong? SilentTrackNumber { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Cues : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.CuePoint, typeof(CuePoint))]
public List<CuePoint> CuePoints { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class CuePoint : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.CueTime)]
public ulong CueTime { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueTrackPositions)]
public CueTrackPositions CueTrackPositions { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class CueTrackPositions : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.CueBlockNumber)]
public ulong? CueBlockNumber { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueClusterPosition)]
public ulong CueClusterPosition { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueCodecState)]
public ulong CueCodecState { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueDuration)]
public ulong? CueDuration { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueReference, typeof(CueReference))]
public List<CueReference>? CueReferences { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueRelativePosition)]
public ulong? CueRelativePosition { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueTrack)]
public ulong CueTrack { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class CueReference : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.CueRefCluster)]
public ulong CueRefCluster { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueRefCodecState)]
public ulong? CueRefCodecState { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueRefNumber)]
public ulong? CueRefNumber { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CueRefTime)]
public ulong CueRefTime { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Info : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ChapterTranslate)]
public ChapterTranslate? ChapterTranslate { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DateUTC)]
public DateTime? DateUTC { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Duration)]
public double? Duration { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MuxingApp)]
public string MuxingApp { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.NextFilename)]
public string? NextFilename { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.NextUUID)]
public byte[]? NextUUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrevFilename)]
public string? PrevFilename { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrevUUID)]
public byte[]? PrevUUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SegmentFamily)]
public byte[]? SegmentFamily { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SegmentFilename)]
public string? SegmentFilename { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SegmentUUID)]
public byte[]? SegmentUUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TimestampScale)]
public ulong TimestampScale { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Title)]
public string? Title { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.WritingApp)]
public string WritingApp { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ChapterTranslate : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ChapterTranslateCodec)]
public ulong ChapterTranslateCodec { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChapterTranslateEditionUID)]
public ulong? ChapterTranslateEditionUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChapterTranslateID)]
public byte[]? ChapterTranslateID { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class SeekHead : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.Seek)]
public Seek Seek { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Seek : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.SeekID)]
public byte[]? SeekID { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.SeekPosition)]
public ulong SeekPosition { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Tags : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.Tag, typeof(TagItem))]
public List<TagItem> TagItems { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TagItem : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.SimpleTag, typeof(SimpleTag))]
public List<SimpleTag> SimpleTags { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.Targets)]
public Targets Targets { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Targets : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TagAttachmentUID)]
public ulong? TagAttachmentUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagChapterUID)]
public ulong? TagChapterUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagEditionUID)]
public ulong? TagEditionUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TagTrackUID)]
public ulong? TagTrackUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TargetType)]
public string? TargetType { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TargetTypeValue)]
public ulong TargetTypeValue { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Tracks : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TrackEntry, typeof(TrackEntry))]
public List<TrackEntry> TrackEntries { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TrackEntry : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.AttachmentLink)]
public ulong? AttachmentLink { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Audio)]
public Audio? Audio { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockAdditionMapping)]
public BlockAdditionMapping? BlockAdditionMapping { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecDecodeAll)]
public ulong CodecDecodeAll { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecDelay)]
public ulong CodecDelay { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecDownloadURL)]
public string? CodecDownloadURL { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecID)]
public string CodecID { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.CodecInfoURL)]
public string? CodecInfoURL { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecName)]
public string? CodecName { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecPrivate)]
public byte[]? CodecPrivate { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CodecSettings)]
public string? CodecSettings { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncodings)]
public ContentEncodings? ContentEncodings { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DefaultDecodedFieldDuration)]
public ulong? DefaultDecodedFieldDuration { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DefaultDuration)]
public ulong? DefaultDuration { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagCommentary)]
public ulong? FlagCommentary { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagDefault)]
public ulong FlagDefault { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagEnabled)]
public ulong FlagEnabled { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagForced)]
public ulong FlagForced { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagHearingImpaired)]
public ulong? FlagHearingImpaired { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagLacing)]
public ulong FlagLacing { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagOriginal)]
public ulong? FlagOriginal { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagTextDescriptions)]
public ulong? FlagTextDescriptions { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagVisualImpaired)]
public ulong? FlagVisualImpaired { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Language)]
public string Language { get; set; } = null!;
[MatroskaElementDescriptor(MatroskaSpecification.LanguageBCP47)]
public string? LanguageBCP47 { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MaxBlockAdditionID)]
public ulong MaxBlockAdditionID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MaxCache)]
public ulong? MaxCache { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MinCache)]
public ulong MinCache { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Name)]
public string? Name { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SeekPreRoll)]
public ulong SeekPreRoll { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackNumber)]
public ulong TrackNumber { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackOffset)]
public long? TrackOffset { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackOperation)]
public TrackOperation? TrackOperation { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackOverlay)]
public ulong? TrackOverlay { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackTimestampScale)]
public double TrackTimestampScale { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackTranslate)]
public TrackTranslate? TrackTranslate { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackType)]
public ulong TrackType { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackUID)]
public ulong TrackUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrickMasterTrackSegmentUID)]
public byte[]? TrickMasterTrackSegmentUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrickMasterTrackUID)]
public ulong? TrickMasterTrackUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrickTrackFlag)]
public ulong? TrickTrackFlag { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrickTrackSegmentUID)]
public byte[]? TrickTrackSegmentUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrickTrackUID)]
public ulong? TrickTrackUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Video)]
public Video? Video { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Audio : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BitDepth)]
public ulong? BitDepth { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChannelPositions)]
public byte[]? ChannelPositions { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Channels)]
public ulong Channels { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Emphasis)]
public ulong Emphasis { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.OutputSamplingFrequency)]
public double? OutputSamplingFrequency { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.SamplingFrequency)]
public double SamplingFrequency { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class BlockAdditionMapping : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BlockAddIDExtraData)]
public byte[]? BlockAddIDExtraData { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockAddIDName)]
public string? BlockAddIDName { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockAddIDType)]
public ulong BlockAddIDType { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.BlockAddIDValue)]
public ulong? BlockAddIDValue { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ContentEncodings : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncoding, typeof(ContentEncodingItem))]
public List<ContentEncodingItem> ContentEncodingItems { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ContentEncodingItem : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ContentCompression, typeof(ContentCompression))]
public List<ContentCompression>? ContentCompressions { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncodingOrder)]
public ulong ContentEncodingOrder { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncodingScope)]
public ulong ContentEncodingScope { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncodingType)]
public ulong ContentEncodingType { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncryption)]
public ContentEncryption? ContentEncryption { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ContentCompression : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ContentCompAlgo)]
public ulong ContentCompAlgo { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentCompSettings)]
public byte[]? ContentCompSettings { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ContentEncryption : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncAESSettings)]
public ContentEncAESSettings? ContentEncAESSettings { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncAlgo)]
public ulong ContentEncAlgo { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentEncKeyID)]
public byte[]? ContentEncKeyID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentSigAlgo)]
public ulong? ContentSigAlgo { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentSigHashAlgo)]
public ulong? ContentSigHashAlgo { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentSigKeyID)]
public byte[]? ContentSigKeyID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ContentSignature)]
public byte[]? ContentSignature { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class ContentEncAESSettings : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.AESSettingsCipherMode)]
public ulong AESSettingsCipherMode { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TrackOperation : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TrackCombinePlanes)]
public TrackCombinePlanes? TrackCombinePlanes { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackJoinBlocks)]
public TrackJoinBlocks? TrackJoinBlocks { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TrackCombinePlanes : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TrackPlane)]
public TrackPlane TrackPlane { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TrackPlane : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TrackPlaneType)]
public ulong TrackPlaneType { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackPlaneUID)]
public ulong TrackPlaneUID { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TrackJoinBlocks : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TrackJoinUID)]
public ulong TrackJoinUID { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class TrackTranslate : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.TrackTranslateCodec)]
public ulong TrackTranslateCodec { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackTranslateEditionUID)]
public ulong? TrackTranslateEditionUID { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TrackTranslateTrackID)]
public byte[]? TrackTranslateTrackID { get; set; } = null!;
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Video : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.AlphaMode)]
public ulong AlphaMode { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.AspectRatioType)]
public ulong? AspectRatioType { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Colour)]
public Colour? Colour { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DisplayHeight)]
public ulong? DisplayHeight { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DisplayUnit)]
public ulong DisplayUnit { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.DisplayWidth)]
public ulong? DisplayWidth { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FieldOrder)]
public ulong FieldOrder { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FlagInterlaced)]
public ulong FlagInterlaced { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.FrameRate)]
public double? FrameRate { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.GammaValue)]
public double? GammaValue { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.OldStereoMode)]
public ulong? OldStereoMode { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PixelCropBottom)]
public ulong PixelCropBottom { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PixelCropLeft)]
public ulong PixelCropLeft { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PixelCropRight)]
public ulong PixelCropRight { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PixelCropTop)]
public ulong PixelCropTop { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PixelHeight)]
public ulong PixelHeight { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PixelWidth)]
public ulong PixelWidth { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Projection)]
public Projection? Projection { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.StereoMode)]
public ulong StereoMode { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.UncompressedFourCC)]
public byte[]? UncompressedFourCC { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Colour : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.BitsPerChannel)]
public ulong BitsPerChannel { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CbSubsamplingHorz)]
public ulong? CbSubsamplingHorz { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.CbSubsamplingVert)]
public ulong? CbSubsamplingVert { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChromaSitingHorz)]
public ulong ChromaSitingHorz { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChromaSitingVert)]
public ulong ChromaSitingVert { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChromaSubsamplingHorz)]
public ulong? ChromaSubsamplingHorz { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ChromaSubsamplingVert)]
public ulong? ChromaSubsamplingVert { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MasteringMetadata)]
public MasteringMetadata? MasteringMetadata { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MatrixCoefficients)]
public ulong MatrixCoefficients { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MaxCLL)]
public ulong? MaxCLL { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.MaxFALL)]
public ulong? MaxFALL { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Primaries)]
public ulong Primaries { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.Range)]
public ulong Range { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.TransferCharacteristics)]
public ulong TransferCharacteristics { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class MasteringMetadata : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.LuminanceMax)]
public double? LuminanceMax { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.LuminanceMin)]
public double? LuminanceMin { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrimaryBChromaticityX)]
public double? PrimaryBChromaticityX { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrimaryBChromaticityY)]
public double? PrimaryBChromaticityY { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrimaryGChromaticityX)]
public double? PrimaryGChromaticityX { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrimaryGChromaticityY)]
public double? PrimaryGChromaticityY { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrimaryRChromaticityX)]
public double? PrimaryRChromaticityX { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.PrimaryRChromaticityY)]
public double? PrimaryRChromaticityY { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.WhitePointChromaticityX)]
public double? WhitePointChromaticityX { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.WhitePointChromaticityY)]
public double? WhitePointChromaticityY { get; set; }
}
[GeneratedCode("MatroskaModels.tt", "1.0.0.0")]
public sealed class Projection : BaseModel
{
[MatroskaElementDescriptor(MatroskaSpecification.ProjectionPosePitch)]
public double ProjectionPosePitch { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ProjectionPoseRoll)]
public double ProjectionPoseRoll { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ProjectionPoseYaw)]
public double ProjectionPoseYaw { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ProjectionPrivate)]
public byte[]? ProjectionPrivate { get; set; }
[MatroskaElementDescriptor(MatroskaSpecification.ProjectionType)]
public ulong ProjectionType { get; set; }
}