Tag Parser  6.3.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
matroskaid.h
Go to the documentation of this file.
1 #ifndef MATROSKAIDS_H
2 #define MATROSKAIDS_H
3 
4 #include "../global.h"
5 
6 #include <c++utilities/conversion/types.h>
7 
8 namespace Media {
9 
10 namespace MatroskaIds {
11 
16  Segment = 0x18538067,
17  SegmentInfo = 0x1549A966,
18  Tracks = 0x1654AE6B,
19  Cues = 0x1C53BB6B,
20  Tags = 0x1254C367,
21  SeekHead = 0x114D9B74,
22  Cluster = 0x1F43B675,
23  Attachments = 0x1941A469,
24  Chapters = 0x1043A770
25 };
26 
31  Seek = 0x4DBB,
32 };
33 
37 enum SeekIds {
38  SeekID = 0x53AB,
39  SeekPosition = 0x53AC
40 };
41 
46  TimeCodeScale = 0x2AD7B1,
47  Duration = 0x4489,
48  WrittingApp = 0x5741,
49  MuxingApp = 0x4D80,
50  DateUTC = 0x4461,
51  SegmentUID = 0x73A4,
52  SegmentFileName = 0x7384,
53  PrevUId = 0x3CB923,
54  PrevFileName = 0x3C83AB,
55  NexUId = 0x3EB923,
56  NexFileName = 0x3E83BB,
57  Title = 0x7BA9,
58  SegmentFamily = 0x4444,
60 };
61 
69 };
70 
74 enum TracksIds {
75  TrackEntry = 0xAE,
76 };
77 
82  TrackNumber = 0xD7,
83  TrackUID = 0x73C5,
84  TrackType = 0x83,
87  TrackFlagForced = 0x55AA,
89  MinCache = 0x6DE7,
90  MaxCache = 0x6DF8,
91  DefaultDuration = 0x23E383,
93  TrackTimeCodeScale = 0x23314F,
94  TrackOffset = 0x537F,
96  TrackName = 0x536E,
97  TrackLanguage = 0x22B59C,
98  CodecID = 0x86,
99  CodecPrivate = 0x63A2,
100  CodecName = 0x258688,
101  AttachmentLink = 0x7446,
102  CodecSettings = 0x3A9697,
103  CodecInfoUrl = 0x3B4040,
104  CodecDownloadUrl = 0x26B240,
106  TrackOverlay = 0x6FAB,
107  CodecDelay = 0x56aa,
108  SeekPreRoll = 0x56bb,
109  TrackTranslate = 0x6624,
110  TrackAudio = 0xE1,
111  TrackVideo = 0xE0,
119 };
120 
128 };
129 
135  StereoMode = 0x53B8,
136  AlphaMode = 0x53c0,
137  OldStereoMode = 0x53b9,
138  PixelWidth = 0xB0,
139  PixelHeight = 0xBA,
140  PixelCropBottom = 0x54AA,
141  PixelCropTop = 0x54BB,
142  PixelCropLeft = 0x54CC,
143  PixelCropRight = 0x54DD,
144  DisplayWidth = 0x54B0,
145  DisplayHeight = 0x54BA,
146  DisplayUnit = 0x54B2,
147  AspectRatioType = 0x54B3,
148  ColorSpace = 0x2EB524,
149  GammaValue = 0x2FB523,
150  FrameRate = 0x2383E3
151 };
152 
159  Channels = 0x9F,
161  BitDepth = 0x6264
162 };
163 
170 };
171 
176  TrackPlane = 0xe4
177 };
178 
185 };
186 
192 };
193 
199 };
200 
210 };
211 
216  ContentCompAlgo = 0x4254,
218 };
219 
224  ContentEncAlgo = 0x47e1,
225  ContentEncKeyID = 0x47e2,
227  ContentSigKeyID = 0x47e4,
228  ContentSigAlgo = 0x47e5,
230 };
231 
235 enum TagsIds {
236  Tag = 0x7373,
237 };
238 
242 enum TagIds {
243  SimpleTag = 0x67C8,
244  Targets = 0x63C0,
245 };
246 
251  TagName = 0x45A3,
252  TagString = 0x4487,
253  TagLanguage = 0x447A,
254  TagDefault = 0x4484,
255  TagBinary = 0x4485,
256 };
257 
262  TargetTypeValue = 0x68ca,
263  TargetType = 0x63ca,
264  TagTrackUId = 0x63c5,
265  TagEditionUId = 0x63c9,
266  TagChapterUId = 0x63c4,
268 };
269 
273 enum CuesIds {
274  CuePoint = 0xbb
275 };
276 
281  CueTime = 0xb3,
283 };
284 
289  CueTrack = 0xf7,
292  CueDuration = 0xb2,
293  CueBlockNumber = 0x5378,
296 };
297 
302  CueRefTime = 0x96,
304  CueRefNumber = 0x535f,
306 };
307 
312  AttachedFile = 0x61a7
313 };
314 
319  FileDescription = 0x467e,
320  FileName = 0x466e,
321  FileMimeType = 0x4660,
322  FileData = 0x465c,
323  FileUID = 0x46ae,
324  FileReferral = 0x4675,
327 };
328 
333  EditionEntry = 0x45b9
334 };
335 
340  EditionUID = 0x45bc,
344  ChapterAtom = 0xb6
345 };
346 
351  ChapterUID = 0x73c4,
360  ChapterTrack = 0x8f,
362  ChapProcess = 0x6944
363 };
364 
370 };
371 
376  ChapString = 0x85,
377  ChapLanguage = 0x437c,
378  ChapCountry = 0x437e
379 };
380 
388 };
389 
394  ChapProcessTime = 0x6922,
396 };
397 
402  Timecode = 0xe7,
403  SilentTracks = 0x5854,
404  Position = 0xa7,
405  PrevSize = 0xab,
406  SimpleBlock = 0xa3,
407  BlockGroup = 0xa0,
409 };
410 
416 };
417 
422  Block = 0xa1,
423  BlockVirtual = 0xa2,
424  BlockAdditions = 0x75a1,
429  CodecState = 0xa4,
430  DiscardPadding = 0x75a2,
431  Slices = 0x8e,
433 };
434 
439  BlockMore = 0xa6
440 };
441 
446  BlockAddID = 0xee,
448 };
449 
453 enum SlicesIds {
454  TimeSlice = 0xe8
455 };
456 
461  LaceNumber = 0xcc,
462  FrameNumber = 0xcd,
464  Delay = 0xce,
466 };
467 
474 };
475 
476 }
477 
478 namespace MatroskaTrackType {
479 
481  Video = 0x1,
482  Audio = 0x2,
483  Complex = 0x3,
484  Logo = 0x10,
485  Subtitle = 0x11,
486  Buttons = 0x12,
487  Control = 0x20
488 };
489 
490 }
491 
492 TAG_PARSER_EXPORT const char *matroskaIdName(uint32 matroskaId);
493 
494 }
495 
496 #endif // MATROSKAIDS_H
AttachedFileIds
Encapsulates all ID values in the AttachedFile master.
Definition: matroskaid.h:318
BlockMoreIds
Encapsulates all ID values in the BlockMore master.
Definition: matroskaid.h:445
TrackPlaneIds
Encapsulates all ID values in the TrackPlane master.
Definition: matroskaid.h:182
ContentEncodingsIds
Encapsulates all ID values in the ContentEncodings master.
Definition: matroskaid.h:197
TrackTranslateIds
Encapsulates all ID values in the TrackTranslate master.
Definition: matroskaid.h:124
SeekHeadIds
Encapsulates all ID values in the SeekHead master.
Definition: matroskaid.h:30
TrackOperationIds
Encapsulates all ID values in the TrackOperation master.
Definition: matroskaid.h:167
TrackVideoIds
Encapsulates all ID values in the TrackVideo master.
Definition: matroskaid.h:133
TrackType
Specifies the track type.
Definition: abstracttrack.h:28
BlockGroupIds
Encapsulates all ID values in the BlockGroup master.
Definition: matroskaid.h:421
ClusterIds
Encapsulates all ID values in the Cluster master.
Definition: matroskaid.h:401
TopLevelIds
Encapsulates all top level ID values.
Definition: matroskaid.h:15
TagsIds
Encapsulates all ID values in the Tags master.
Definition: matroskaid.h:235
CueTrackPositionsIds
Encapsulates all ID values in the CueTrackPositions master.
Definition: matroskaid.h:288
ContentEncryptionIds
Encapsulates all ID values in the ContentEncryption master.
Definition: matroskaid.h:223
TimeSliceIds
Encapsulates all ID values in the TimeSlice master.
Definition: matroskaid.h:460
CuePointIds
Encapsulates all ID values in the CuePoint master.
Definition: matroskaid.h:280
ChaptersIds
Encapsulates all ID values in the Chapters master.
Definition: matroskaid.h:332
ChapterAtomIds
Encapsulates all ID values in the ChapterAtom master.
Definition: matroskaid.h:350
TargetsIds
Encapsulates all ID values in the Targets master.
Definition: matroskaid.h:261
ContentCompressionIds
Encapsulates all ID values in the ContentCompression master.
Definition: matroskaid.h:215
TrackEntryIds
Encapsulates all ID values in the TrackEntry master.
Definition: matroskaid.h:81
ChapterTranslateIds
Encapsulates all ID values in the ChapterTranslate master.
Definition: matroskaid.h:65
The Tag class is used to store, read and write tag information.
Definition: tag.h:98
ContentEncodingIds
Encapsulates all ID values in the ContentEncoding master.
Definition: matroskaid.h:204
ChapterDisplayIds
Encapsulates all ID values in the ChapterDisplay master.
Definition: matroskaid.h:375
ChapterTrackIds
Encapsulates all ID values in the ChapterTrack master.
Definition: matroskaid.h:368
TagIds
Encapsulates all ID values in the Tag master.
Definition: matroskaid.h:242
ChapProcessIds
Encapsulates all ID values in the ChapProcess master.
Definition: matroskaid.h:384
SimpleTagIds
Encapsulates all ID values in the SimpleTag master.
Definition: matroskaid.h:250
TAG_PARSER_EXPORT const char * matroskaIdName(uint32 matroskaId)
Returns a string for the specified matroskaId if known; otherwise returns an empty string...
Definition: matroskaid.cpp:24
SlicesIds
Encapsulates all ID values in the Slices master.
Definition: matroskaid.h:453
TrackAudioIds
Encapsulates all ID values in the TrackAudio master.
Definition: matroskaid.h:156
ReferenceFrameIds
Encapsulates all ID values in the ReferenceFrame master.
Definition: matroskaid.h:471
SegmentInfoIds
Encapsulates all ID values in the SegmentInfo master.
Definition: matroskaid.h:45
CuesIds
Encapsulates all ID values in the Cues master.
Definition: matroskaid.h:273
TracksIds
Encapsulates all ID values in the Tracks master.
Definition: matroskaid.h:74
AttachmentsIds
Encapsulates all ID values in the Attachments master.
Definition: matroskaid.h:311
SilentTracksIds
Encapsulates all ID values in the SilentTracks master.
Definition: matroskaid.h:414
SeekIds
Encapsulates all ID values in the Seek master.
Definition: matroskaid.h:37
TrackJoinBlocksIds
Encapsulates all ID values in the TrackJoinBlocks master.
Definition: matroskaid.h:190
Contains all classes and functions of the TagInfo library.
Definition: exceptions.h:9
EditionEntryIds
Encapsulates all ID values in the EditionEntry master.
Definition: matroskaid.h:339
ChapProcessCommandIds
Encapsulates all ID values in the ChapProcessCommand master.
Definition: matroskaid.h:393
CueReferenceIds
Encapsulates all ID values in the CueReference master.
Definition: matroskaid.h:301
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
BlockAdditionsIds
Encapsulates all ID values in the BlockAdditions master.
Definition: matroskaid.h:438
TrackCombinePlanesIds
Encapsulates all ID values in the TrackCombinePlanes master.
Definition: matroskaid.h:175