Tag Parser
9.1.1
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
mp4
mp4ids.cpp
Go to the documentation of this file.
1
#include "
./mp4ids.h
"
2
3
#include "../mediaformat.h"
4
5
namespace
TagParser
{
6
10
namespace
Mp4AtomIds {
11
}
12
16
namespace
Mp4TagAtomIds {
17
}
18
22
namespace
Mp4TagExtendedMeanIds {
23
const
char
*
iTunes
=
"com.apple.iTunes"
;
24
}
25
29
namespace
Mp4TagExtendedNameIds {
30
const
char
*
cdec
=
"cdec"
;
31
const
char
*
label
=
"LABEL"
;
32
}
// namespace Mp4TagExtendedNameIds
33
37
namespace
Mp4MediaTypeIds {
38
}
39
44
namespace
FourccIds {
45
46
MediaFormat
fourccToMediaFormat
(std::uint32_t fourccId)
47
{
48
switch
(fourccId) {
49
case
Mpeg
:
50
return
GeneralMediaFormat::Mpeg1Video
;
51
case
Mpeg2Imx30
:
52
case
Mpeg2Imx50
:
53
return
GeneralMediaFormat::Mpeg2Video
;
54
case
Mpeg4Video
:
55
return
GeneralMediaFormat::Mpeg4Video
;
56
case
Mpeg4TimedText
:
57
return
GeneralMediaFormat::Mpeg4TimedText
;
58
case
Hevc1
:
59
case
Hevc2
:
60
return
GeneralMediaFormat::Hevc
;
61
case
Avc1
:
62
case
Avc2
:
63
case
Avc3
:
64
case
Avc4
:
65
case
H264Decoder1
:
66
case
H264Decoder2
:
67
case
H264Decoder3
:
68
case
H264Decoder4
:
69
case
H264Decoder5
:
70
case
H264Decoder6
:
71
return
GeneralMediaFormat::Avc
;
72
case
Av1_IVF
:
73
case
Av1_ISOBMFF
:
74
return
GeneralMediaFormat::Av1
;
75
case
Divx4Decoder1
:
76
case
Divx4Decoder2
:
77
case
H263Quicktime
:
78
case
H2633GPP
:
79
case
XvidDecoder1
:
80
case
XvidDecoder2
:
81
case
XvidDecoder3
:
82
case
XvidDecoder4
:
83
case
XvidDecoder5
:
84
case
Divx5Decoder
:
85
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg4AdvancedSimpleProfile0
);
86
case
Divx3Decoder1
:
87
case
Divx3Decoder2
:
88
case
Divx3Decoder3
:
89
case
Divx3Decoder4
:
90
case
Divx3Decoder5
:
91
case
Divx3Decoder6
:
92
case
Divx3Decoder7
:
93
case
Divx3Decoder8
:
94
case
Divx3Decoder9
:
95
case
Divx3Decoder10
:
96
case
Divx3Decoder11
:
97
case
Divx3Decoder12
:
98
case
Divx3Decoder13
:
99
case
Divx3Decoder14
:
100
case
Divx3Decoder15
:
101
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg4SimpleProfile0
);
102
case
Tiff
:
103
return
GeneralMediaFormat::Tiff
;
104
case
AppleTextAtsuiCodec
:
105
return
GeneralMediaFormat::TimedText
;
106
case
Raw
:
107
return
GeneralMediaFormat::UncompressedVideoFrames
;
108
case
Jpeg
:
109
return
GeneralMediaFormat::Jpeg
;
110
case
Gif
:
111
return
GeneralMediaFormat::Gif
;
112
case
Png
:
113
return
GeneralMediaFormat::Png
;
114
case
AdpcmAcm
:
115
return
GeneralMediaFormat::AdpcmAcm
;
116
case
ImaadpcmAcm
:
117
return
GeneralMediaFormat::ImaadpcmAcm
;
118
case
Mp3CbrOnly
:
119
case
Mp3
:
120
return
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer3
);
121
case
Mpeg4Audio
:
122
return
GeneralMediaFormat::Aac
;
123
case
Alac
:
124
return
GeneralMediaFormat::Alac
;
125
case
Ac3
:
126
return
GeneralMediaFormat::Ac3
;
127
case
EAc3
:
128
return
GeneralMediaFormat::EAc3
;
129
case
DolbyMpl
:
130
return
GeneralMediaFormat::DolbyMlp
;
131
case
Ac4
:
132
return
GeneralMediaFormat::Ac4
;
133
case
Rv20
:
134
case
Rv30
:
135
case
Rv40
:
136
return
GeneralMediaFormat::RealVideo
;
137
case
Int24
:
138
case
Int32
:
139
return
MediaFormat
(
GeneralMediaFormat::Pcm
);
140
case
Int16Be
:
141
return
MediaFormat
(
GeneralMediaFormat::Pcm
,
SubFormats::PcmIntBe
);
142
case
Int16Le
:
143
return
MediaFormat
(
GeneralMediaFormat::Pcm
,
SubFormats::PcmIntLe
);
144
case
FloatingPoint32Bit
:
145
case
FloatingPoint64Bit
:
146
return
MediaFormat
(
GeneralMediaFormat::Pcm
,
SubFormats::PcmFloatIeee
);
147
case
Amr
:
148
case
AmrNarrowband
:
149
return
MediaFormat
(
GeneralMediaFormat::Amr
);
150
case
Dts
:
151
case
DtsH
:
152
return
MediaFormat
(
GeneralMediaFormat::Dts
);
153
case
DtsE
:
154
return
MediaFormat
(
GeneralMediaFormat::Dts
,
SubFormats::DtsExpress
);
155
case
WindowsMediaAudio
:
156
case
WindowsMediaAudio7
:
157
case
WindowsMediaAudio9Professional
:
158
case
WindowsMediaAudio9Standard
:
159
return
MediaFormat
(
GeneralMediaFormat::WindowsMediaAudio
);
160
case
MsMpeg4V1Decoder1
:
161
case
MsMpeg4V1Decoder2
:
162
case
MsMpeg4V1Decoder3
:
163
case
MsMpeg4V1Decoder4
:
164
case
MsMpeg4V1Decoder5
:
165
case
MsMpeg4V1Decoder6
:
166
return
MediaFormat
(
GeneralMediaFormat::MicrosoftMpeg4
, 1);
167
case
MsMpeg4V2Decoder1
:
168
case
MsMpeg4V2Decoder2
:
169
case
MsMpeg4V2Decoder3
:
170
case
MsMpeg4V2Decoder4
:
171
return
MediaFormat
(
GeneralMediaFormat::MicrosoftMpeg4
, 2);
172
case
MsMpeg4V3Decoder1
:
173
case
MsMpeg4V3Decoder2
:
174
return
MediaFormat
(
GeneralMediaFormat::MicrosoftMpeg4
, 3);
175
case
Vp8
:
176
return
GeneralMediaFormat::Vp8
;
177
case
Vp9
:
178
case
Vp9_2
:
179
return
GeneralMediaFormat::Vp9
;
180
case
WavPack
:
181
return
MediaFormat
(
GeneralMediaFormat::WavPack
);
182
case
WindowsMediaVideoV17
:
183
return
MediaFormat
(
GeneralMediaFormat::WindowsMediaVideo
, 1);
184
case
WindowsMediaVideoV2
:
185
case
WindowsMediaVideoV8
:
186
return
MediaFormat
(
GeneralMediaFormat::WindowsMediaVideo
, 2);
187
case
Flac
:
188
return
GeneralMediaFormat::Flac
;
189
case
Opus
:
190
return
GeneralMediaFormat::Opus
;
191
// TODO: map more FOURCCs
192
default
:
193
return
GeneralMediaFormat::Unknown
;
194
}
195
}
196
197
}
// namespace FourccIds
198
203
namespace
Mp4FormatExtensionIds {
204
}
205
209
namespace
Mpeg4ElementaryStreamObjectIds {
210
214
MediaFormat
streamObjectTypeFormat
(std::uint8_t streamObjectTypeId)
215
{
216
switch
(streamObjectTypeId) {
217
case
SystemsIso144961
:
218
return
GeneralMediaFormat::Systems
;
219
case
SystemsIso144961v2
:
220
return
MediaFormat
(
GeneralMediaFormat::Systems
, 2);
221
case
InteractionStream
:
222
return
GeneralMediaFormat::InteractionStream
;
223
case
AfxStream
:
224
return
GeneralMediaFormat::AfxStream
;
225
case
FontDataStream
:
226
return
GeneralMediaFormat::FontDataStream
;
227
case
SynthesizedTextureStream
:
228
return
GeneralMediaFormat::SynthesizedTextureStream
;
229
case
StreamingTextStream
:
230
return
GeneralMediaFormat::StreamingTextStream
;
231
case
Mpeg4Visual
:
232
return
GeneralMediaFormat::Mpeg4Video
;
233
case
Avc
:
234
return
GeneralMediaFormat::Avc
;
235
case
ParameterSetsForAvc
:
236
return
GeneralMediaFormat::Avc
;
237
case
Als
:
238
return
GeneralMediaFormat::Als
;
239
case
Sa0c
:
240
return
GeneralMediaFormat::Sa0c
;
241
case
Aac
:
242
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
);
243
case
Mpeg2VideoSimpleProfile
:
244
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SimpleProfile
);
245
case
Mpeg2VideoMainProfile
:
246
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SnrProfile
);
247
case
Mpeg2VideoSnrProfile
:
248
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SpatialProfile
);
249
case
Mpeg2VideoSpatialProfile
:
250
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2HighProfile
);
251
case
Mpeg2VideoHighProfile
:
252
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2HighProfile
);
253
case
Mpeg2Video422Profile
:
254
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SimpleProfile
);
255
case
Mpeg2AacMainProfile
:
256
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg2MainProfile
);
257
case
Mpeg2AacLowComplexityProfile
:
258
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg2LowComplexityProfile
);
259
case
Mpeg2AacScaleableSamplingRateProfile
:
260
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg2ScalableSamplingRateProfile
);
261
case
Mpeg2Audio
:
262
return
GeneralMediaFormat::Mpeg2Audio
;
263
case
Mpeg1Video
:
264
return
GeneralMediaFormat::Mpeg1Video
;
265
case
Mpeg1Audio
:
266
return
GeneralMediaFormat::Mpeg1Audio
;
267
case
Jpeg
:
268
return
GeneralMediaFormat::Jpeg
;
269
case
Png
:
270
return
GeneralMediaFormat::Png
;
271
case
Evrc
:
272
case
PrivateEvrc
:
273
return
GeneralMediaFormat::Evrc
;
274
case
Smv
:
275
return
GeneralMediaFormat::Smv
;
276
case
Gpp2Cmf
:
277
return
GeneralMediaFormat::Gpp2Cmf
;
278
case
Vc1
:
279
return
GeneralMediaFormat::Vc1
;
280
case
Dirac
:
281
return
GeneralMediaFormat::Dirac
;
282
case
Ac3
:
283
case
PrivateAc3
:
284
return
GeneralMediaFormat::Ac3
;
285
case
EAc3
:
286
return
GeneralMediaFormat::EAc3
;
287
case
Dts
:
288
case
PrivateDts
:
289
return
GeneralMediaFormat::Dts
;
290
case
DtsHdHighResolution
:
291
return
MediaFormat
(
GeneralMediaFormat::DtsHd
,
SubFormats::DtsHdHighResolution
);
292
case
DtsHdMasterAudio
:
293
return
MediaFormat
(
GeneralMediaFormat::DtsHd
,
SubFormats::DtsHdMasterAudio
);
294
case
DtsHdExpress
:
295
return
MediaFormat
(
GeneralMediaFormat::DtsHd
,
SubFormats::DtsExpress
);
296
case
PrivateOgg
:
297
case
PrivateOgg2
:
298
return
GeneralMediaFormat::Vorbis
;
299
case
PrivateVobSub
:
300
return
GeneralMediaFormat::VobSub
;
301
case
PrivateQcelp
:
302
return
GeneralMediaFormat::Qcelp
;
303
default
:
304
return
MediaFormat
();
305
}
306
}
307
308
}
// namespace Mpeg4ElementaryStreamObjectIds
309
313
namespace
Mpeg4DescriptorIds {
314
}
315
319
namespace
Mpeg4ElementaryStreamTypeIds {
320
324
const
char
*
streamTypeName
(std::uint8_t streamTypeId)
325
{
326
switch
(streamTypeId) {
327
case
ObjectDescriptor
:
328
return
"object descriptor"
;
329
case
ClockReference
:
330
return
"clock reference"
;
331
case
SceneDescriptor
:
332
return
"scene descriptor"
;
333
case
Visual
:
334
return
"visual"
;
335
case
Audio
:
336
return
"audio"
;
337
case
Mpeg7
:
338
return
"MPEG-7"
;
339
case
Ipmps
:
340
return
"IMPS"
;
341
case
ObjectContentInfo
:
342
return
"object content info"
;
343
case
MpegJava
:
344
return
"MPEG Java"
;
345
case
Interaction
:
346
return
"interaction"
;
347
case
Ipmp
:
348
return
"IPMP"
;
349
case
FontData
:
350
return
"font data"
;
351
case
StreamingText
:
352
return
"streaming text"
;
353
default
:
354
return
""
;
355
}
356
}
357
358
}
// namespace Mpeg4ElementaryStreamTypeIds
359
364
namespace
Mpeg4AudioObjectIds {
365
366
TAG_PARSER_EXPORT
MediaFormat
idToMediaFormat
(std::uint8_t mpeg4AudioObjectId,
bool
sbrPresent,
bool
psPresent)
367
{
368
MediaFormat
fmt;
369
switch
(mpeg4AudioObjectId) {
370
case
AacMain
:
371
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4MainProfile
);
372
break
;
373
case
AacLc
:
374
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
);
375
break
;
376
case
AacSsr
:
377
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ScalableSamplingRateProfile
);
378
break
;
379
case
AacLtp
:
380
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LongTermPrediction
);
381
break
;
382
case
Sbr
:
383
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
,
ExtensionFormats::SpectralBandReplication
);
384
break
;
385
case
AacScalable
:
386
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ScalableSamplingRateProfile
);
387
break
;
388
case
ErAacLc
:
389
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ERLowComplecityProfile
);
390
break
;
391
case
ErAacLtp
:
392
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ERLongTermPrediction
);
393
break
;
394
case
ErAacLd
:
395
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ERLowDelay
);
396
break
;
397
case
Ps
:
398
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
,
ExtensionFormats::ParametricStereo
);
399
break
;
400
case
Layer1
:
401
fmt =
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer1
);
402
break
;
403
case
Layer2
:
404
fmt =
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer2
);
405
break
;
406
case
Layer3
:
407
fmt =
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer3
);
408
break
;
409
default
:;
410
}
411
if
(sbrPresent) {
412
fmt.
extension
|=
ExtensionFormats::SpectralBandReplication
;
413
}
414
if
(psPresent) {
415
fmt.
extension
|=
ExtensionFormats::ParametricStereo
;
416
}
417
return
fmt;
418
}
419
420
}
// namespace Mpeg4AudioObjectIds
421
422
std::uint32_t
mpeg4SamplingFrequencyTable
[] = { 96000, 88200, 64000, 48000, 44100, 32000, 24000, 22050, 16000, 12000, 11025, 8000, 7350 };
423
427
namespace
Mpeg4ChannelConfigs {
428
432
const
char
*
channelConfigString
(std::uint8_t config)
433
{
434
switch
(config) {
435
case
AotSpecificConfig
:
436
return
"defined in AOT Specific Config"
;
437
case
FrontCenter
:
438
return
"1 channel: front-center"
;
439
case
FrontLeftFrontRight
:
440
return
"2 channels: front-left, front-right"
;
441
case
FrontCenterFrontLeftFrontRight
:
442
return
"3 channels: front-center, front-left, front-right"
;
443
case
FrontCenterFrontLeftFrontRightBackCenter
:
444
return
"4 channels: front-center, front-left, front-right, back-center"
;
445
case
FrontCenterFrontLeftFrontRightBackLeftBackRight
:
446
return
"5 channels: front-center, front-left, front-right, back-left, back-right"
;
447
case
FrontCenterFrontLeftFrontRightBackLeftBackRightLFEChannel
:
448
return
"6 channels: front-center, front-left, front-right, back-left, back-right, LFE-channel"
;
449
case
FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel
:
450
return
"8 channels: front-center, front-left, front-right, side-left, side-right, back-left, back-right, LFE-channel"
;
451
default
:
452
return
nullptr
;
453
}
454
}
455
459
std::uint8_t
channelCount
(std::uint8_t config)
460
{
461
switch
(config) {
462
case
FrontCenter
:
463
return
1;
464
case
FrontLeftFrontRight
:
465
return
2;
466
case
FrontCenterFrontLeftFrontRight
:
467
return
3;
468
case
FrontCenterFrontLeftFrontRightBackCenter
:
469
return
4;
470
case
FrontCenterFrontLeftFrontRightBackLeftBackRight
:
471
return
5;
472
case
FrontCenterFrontLeftFrontRightBackLeftBackRightLFEChannel
:
473
return
6;
474
case
FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel
:
475
return
8;
476
default
:
477
return
0;
478
}
479
}
480
481
}
// namespace Mpeg4ChannelConfigs
482
486
namespace
Mpeg4VideoCodes {
487
}
488
492
namespace
Mpeg2VideoCodes {
493
}
494
495
}
// namespace TagParser
TagParser::Mpeg4AudioObjectIds::idToMediaFormat
TAG_PARSER_EXPORT MediaFormat idToMediaFormat(std::uint8_t mpeg4AudioObjectId, bool sbrPresent=false, bool psPresent=false)
Definition:
mp4ids.cpp:366
TagParser::FourccIds::Divx3Decoder6
Definition:
mp4ids.h:244
TagParser::GeneralMediaFormat::Mpeg4Video
TagParser::FourccIds::Divx3Decoder11
Definition:
mp4ids.h:249
TagParser::Mpeg4AudioObjectIds::Layer3
Definition:
mp4ids.h:593
TagParser::FourccIds::Mpeg
Definition:
mp4ids.h:322
TagParser::FourccIds::H264Decoder3
Definition:
mp4ids.h:286
mp4ids.h
TagParser::Mpeg4ElementaryStreamObjectIds::DtsHdHighResolution
Definition:
mp4ids.h:476
TagParser::GeneralMediaFormat::Aac
TagParser::FourccIds::Divx3Decoder2
Definition:
mp4ids.h:240
TagParser::Mpeg4ElementaryStreamObjectIds::SystemsIso144961v2
Definition:
mp4ids.h:442
TagParser::FourccIds::Divx3Decoder15
Definition:
mp4ids.h:253
TagParser::Mpeg4ElementaryStreamObjectIds::Aac
Definition:
mp4ids.h:453
TagParser::SubFormats::PcmIntBe
Definition:
mediaformat.h:224
TagParser::MediaFormat::extension
unsigned char extension
Definition:
mediaformat.h:260
TagParser::FourccIds::H264Decoder1
Definition:
mp4ids.h:284
TagParser::Mpeg4ElementaryStreamObjectIds::Ac3
Definition:
mp4ids.h:473
TagParser::SubFormats::AacMpeg4ERLowComplecityProfile
Definition:
mediaformat.h:122
TagParser::Mpeg4ElementaryStreamObjectIds::InteractionStream
Definition:
mp4ids.h:443
TagParser::FourccIds::Divx5Decoder
Definition:
mp4ids.h:256
TagParser::Mpeg4ElementaryStreamObjectIds::StreamingTextStream
Definition:
mp4ids.h:447
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateOgg2
Definition:
mp4ids.h:483
TagParser::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel
Definition:
mp4ids.h:621
TagParser::GeneralMediaFormat::Vp8
TagParser::Mpeg4AudioObjectIds::AacLtp
Definition:
mp4ids.h:566
TagParser::SubFormats::AacMpeg4LongTermPrediction
Definition:
mediaformat.h:121
TagParser::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightBackLeftBackRight
Definition:
mp4ids.h:619
TagParser::Mpeg4AudioObjectIds::ErAacLc
Definition:
mp4ids.h:577
TagParser::FourccIds::MsMpeg4V1Decoder2
Definition:
mp4ids.h:333
TagParser::Mpeg4ElementaryStreamObjectIds::streamObjectTypeFormat
TAG_PARSER_EXPORT MediaFormat streamObjectTypeFormat(std::uint8_t streamObjectTypeId)
Returns the TagParser::MediaFormat denoted by the specified MPEG-4 stream ID.
Definition:
mp4ids.cpp:214
TagParser::FourccIds::FloatingPoint32Bit
Definition:
mp4ids.h:275
TagParser::FourccIds::XvidDecoder2
Definition:
mp4ids.h:407
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateEvrc
Definition:
mp4ids.h:479
TagParser::Mpeg4ElementaryStreamObjectIds::SynthesizedTextureStream
Definition:
mp4ids.h:446
TagParser::FourccIds::MsMpeg4V2Decoder1
Definition:
mp4ids.h:338
TagParser::FourccIds::Divx3Decoder8
Definition:
mp4ids.h:246
TagParser::FourccIds::XvidDecoder4
Definition:
mp4ids.h:409
TagParser::FourccIds::Divx3Decoder9
Definition:
mp4ids.h:247
TagParser::GeneralMediaFormat::Tiff
TagParser::FourccIds::Mpeg2Imx50
Definition:
mp4ids.h:324
TagParser::GeneralMediaFormat::Mpeg2Audio
TagParser::Mpeg4ChannelConfigs::AotSpecificConfig
Definition:
mp4ids.h:614
TagParser::FourccIds::Jpeg
Definition:
mp4ids.h:307
TagParser::FourccIds::Avc4
Definition:
mp4ids.h:224
TagParser::FourccIds::MsMpeg4V2Decoder3
Definition:
mp4ids.h:340
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2AacScaleableSamplingRateProfile
Definition:
mp4ids.h:462
TagParser::Mp4TagExtendedNameIds::label
const char * label
Definition:
mp4ids.cpp:31
TagParser::SubFormats::PcmFloatIeee
Definition:
mediaformat.h:224
TagParser::Mpeg4ElementaryStreamTypeIds::Ipmp
Definition:
mp4ids.h:504
TagParser::Mpeg4ElementaryStreamObjectIds::EAc3
Definition:
mp4ids.h:474
TagParser::FourccIds::WavPack
Definition:
mp4ids.h:390
TagParser::Mpeg4AudioObjectIds::ErAacLtp
Definition:
mp4ids.h:578
TagParser::FourccIds::Hevc2
Definition:
mp4ids.h:292
TagParser::SubFormats::AacMpeg2MainProfile
Definition:
mediaformat.h:115
TagParser::FourccIds::ImaadpcmAcm
Definition:
mp4ids.h:296
TagParser::SubFormats::Mpeg2HighProfile
Definition:
mediaformat.h:134
TagParser::SubFormats::Mpeg1Layer3
Definition:
mediaformat.h:112
TagParser::Mpeg4ElementaryStreamTypeIds::streamTypeName
const TAG_PARSER_EXPORT char * streamTypeName(std::uint8_t streamTypeId)
Returns the name of the stream type denoted by the specified MPEG-4 stream type ID.
Definition:
mp4ids.cpp:324
TagParser::FourccIds::Ac4
Definition:
mp4ids.h:147
TagParser::Mpeg4ElementaryStreamObjectIds::Png
Definition:
mp4ids.h:467
TagParser::GeneralMediaFormat::DtsHd
TagParser::Mpeg4AudioObjectIds::Sbr
Definition:
mp4ids.h:567
TagParser::FourccIds::Gif
Definition:
mp4ids.h:278
TagParser::Mpeg4ElementaryStreamObjectIds::Dirac
Definition:
mp4ids.h:472
TagParser::FourccIds::Dts
Definition:
mp4ids.h:259
TagParser::FourccIds::Int16Be
Definition:
mp4ids.h:298
TagParser::GeneralMediaFormat::Qcelp
TagParser::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightBackLeftBackRightLFEChannel
Definition:
mp4ids.h:620
TagParser::GeneralMediaFormat::Smv
TagParser::FourccIds::Rv20
Definition:
mp4ids.h:365
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateAc3
Definition:
mp4ids.h:480
TagParser::ExtensionFormats::SpectralBandReplication
Definition:
mediaformat.h:242
TagParser::GeneralMediaFormat::Sa0c
TagParser::SubFormats::DtsHdMasterAudio
Definition:
mediaformat.h:221
TagParser::Mp4TagExtendedMeanIds::iTunes
const char * iTunes
Definition:
mp4ids.cpp:23
TagParser::GeneralMediaFormat::Av1
TagParser::GeneralMediaFormat::UncompressedVideoFrames
TagParser::SubFormats::AacMpeg2ScalableSamplingRateProfile
Definition:
mediaformat.h:117
TagParser::Mpeg4AudioObjectIds::AacMain
Definition:
mp4ids.h:563
TagParser
Contains all classes and functions of the TagInfo library.
Definition:
aaccodebook.h:10
TagParser::FourccIds::H264Decoder5
Definition:
mp4ids.h:288
TagParser::FourccIds::Mpeg4Audio
Definition:
mp4ids.h:325
TagParser::SubFormats::DtsExpress
Definition:
mediaformat.h:218
TagParser::FourccIds::MsMpeg4V1Decoder6
Definition:
mp4ids.h:337
TagParser::FourccIds::H264Decoder6
Definition:
mp4ids.h:289
TagParser::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightBackCenter
Definition:
mp4ids.h:618
TagParser::Mpeg4ElementaryStreamTypeIds::ObjectContentInfo
Definition:
mp4ids.h:501
TagParser::FourccIds::MsMpeg4V1Decoder3
Definition:
mp4ids.h:334
TagParser::Mpeg4ElementaryStreamObjectIds::Avc
Definition:
mp4ids.h:449
TagParser::FourccIds::Flac
Definition:
mp4ids.h:272
TagParser::SubFormats::AacMpeg4ERLongTermPrediction
Definition:
mediaformat.h:124
TagParser::FourccIds::H2633GPP
Definition:
mp4ids.h:283
TagParser::GeneralMediaFormat::Mpeg4TimedText
TagParser::FourccIds::Opus
Definition:
mp4ids.h:346
TagParser::FourccIds::Divx3Decoder4
Definition:
mp4ids.h:242
TagParser::Mpeg4ElementaryStreamObjectIds::ParameterSetsForAvc
Definition:
mp4ids.h:450
TagParser::mpeg4SamplingFrequencyTable
std::uint32_t mpeg4SamplingFrequencyTable[13]
Definition:
mp4ids.cpp:422
TagParser::SubFormats::AacMpeg4ERLowDelay
Definition:
mediaformat.h:125
TagParser::FourccIds::DtsE
Definition:
mp4ids.h:261
TagParser::FourccIds::Int24
Definition:
mp4ids.h:300
TagParser::FourccIds::Ac3
Definition:
mp4ids.h:146
TagParser::Mpeg4ElementaryStreamObjectIds::AfxStream
Definition:
mp4ids.h:444
TagParser::FourccIds::FloatingPoint64Bit
Definition:
mp4ids.h:276
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateVobSub
Definition:
mp4ids.h:484
TagParser::Mpeg4ElementaryStreamTypeIds::Interaction
Definition:
mp4ids.h:503
TagParser::FourccIds::MsMpeg4V2Decoder4
Definition:
mp4ids.h:341
TagParser::GeneralMediaFormat::Gif
TagParser::SubFormats::AacMpeg4LowComplexityProfile
Definition:
mediaformat.h:119
TagParser::GeneralMediaFormat::Opus
TagParser::GeneralMediaFormat::Gpp2Cmf
TagParser::FourccIds::Int32
Definition:
mp4ids.h:301
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2Video422Profile
Definition:
mp4ids.h:459
TagParser::FourccIds::Raw
Definition:
mp4ids.h:361
TagParser::GeneralMediaFormat::ImaadpcmAcm
TagParser::GeneralMediaFormat::AfxStream
TagParser::Mpeg4ElementaryStreamObjectIds::SystemsIso144961
Definition:
mp4ids.h:441
TagParser::SubFormats::Mpeg1Layer1
Definition:
mediaformat.h:112
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile0
Definition:
mediaformat.h:185
TagParser::FourccIds::Mpeg4Video
Definition:
mp4ids.h:331
TagParser::GeneralMediaFormat::Pcm
TagParser::FourccIds::H264Decoder2
Definition:
mp4ids.h:285
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg1Audio
Definition:
mp4ids.h:465
TagParser::Mpeg4ChannelConfigs::FrontCenter
Definition:
mp4ids.h:615
TagParser::FourccIds::Avc2
Definition:
mp4ids.h:222
TagParser::FourccIds::WindowsMediaVideoV17
Definition:
mp4ids.h:395
TagParser::GeneralMediaFormat::Evrc
TagParser::FourccIds::DtsH
Definition:
mp4ids.h:260
TagParser::Mpeg4ElementaryStreamObjectIds::Als
Definition:
mp4ids.h:451
TagParser::FourccIds::Hevc1
Definition:
mp4ids.h:291
TagParser::GeneralMediaFormat::Mpeg1Video
TagParser::FourccIds::Png
Definition:
mp4ids.h:349
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2Audio
Definition:
mp4ids.h:463
TagParser::SubFormats::AacMpeg4MainProfile
Definition:
mediaformat.h:118
TagParser::FourccIds::WindowsMediaAudio
Definition:
mp4ids.h:391
TagParser::Mpeg4ElementaryStreamObjectIds::Evrc
Definition:
mp4ids.h:468
TagParser::Mpeg4ChannelConfigs::channelCount
TAG_PARSER_EXPORT std::uint8_t channelCount(std::uint8_t config)
Returns the channel count for the specified MPEG-4 channel config.
Definition:
mp4ids.cpp:459
TagParser::Mpeg4ElementaryStreamTypeIds::Visual
Definition:
mp4ids.h:497
TagParser::FourccIds::AppleTextAtsuiCodec
Definition:
mp4ids.h:207
TagParser::FourccIds::MsMpeg4V1Decoder5
Definition:
mp4ids.h:336
TagParser::Mp4TagExtendedNameIds::cdec
const char * cdec
Definition:
mp4ids.cpp:30
TagParser::SubFormats::Mpeg4SimpleProfile0
Definition:
mediaformat.h:142
TagParser::FourccIds::Divx4Decoder1
Definition:
mp4ids.h:254
TagParser::FourccIds::Vp8
Definition:
mp4ids.h:387
TagParser::FourccIds::MsMpeg4V3Decoder1
Definition:
mp4ids.h:342
TagParser::GeneralMediaFormat::Systems
TagParser::FourccIds::MsMpeg4V1Decoder1
Definition:
mp4ids.h:332
TagParser::FourccIds::Mpeg4TimedText
Definition:
mp4ids.h:330
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoMainProfile
Definition:
mp4ids.h:455
TagParser::SubFormats::Mpeg2SpatialProfile
Definition:
mediaformat.h:133
TagParser::Mpeg4ElementaryStreamTypeIds::Audio
Definition:
mp4ids.h:498
TagParser::GeneralMediaFormat::Vc1
TagParser::Mpeg4ElementaryStreamTypeIds::ObjectDescriptor
Definition:
mp4ids.h:494
TagParser::Mpeg4ElementaryStreamObjectIds::Gpp2Cmf
Definition:
mp4ids.h:470
TagParser::Mpeg4ElementaryStreamTypeIds::StreamingText
Definition:
mp4ids.h:506
TagParser::GeneralMediaFormat::WindowsMediaAudio
TagParser::GeneralMediaFormat::EAc3
TagParser::Mpeg4AudioObjectIds::AacSsr
Definition:
mp4ids.h:565
TagParser::FourccIds::Divx3Decoder14
Definition:
mp4ids.h:252
TagParser::Mpeg4ElementaryStreamTypeIds::FontData
Definition:
mp4ids.h:505
TagParser::Mpeg4AudioObjectIds::Ps
Definition:
mp4ids.h:588
TagParser::Mpeg4ElementaryStreamObjectIds::Vc1
Definition:
mp4ids.h:471
TagParser::FourccIds::Rv40
Definition:
mp4ids.h:367
TagParser::Mpeg4AudioObjectIds::Layer2
Definition:
mp4ids.h:592
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateQcelp
Definition:
mp4ids.h:485
TagParser::GeneralMediaFormat::FontDataStream
TagParser::Mpeg4ElementaryStreamTypeIds::MpegJava
Definition:
mp4ids.h:502
TagParser::FourccIds::AdpcmAcm
Definition:
mp4ids.h:148
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateDts
Definition:
mp4ids.h:481
TagParser::Mpeg4ElementaryStreamObjectIds::Jpeg
Definition:
mp4ids.h:466
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2AacLowComplexityProfile
Definition:
mp4ids.h:461
TagParser::GeneralMediaFormat::DolbyMlp
TagParser::FourccIds::Divx3Decoder10
Definition:
mp4ids.h:248
TagParser::FourccIds::H264Decoder4
Definition:
mp4ids.h:287
TagParser::GeneralMediaFormat::Ac4
TagParser::SubFormats::DtsHdHighResolution
Definition:
mediaformat.h:220
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoSpatialProfile
Definition:
mp4ids.h:457
TagParser::SubFormats::Mpeg1Layer2
Definition:
mediaformat.h:112
TagParser::Mpeg4ElementaryStreamTypeIds::ClockReference
Definition:
mp4ids.h:495
TagParser::FourccIds::Av1_ISOBMFF
Definition:
mp4ids.h:226
TagParser::FourccIds::WindowsMediaAudio9Professional
Definition:
mp4ids.h:393
TagParser::FourccIds::MsMpeg4V1Decoder4
Definition:
mp4ids.h:335
TagParser::FourccIds::MsMpeg4V3Decoder2
Definition:
mp4ids.h:343
TagParser::FourccIds::Mp3CbrOnly
Definition:
mp4ids.h:321
TagParser::FourccIds::Vp9
Definition:
mp4ids.h:388
TagParser::FourccIds::Avc3
Definition:
mp4ids.h:223
TagParser::Mpeg4ElementaryStreamObjectIds::FontDataStream
Definition:
mp4ids.h:445
TagParser::Mpeg4ElementaryStreamTypeIds::Mpeg7
Definition:
mp4ids.h:499
TagParser::FourccIds::AmrNarrowband
Definition:
mp4ids.h:156
TagParser::FourccIds::WindowsMediaVideoV2
Definition:
mp4ids.h:396
TagParser::Mpeg4AudioObjectIds::AacScalable
Definition:
mp4ids.h:568
TagParser::Mpeg4ElementaryStreamTypeIds::Ipmps
Definition:
mp4ids.h:500
TagParser::Mpeg4ElementaryStreamTypeIds::SceneDescriptor
Definition:
mp4ids.h:496
TagParser::FourccIds::Rv30
Definition:
mp4ids.h:366
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg4Visual
Definition:
mp4ids.h:448
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoSimpleProfile
Definition:
mp4ids.h:454
TagParser::FourccIds::Int16Le
Definition:
mp4ids.h:299
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoHighProfile
Definition:
mp4ids.h:458
TagParser::FourccIds::Divx3Decoder1
Definition:
mp4ids.h:239
TagParser::Mpeg4AudioObjectIds::AacLc
Definition:
mp4ids.h:564
TagParser::GeneralMediaFormat::Alac
TagParser::FourccIds::Divx3Decoder3
Definition:
mp4ids.h:241
TagParser::FourccIds::Alac
Definition:
mp4ids.h:150
TagParser::SubFormats::Mpeg2SnrProfile
Definition:
mediaformat.h:132
TagParser::FourccIds::WindowsMediaAudio7
Definition:
mp4ids.h:392
TagParser::GeneralMediaFormat::TimedText
TagParser::GeneralMediaFormat::Hevc
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg1Video
Definition:
mp4ids.h:464
TagParser::FourccIds::MsMpeg4V2Decoder2
Definition:
mp4ids.h:339
TagParser::FourccIds::EAc3
Definition:
mp4ids.h:266
TagParser::GeneralMediaFormat::RealVideo
TagParser::FourccIds::Divx3Decoder13
Definition:
mp4ids.h:251
TagParser::SubFormats::AacMpeg4ScalableSamplingRateProfile
Definition:
mediaformat.h:120
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
TagParser::FourccIds::Divx3Decoder5
Definition:
mp4ids.h:243
TagParser::SubFormats::AacMpeg2LowComplexityProfile
Definition:
mediaformat.h:116
TagParser::FourccIds::XvidDecoder1
Definition:
mp4ids.h:406
TagParser::FourccIds::WindowsMediaVideoV8
Definition:
mp4ids.h:397
TagParser::GeneralMediaFormat::Vp9
TagParser::Mpeg4ElementaryStreamObjectIds::DtsHdExpress
Definition:
mp4ids.h:478
TagParser::GeneralMediaFormat::Amr
TagParser::FourccIds::XvidDecoder3
Definition:
mp4ids.h:408
TagParser::FourccIds::XvidDecoder5
Definition:
mp4ids.h:410
TagParser::FourccIds::Divx4Decoder2
Definition:
mp4ids.h:255
TagParser::FourccIds::Mpeg2Imx30
Definition:
mp4ids.h:323
TagParser::FourccIds::Divx3Decoder12
Definition:
mp4ids.h:250
TagParser::GeneralMediaFormat::WindowsMediaVideo
TagParser::FourccIds::H263Quicktime
Definition:
mp4ids.h:282
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2AacMainProfile
Definition:
mp4ids.h:460
TagParser::FourccIds::fourccToMediaFormat
TAG_PARSER_EXPORT MediaFormat fourccToMediaFormat(std::uint32_t fourccId)
Definition:
mp4ids.cpp:46
TagParser::GeneralMediaFormat::Als
TagParser::GeneralMediaFormat::Mpeg1Audio
TagParser::GeneralMediaFormat::MicrosoftMpeg4
TagParser::FourccIds::WindowsMediaAudio9Standard
Definition:
mp4ids.h:394
TagParser::Mpeg4ElementaryStreamObjectIds::PrivateOgg
Definition:
mp4ids.h:482
TagParser::FourccIds::Tiff
Definition:
mp4ids.h:378
TagParser::GeneralMediaFormat::VobSub
TagParser::Mpeg4ElementaryStreamObjectIds::Sa0c
Definition:
mp4ids.h:452
TagParser::FourccIds::Av1_IVF
Definition:
mp4ids.h:225
TagParser::GeneralMediaFormat::Mpeg2Video
TagParser::Mpeg4ElementaryStreamObjectIds::DtsHdMasterAudio
Definition:
mp4ids.h:477
TagParser::FourccIds::Vp9_2
Definition:
mp4ids.h:389
TagParser::Mpeg4ElementaryStreamObjectIds::Smv
Definition:
mp4ids.h:469
TagParser::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoSnrProfile
Definition:
mp4ids.h:456
TagParser::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRight
Definition:
mp4ids.h:617
TagParser::Mpeg4ChannelConfigs::channelConfigString
const TAG_PARSER_EXPORT char * channelConfigString(std::uint8_t config)
Returns the string representation for the specified MPEG-4 channel config.
Definition:
mp4ids.cpp:432
TagParser::FourccIds::Avc1
Definition:
mp4ids.h:221
TagParser::SubFormats::PcmIntLe
Definition:
mediaformat.h:224
TagParser::GeneralMediaFormat::StreamingTextStream
TagParser::GeneralMediaFormat::InteractionStream
TagParser::FourccIds::DolbyMpl
Definition:
mp4ids.h:317
TagParser::Mpeg4ChannelConfigs::FrontLeftFrontRight
Definition:
mp4ids.h:616
TagParser::GeneralMediaFormat::Vorbis
TagParser::GeneralMediaFormat::SynthesizedTextureStream
TagParser::ExtensionFormats::ParametricStereo
Definition:
mediaformat.h:242
TagParser::MediaFormat
The MediaFormat class specifies the format of media data.
Definition:
mediaformat.h:245
TagParser::GeneralMediaFormat::Avc
TagParser::Mpeg4AudioObjectIds::ErAacLd
Definition:
mp4ids.h:582
TagParser::FourccIds::Amr
Definition:
mp4ids.h:155
TagParser::MatroskaElementLevel::Unknown
TagParser::GeneralMediaFormat::Dts
TagParser::SubFormats::Mpeg2SimpleProfile
Definition:
mediaformat.h:130
TagParser::Mpeg4AudioObjectIds::Layer1
Definition:
mp4ids.h:591
TagParser::Mpeg4ElementaryStreamObjectIds::Dts
Definition:
mp4ids.h:475
TagParser::GeneralMediaFormat::AdpcmAcm
TagParser::FourccIds::Divx3Decoder7
Definition:
mp4ids.h:245
TagParser::FourccIds::Mp3
Definition:
mp4ids.h:320
Generated on Sat Oct 12 2019 19:23:25 for Tag Parser by
1.8.16