Tag Parser
6.2.2
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
Media
{
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
}
33
37
namespace
Mp4MediaTypeIds {
38
}
39
44
namespace
FourccIds {
45
46
MediaFormat
fourccToMediaFormat
(uint32 fourccId)
47
{
48
switch
(fourccId) {
49
case
Mpeg
:
50
return
GeneralMediaFormat::Mpeg1Video
;
51
case
Mpeg2Imx30
:
case
Mpeg2Imx50
:
52
return
GeneralMediaFormat::Mpeg2Video
;
53
case
Mpeg4Video
:
54
return
GeneralMediaFormat::Mpeg4Video
;
55
case
Mpeg4TimedText
:
56
return
GeneralMediaFormat::Mpeg4TimedText
;
57
case
Hevc1
:
case
Hevc2
:
58
return
MediaFormat
(
GeneralMediaFormat::Hevc
);
59
case
Avc1
:
case
Avc2
:
case
Avc3
:
case
Avc4
:
case
H264Decoder1
:
case
H264Decoder2
:
60
case
H264Decoder3
:
case
H264Decoder4
:
case
H264Decoder5
:
case
H264Decoder6
:
61
return
MediaFormat
(
GeneralMediaFormat::Avc
);
62
case
Divx4Decoder1
:
case
Divx4Decoder2
:
63
case
H263Quicktime
:
case
H2633GPP
:
case
XvidDecoder1
:
case
XvidDecoder2
:
64
case
XvidDecoder3
:
case
XvidDecoder4
:
case
XvidDecoder5
:
case
Divx5Decoder
:
65
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg4AdvancedSimpleProfile0
);
66
case
Divx3Decoder1
:
case
Divx3Decoder2
:
case
Divx3Decoder3
:
case
Divx3Decoder4
:
case
Divx3Decoder5
:
67
case
Divx3Decoder6
:
case
Divx3Decoder7
:
case
Divx3Decoder8
:
case
Divx3Decoder9
:
case
Divx3Decoder10
:
68
case
Divx3Decoder11
:
case
Divx3Decoder12
:
case
Divx3Decoder13
:
case
Divx3Decoder14
:
case
Divx3Decoder15
:
69
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg4SimpleProfile0
);
70
case
Tiff
:
71
return
GeneralMediaFormat::Tiff
;
72
case
AppleTextAtsuiCodec
:
73
return
GeneralMediaFormat::TimedText
;
74
case
Raw
:
75
return
GeneralMediaFormat::UncompressedVideoFrames
;
76
case
Jpeg
:
77
return
GeneralMediaFormat::Jpeg
;
78
case
Gif
:
79
return
GeneralMediaFormat::Gif
;
80
case
Png
:
81
return
GeneralMediaFormat::Png
;
82
case
AdpcmAcm
:
83
return
GeneralMediaFormat::AdpcmAcm
;
84
case
ImaadpcmAcm
:
85
return
GeneralMediaFormat::ImaadpcmAcm
;
86
case
Mp3CbrOnly
:
case
Mp3
:
87
return
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer3
);
88
case
Mpeg4Audio
:
89
return
GeneralMediaFormat::Aac
;
90
case
Alac
:
91
return
GeneralMediaFormat::Alac
;
92
case
Ac3
:
93
return
GeneralMediaFormat::Ac3
;
94
case
EAc3
:
95
return
GeneralMediaFormat::EAc3
;
96
case
DolbyMpl
:
97
return
GeneralMediaFormat::DolbyMlp
;
98
case
Ac4
:
99
return
GeneralMediaFormat::Ac4
;
100
case
Rv20
:
case
Rv30
:
case
Rv40
:
101
return
GeneralMediaFormat::RealVideo
;
102
case
Int24
:
case
Int32
:
103
return
MediaFormat
(
GeneralMediaFormat::Pcm
);
104
case
Int16Be
:
105
return
MediaFormat
(
GeneralMediaFormat::Pcm
,
SubFormats::PcmIntBe
);
106
case
Int16Le
:
107
return
MediaFormat
(
GeneralMediaFormat::Pcm
,
SubFormats::PcmIntLe
);
108
case
FloatingPoint32Bit
:
case
FloatingPoint64Bit
:
109
return
MediaFormat
(
GeneralMediaFormat::Pcm
,
SubFormats::PcmFloatIeee
);
110
case
Amr
:
case
AmrNarrowband
:
111
return
MediaFormat
(
GeneralMediaFormat::Amr
);
112
case
Dts
:
case
DtsH
:
113
return
MediaFormat
(
GeneralMediaFormat::Dts
);
114
case
DtsE
:
115
return
MediaFormat
(
GeneralMediaFormat::Dts
,
SubFormats::DtsExpress
);
116
case
WindowsMediaAudio
:
case
WindowsMediaAudio7
:
117
case
WindowsMediaAudio9Professional
:
case
WindowsMediaAudio9Standard
:
118
return
MediaFormat
(
GeneralMediaFormat::WindowsMediaAudio
);
119
case
MsMpeg4V1Decoder1
:
case
MsMpeg4V1Decoder2
:
case
MsMpeg4V1Decoder3
:
120
case
MsMpeg4V1Decoder4
:
case
MsMpeg4V1Decoder5
:
case
MsMpeg4V1Decoder6
:
121
return
MediaFormat
(
GeneralMediaFormat::MicrosoftMpeg4
, 1);
122
case
MsMpeg4V2Decoder1
:
case
MsMpeg4V2Decoder2
:
case
MsMpeg4V2Decoder3
:
123
case
MsMpeg4V2Decoder4
:
124
return
MediaFormat
(
GeneralMediaFormat::MicrosoftMpeg4
, 2);
125
case
MsMpeg4V3Decoder1
:
case
MsMpeg4V3Decoder2
:
126
return
MediaFormat
(
GeneralMediaFormat::MicrosoftMpeg4
, 3);
127
case
WindowsMediaVideoV17
:
128
return
MediaFormat
(
GeneralMediaFormat::WindowsMediaVideo
, 1);
129
case
WindowsMediaVideoV2
:
case
WindowsMediaVideoV8
:
130
return
MediaFormat
(
GeneralMediaFormat::WindowsMediaVideo
, 2);
131
// TODO: map more FOURCCs
132
default
:
133
return
GeneralMediaFormat::Unknown
;
134
}
135
}
136
137
}
138
143
namespace
Mp4FormatExtensionIds {
144
}
145
149
namespace
Mpeg4ElementaryStreamObjectIds {
150
154
MediaFormat
streamObjectTypeFormat
(byte streamObjectTypeId)
155
{
156
switch
(streamObjectTypeId) {
157
case
SystemsIso144961
:
return
GeneralMediaFormat::Systems
;
158
case
SystemsIso144961v2
:
return
MediaFormat
(
GeneralMediaFormat::Systems
, 2);
159
case
InteractionStream
:
return
GeneralMediaFormat::InteractionStream
;
160
case
AfxStream
:
return
GeneralMediaFormat::AfxStream
;
161
case
FontDataStream
:
return
GeneralMediaFormat::FontDataStream
;
162
case
SynthesizedTextureStream
:
return
GeneralMediaFormat::SynthesizedTextureStream
;
163
case
StreamingTextStream
:
return
GeneralMediaFormat::StreamingTextStream
;
164
case
Mpeg4Visual
:
return
GeneralMediaFormat::Mpeg4Video
;
165
case
Avc
:
return
GeneralMediaFormat::Avc
;
166
case
ParameterSetsForAvc
:
return
GeneralMediaFormat::Avc
;
167
case
Als
:
return
GeneralMediaFormat::Als
;
168
case
Sa0c
:
return
GeneralMediaFormat::Sa0c
;
169
case
Aac
:
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
);
170
case
Mpeg2VideoSimpleProfile
:
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SimpleProfile
);
171
case
Mpeg2VideoMainProfile
:
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SnrProfile
);
172
case
Mpeg2VideoSnrProfile
:
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SpatialProfile
);
173
case
Mpeg2VideoSpatialProfile
:
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2HighProfile
);
174
case
Mpeg2VideoHighProfile
:
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2HighProfile
);
175
case
Mpeg2Video422Profile
:
return
MediaFormat
(
GeneralMediaFormat::Mpeg4Video
,
SubFormats::Mpeg2SimpleProfile
);
176
case
Mpeg2AacMainProfile
:
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg2MainProfile
);
177
case
Mpeg2AacLowComplexityProfile
:
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg2LowComplexityProfile
);
178
case
Mpeg2AacScaleableSamplingRateProfile
:
return
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg2ScalableSamplingRateProfile
);
179
case
Mpeg2Audio
:
return
GeneralMediaFormat::Mpeg2Audio
;
180
case
Mpeg1Video
:
return
GeneralMediaFormat::Mpeg1Video
;
181
case
Mpeg1Audio
:
return
GeneralMediaFormat::Mpeg1Audio
;
182
case
Jpeg
:
return
GeneralMediaFormat::Jpeg
;
183
case
Png
:
return
GeneralMediaFormat::Png
;
184
case
Evrc
:
case
PrivateEvrc
:
return
GeneralMediaFormat::Evrc
;
185
case
Smv
:
return
GeneralMediaFormat::Smv
;
186
case
Gpp2Cmf
:
return
GeneralMediaFormat::Gpp2Cmf
;
187
case
Vc1
:
return
GeneralMediaFormat::Vc1
;
188
case
Dirac
:
return
GeneralMediaFormat::Dirac
;
189
case
Ac3
:
case
PrivateAc3
:
return
GeneralMediaFormat::Ac3
;
190
case
EAc3:
return
GeneralMediaFormat::EAc3
;
191
case
Dts:
case
PrivateDts
:
return
GeneralMediaFormat::Dts
;
192
case
DtsHdHighResolution
:
return
MediaFormat
(
GeneralMediaFormat::DtsHd
,
SubFormats::DtsHdHighResolution
);
193
case
DtsHdMasterAudio
:
return
MediaFormat
(
GeneralMediaFormat::DtsHd
,
SubFormats::DtsHdMasterAudio
);
194
case
DtsHdExpress
:
return
MediaFormat
(
GeneralMediaFormat::DtsHd
,
SubFormats::DtsExpress
);
195
case
PrivateOgg
:
case
PrivateOgg2
:
return
GeneralMediaFormat::Vorbis
;
196
case
PrivateQcelp
:
return
GeneralMediaFormat::Qcelp
;
197
default
:
return
MediaFormat
();
198
}
199
}
200
201
}
202
206
namespace
Mpeg4DescriptorIds {
207
}
208
212
namespace
Mpeg4ElementaryStreamTypeIds {
213
217
const
char
*
streamTypeName
(byte streamTypeId)
218
{
219
switch
(streamTypeId) {
220
case
ObjectDescriptor
:
return
"object descriptor"
;
221
case
ClockReference
:
return
"clock reference"
;
222
case
SceneDescriptor
:
return
"scene descriptor"
;
223
case
Visual
:
return
"visual"
;
224
case
Audio
:
return
"audio"
;
225
case
Mpeg7
:
return
"MPEG-7"
;
226
case
Ipmps
:
return
"IMPS"
;
227
case
ObjectContentInfo
:
return
"object content info"
;
228
case
MpegJava
:
return
"MPEG Java"
;
229
case
Interaction
:
return
"interaction"
;
230
case
Ipmp
:
return
"IPMP"
;
231
case
FontData
:
return
"font data"
;
232
case
StreamingText
:
return
"streaming text"
;
233
default
:
return
""
;
234
}
235
}
236
237
}
238
243
namespace
Mpeg4AudioObjectIds {
244
245
TAG_PARSER_EXPORT
MediaFormat
idToMediaFormat
(byte mpeg4AudioObjectId,
bool
sbrPresent,
bool
psPresent)
246
{
247
MediaFormat
fmt;
248
switch
(mpeg4AudioObjectId) {
249
case
AacMain
:
250
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4MainProfile
);
251
break
;
252
case
AacLc
:
253
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
);
254
break
;
255
case
AacSsr
:
256
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ScalableSamplingRateProfile
);
257
break
;
258
case
AacLtp
:
259
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LongTermPrediction
);
260
break
;
261
case
Sbr
:
262
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
,
ExtensionFormats::SpectralBandReplication
);
263
break
;
264
case
AacScalable
:
265
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ScalableSamplingRateProfile
);
266
break
;
267
case
ErAacLc
:
268
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ERLowComplecityProfile
);
269
break
;
270
case
ErAacLtp
:
271
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ERLongTermPrediction
);
272
break
;
273
case
ErAacLd
:
274
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4ERLowDelay
);
275
break
;
276
case
Ps
:
277
fmt =
MediaFormat
(
GeneralMediaFormat::Aac
,
SubFormats::AacMpeg4LowComplexityProfile
,
ExtensionFormats::ParametricStereo
);
278
break
;
279
case
Layer1
:
280
fmt =
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer1
);
281
break
;
282
case
Layer2
:
283
fmt =
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer2
);
284
break
;
285
case
Layer3
:
286
fmt =
MediaFormat
(
GeneralMediaFormat::Mpeg1Audio
,
SubFormats::Mpeg1Layer3
);
287
break
;
288
default
:
289
;
290
}
291
if
(sbrPresent) {
292
fmt.
extension
|=
ExtensionFormats::SpectralBandReplication
;
293
}
294
if
(psPresent) {
295
fmt.
extension
|=
ExtensionFormats::ParametricStereo
;
296
}
297
return
fmt;
298
}
299
300
}
301
302
uint32
mpeg4SamplingFrequencyTable
[] = {
303
96000, 88200, 64000, 48000, 44100, 32000,
304
24000, 22050, 16000, 12000, 11025, 8000, 7350
305
};
306
310
namespace
Mpeg4ChannelConfigs {
311
315
const
char
*
channelConfigString
(byte config)
316
{
317
switch
(config) {
318
case
AotSpecificConfig
:
319
return
"defined in AOT Specific Config"
;
320
case
FrontCenter
:
321
return
"1 channel: front-center"
;
322
case
FrontLeftFrontRight
:
323
return
"2 channels: front-left, front-right"
;
324
case
FrontCenterFrontLeftFrontRight
:
325
return
"3 channels: front-center, front-left, front-right"
;
326
case
FrontCenterFrontLeftFrontRightBackCenter
:
327
return
"4 channels: front-center, front-left, front-right, back-center"
;
328
case
FrontCenterFrontLeftFrontRightBackLeftBackRight
:
329
return
"5 channels: front-center, front-left, front-right, back-left, back-right"
;
330
case
FrontCenterFrontLeftFrontRightBackLeftBackRightLFEChannel
:
331
return
"6 channels: front-center, front-left, front-right, back-left, back-right, LFE-channel"
;
332
case
FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel
:
333
return
"8 channels: front-center, front-left, front-right, side-left, side-right, back-left, back-right, LFE-channel"
;
334
default
:
335
return
nullptr
;
336
}
337
}
338
342
byte
channelCount
(byte config)
343
{
344
switch
(config) {
345
case
FrontCenter
:
346
return
1;
347
case
FrontLeftFrontRight
:
348
return
2;
349
case
FrontCenterFrontLeftFrontRight
:
350
return
3;
351
case
FrontCenterFrontLeftFrontRightBackCenter
:
352
return
4;
353
case
FrontCenterFrontLeftFrontRightBackLeftBackRight
:
354
return
5;
355
case
FrontCenterFrontLeftFrontRightBackLeftBackRightLFEChannel
:
356
return
6;
357
case
FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel
:
358
return
8;
359
default
:
360
return
0;
361
}
362
}
363
364
}
365
369
namespace
Mpeg4VideoCodes {
370
}
371
375
namespace
Mpeg2VideoCodes {
376
}
377
378
}
Media::FourccIds::ImaadpcmAcm
Definition:
mp4ids.h:289
Media::FourccIds::MsMpeg4V2Decoder2
Definition:
mp4ids.h:332
Media::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightBackLeftBackRight
Definition:
mp4ids.h:606
Media::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRight
Definition:
mp4ids.h:604
Media::FourccIds::Avc4
Definition:
mp4ids.h:220
Media::GeneralMediaFormat::Hevc
Media::FourccIds::MsMpeg4V1Decoder2
Definition:
mp4ids.h:326
Media::FourccIds::Mpeg4Audio
Definition:
mp4ids.h:318
Media::SubFormats::PcmIntBe
Definition:
mediaformat.h:228
Media::FourccIds::AmrNarrowband
Definition:
mp4ids.h:152
Media::GeneralMediaFormat::WindowsMediaVideo
Media::Mpeg4ElementaryStreamObjectIds::FontDataStream
Definition:
mp4ids.h:432
Media::FourccIds::Divx3Decoder8
Definition:
mp4ids.h:240
Media::SubFormats::AacMpeg2LowComplexityProfile
Definition:
mediaformat.h:119
Media::Mpeg4ElementaryStreamTypeIds::streamTypeName
TAG_PARSER_EXPORT const char * streamTypeName(byte streamTypeId)
Returns the name of the stream type denoted by the specified MPEG-4 stream type ID.
Definition:
mp4ids.cpp:217
Media::GeneralMediaFormat::ImaadpcmAcm
Media::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightBackCenter
Definition:
mp4ids.h:605
Media::Mpeg4ElementaryStreamObjectIds::Gpp2Cmf
Definition:
mp4ids.h:457
Media::Mpeg4ElementaryStreamTypeIds::Audio
Definition:
mp4ids.h:484
Media::GeneralMediaFormat::UncompressedVideoFrames
Media::Mpeg4AudioObjectIds::ErAacLc
Definition:
mp4ids.h:563
Media::GeneralMediaFormat::Aac
Media::Mpeg4ElementaryStreamObjectIds::Mpeg4Visual
Definition:
mp4ids.h:435
Media::FourccIds::Ac3
Definition:
mp4ids.h:142
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoSpatialProfile
Definition:
mp4ids.h:444
Media::Mpeg4ChannelConfigs::FrontCenter
Definition:
mp4ids.h:602
Media::Ac3
Definition:
signature.cpp:83
Media::FourccIds::Divx3Decoder4
Definition:
mp4ids.h:236
Media::GeneralMediaFormat::Qcelp
Media::GeneralMediaFormat::StreamingTextStream
Media::FourccIds::Mp3CbrOnly
Definition:
mp4ids.h:314
Media::Mpeg4ElementaryStreamObjectIds::PrivateOgg
Definition:
mp4ids.h:469
Media::FourccIds::WindowsMediaVideoV8
Definition:
mp4ids.h:385
Media::GeneralMediaFormat::Mpeg1Video
Media::FourccIds::Mpeg2Imx50
Definition:
mp4ids.h:317
Media::FourccIds::Rv40
Definition:
mp4ids.h:359
Media::FourccIds::EAc3
Definition:
mp4ids.h:260
Media::FourccIds::Avc1
Definition:
mp4ids.h:217
Media::GeneralMediaFormat::FontDataStream
Media::GeneralMediaFormat::Vorbis
Media::FourccIds::DtsE
Definition:
mp4ids.h:255
Media::Mpeg4ElementaryStreamObjectIds::Dirac
Definition:
mp4ids.h:459
Media::FourccIds::Hevc1
Definition:
mp4ids.h:284
Media::SubFormats::DtsHdMasterAudio
Definition:
mediaformat.h:224
Media::FourccIds::Divx3Decoder5
Definition:
mp4ids.h:237
Media::FourccIds::DolbyMpl
Definition:
mp4ids.h:310
Media::FourccIds::FloatingPoint32Bit
Definition:
mp4ids.h:268
Media::GeneralMediaFormat::Gpp2Cmf
Media::FourccIds::H264Decoder3
Definition:
mp4ids.h:279
Media::SubFormats::PcmFloatIeee
Definition:
mediaformat.h:230
Media::SubFormats::AacMpeg2MainProfile
Definition:
mediaformat.h:118
Media::SubFormats::Mpeg2SpatialProfile
Definition:
mediaformat.h:136
Media::Mpeg4ElementaryStreamTypeIds::StreamingText
Definition:
mp4ids.h:492
Media::FourccIds::Gif
Definition:
mp4ids.h:271
Media::FourccIds::Dts
Definition:
mp4ids.h:253
Media::SubFormats::Mpeg4AdvancedSimpleProfile0
Definition:
mediaformat.h:188
Media::SubFormats::AacMpeg4MainProfile
Definition:
mediaformat.h:121
Media::FourccIds::MsMpeg4V1Decoder3
Definition:
mp4ids.h:327
Media::FourccIds::H264Decoder2
Definition:
mp4ids.h:278
Media::FourccIds::Rv30
Definition:
mp4ids.h:358
Media::SubFormats::AacMpeg4ERLowDelay
Definition:
mediaformat.h:128
Media::FourccIds::AdpcmAcm
Definition:
mp4ids.h:144
Media::SubFormats::Mpeg1Layer2
Definition:
mediaformat.h:113
Media::FourccIds::H2633GPP
Definition:
mp4ids.h:276
Media::GeneralMediaFormat::AdpcmAcm
Media::GeneralMediaFormat::TimedText
Media::FourccIds::MsMpeg4V2Decoder3
Definition:
mp4ids.h:333
Media::FourccIds::Divx4Decoder1
Definition:
mp4ids.h:248
Media::FourccIds::Alac
Definition:
mp4ids.h:146
Media::FourccIds::Divx3Decoder14
Definition:
mp4ids.h:246
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2Audio
Definition:
mp4ids.h:450
Media::FourccIds::XvidDecoder2
Definition:
mp4ids.h:395
Media::Mpeg4ElementaryStreamObjectIds::InteractionStream
Definition:
mp4ids.h:430
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoSimpleProfile
Definition:
mp4ids.h:441
Media::mpeg4SamplingFrequencyTable
uint32 mpeg4SamplingFrequencyTable[13]
Definition:
mp4ids.cpp:302
Media::FourccIds::Int32
Definition:
mp4ids.h:294
Media::MediaFormat::extension
unsigned char extension
Definition:
mediaformat.h:272
Media::Mpeg4ElementaryStreamObjectIds::StreamingTextStream
Definition:
mp4ids.h:434
Media::Mpeg4ChannelConfigs::channelConfigString
TAG_PARSER_EXPORT const char * channelConfigString(byte config)
Returns the string representation for the specified MPEG-4 channel config.
Definition:
mp4ids.cpp:315
Media::GeneralMediaFormat::Ac4
Media::GeneralMediaFormat::Mpeg2Audio
Media::FourccIds::Mp3
Definition:
mp4ids.h:313
Media::FourccIds::Mpeg2Imx30
Definition:
mp4ids.h:316
Media::FourccIds::Mpeg4Video
Definition:
mp4ids.h:324
Media::Jpeg
Definition:
signature.cpp:86
Media::FourccIds::H264Decoder6
Definition:
mp4ids.h:282
Media::SubFormats::Mpeg1Layer3
Definition:
mediaformat.h:114
Media::FourccIds::XvidDecoder5
Definition:
mp4ids.h:398
Media::FourccIds::MsMpeg4V1Decoder5
Definition:
mp4ids.h:329
Media::GeneralMediaFormat::MicrosoftMpeg4
Media::GeneralMediaFormat::Mpeg2Video
Media::Mpeg4AudioObjectIds::AacSsr
Definition:
mp4ids.h:551
Media::Mpeg4ElementaryStreamObjectIds::Smv
Definition:
mp4ids.h:456
Media::GeneralMediaFormat::Mpeg1Audio
mp4ids.h
Media::Mpeg4ElementaryStreamObjectIds::ParameterSetsForAvc
Definition:
mp4ids.h:437
Media::GeneralMediaFormat::DolbyMlp
Media::FourccIds::MsMpeg4V3Decoder2
Definition:
mp4ids.h:336
Media::Mpeg4ElementaryStreamObjectIds::PrivateDts
Definition:
mp4ids.h:468
Media::Mpeg4ElementaryStreamTypeIds::Mpeg7
Definition:
mp4ids.h:485
Media::Mpeg4ElementaryStreamObjectIds::Mpeg1Video
Definition:
mp4ids.h:451
Media::Mpeg4ElementaryStreamObjectIds::Vc1
Definition:
mp4ids.h:458
Media::GeneralMediaFormat::Pcm
Media::GeneralMediaFormat::SynthesizedTextureStream
Media::FourccIds::Divx5Decoder
Definition:
mp4ids.h:250
Media::Mpeg4AudioObjectIds::AacScalable
Definition:
mp4ids.h:554
Media::SubFormats::AacMpeg4LongTermPrediction
Definition:
mediaformat.h:124
Media::FourccIds::XvidDecoder1
Definition:
mp4ids.h:394
Media::Mpeg4AudioObjectIds::Ps
Definition:
mp4ids.h:574
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2Video422Profile
Definition:
mp4ids.h:446
Media::GeneralMediaFormat::Vc1
Media::FourccIds::Divx3Decoder12
Definition:
mp4ids.h:244
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2AacMainProfile
Definition:
mp4ids.h:447
Media::FourccIds::WindowsMediaAudio9Professional
Definition:
mp4ids.h:381
Media::FourccIds::Raw
Definition:
mp4ids.h:353
Media::GeneralMediaFormat::Dts
Media::FourccIds::Ac4
Definition:
mp4ids.h:143
Media::ExtensionFormats::SpectralBandReplication
Definition:
mediaformat.h:252
Media::FourccIds::MsMpeg4V1Decoder1
Definition:
mp4ids.h:325
Media::FourccIds::WindowsMediaAudio
Definition:
mp4ids.h:379
Media::GeneralMediaFormat::Gif
Media::GeneralMediaFormat::Mpeg4TimedText
Media::FourccIds::XvidDecoder3
Definition:
mp4ids.h:396
Media::Mpeg4ElementaryStreamTypeIds::ObjectContentInfo
Definition:
mp4ids.h:487
Media::Mpeg4ElementaryStreamTypeIds::Ipmp
Definition:
mp4ids.h:490
Media::SubFormats::AacMpeg4LowComplexityProfile
Definition:
mediaformat.h:122
Media::FourccIds::Png
Definition:
mp4ids.h:341
Media::SubFormats::DtsHdHighResolution
Definition:
mediaformat.h:223
Media::FourccIds::Avc3
Definition:
mp4ids.h:219
Media::FourccIds::Divx3Decoder6
Definition:
mp4ids.h:238
Media::FourccIds::WindowsMediaVideoV17
Definition:
mp4ids.h:383
Media::FourccIds::H263Quicktime
Definition:
mp4ids.h:275
Media::FourccIds::Divx4Decoder2
Definition:
mp4ids.h:249
Media::ExtensionFormats::ParametricStereo
Definition:
mediaformat.h:253
Media::Mpeg4ChannelConfigs::AotSpecificConfig
Definition:
mp4ids.h:601
Media::Mpeg4ElementaryStreamObjectIds::Aac
Definition:
mp4ids.h:440
Media::FourccIds::WindowsMediaAudio7
Definition:
mp4ids.h:380
Media::FourccIds::MsMpeg4V3Decoder1
Definition:
mp4ids.h:335
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2AacLowComplexityProfile
Definition:
mp4ids.h:448
Media::FourccIds::Divx3Decoder11
Definition:
mp4ids.h:243
Media::Mpeg4AudioObjectIds::Layer2
Definition:
mp4ids.h:578
Media::SubFormats::AacMpeg4ERLongTermPrediction
Definition:
mediaformat.h:127
Media::Mpeg4AudioObjectIds::Layer3
Definition:
mp4ids.h:579
Media::GeneralMediaFormat::Tiff
Media::FourccIds::WindowsMediaVideoV2
Definition:
mp4ids.h:384
Media::Mp4TagExtendedNameIds::cdec
const char * cdec
Definition:
mp4ids.cpp:30
Media::Mpeg4AudioObjectIds::AacLtp
Definition:
mp4ids.h:552
Media::GeneralMediaFormat::Alac
Media::GeneralMediaFormat::Smv
Media::FourccIds::Hevc2
Definition:
mp4ids.h:285
Media::SubFormats::AacMpeg4ScalableSamplingRateProfile
Definition:
mediaformat.h:123
Media::FourccIds::fourccToMediaFormat
TAG_PARSER_EXPORT MediaFormat fourccToMediaFormat(uint32 fourccId)
Definition:
mp4ids.cpp:46
Media::Mpeg4ElementaryStreamObjectIds::SynthesizedTextureStream
Definition:
mp4ids.h:433
Media::Mpeg4ElementaryStreamObjectIds::AfxStream
Definition:
mp4ids.h:431
Media::Mpeg4ElementaryStreamObjectIds::DtsHdExpress
Definition:
mp4ids.h:465
Media::Mpeg4ElementaryStreamObjectIds::streamObjectTypeFormat
TAG_PARSER_EXPORT MediaFormat streamObjectTypeFormat(byte streamObjectTypeId)
Returns the Media::MediaFormat denoted by the specified MPEG-4 stream ID.
Definition:
mp4ids.cpp:154
Media::Mpeg4ElementaryStreamTypeIds::Visual
Definition:
mp4ids.h:483
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2AacScaleableSamplingRateProfile
Definition:
mp4ids.h:449
Media::Mpeg4ElementaryStreamTypeIds::Ipmps
Definition:
mp4ids.h:486
Media::Mpeg4ElementaryStreamObjectIds::PrivateEvrc
Definition:
mp4ids.h:466
Media::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightSideLeftSideRightBackLeftBackRightLFEChannel
Definition:
mp4ids.h:608
Media::Mpeg4AudioObjectIds::idToMediaFormat
TAG_PARSER_EXPORT MediaFormat idToMediaFormat(byte mpeg4AudioObjectId, bool sbrPresent=false, bool psPresent=false)
Definition:
mp4ids.cpp:245
Media::FourccIds::H264Decoder1
Definition:
mp4ids.h:277
Media::Mpeg4ElementaryStreamObjectIds::Evrc
Definition:
mp4ids.h:455
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoMainProfile
Definition:
mp4ids.h:442
Media::Mpeg4ElementaryStreamObjectIds::SystemsIso144961v2
Definition:
mp4ids.h:429
Media::GeneralMediaFormat::Systems
Media::GeneralMediaFormat::Sa0c
Media::FourccIds::Int24
Definition:
mp4ids.h:293
Media::Mpeg4ChannelConfigs::channelCount
TAG_PARSER_EXPORT byte channelCount(byte config)
Returns the channel count for the specified MPEG-4 channel config.
Definition:
mp4ids.cpp:342
Media::FourccIds::Jpeg
Definition:
mp4ids.h:300
Media::Mpeg4AudioObjectIds::Layer1
Definition:
mp4ids.h:577
Media::Mpeg4ElementaryStreamObjectIds::Mpeg1Audio
Definition:
mp4ids.h:452
Media::FourccIds::DtsH
Definition:
mp4ids.h:254
Media::Mpeg4ElementaryStreamObjectIds::Als
Definition:
mp4ids.h:438
Media::Dirac
Definition:
signature.cpp:45
Media::FourccIds::Mpeg
Definition:
mp4ids.h:315
Media::SubFormats::Mpeg1Layer1
Definition:
mediaformat.h:112
Media::GeneralMediaFormat::Mpeg4Video
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoHighProfile
Definition:
mp4ids.h:445
Media::SubFormats::AacMpeg4ERLowComplecityProfile
Definition:
mediaformat.h:125
Media::SubFormats::DtsExpress
Definition:
mediaformat.h:221
Media::Mpeg4ElementaryStreamObjectIds::Mpeg2VideoSnrProfile
Definition:
mp4ids.h:443
Media::SubFormats::AacMpeg2ScalableSamplingRateProfile
Definition:
mediaformat.h:120
Media::FourccIds::FloatingPoint64Bit
Definition:
mp4ids.h:269
Media::FourccIds::WindowsMediaAudio9Standard
Definition:
mp4ids.h:382
Media::GeneralMediaFormat::Als
Media::GeneralMediaFormat::RealVideo
Media::Mpeg4ElementaryStreamObjectIds::DtsHdHighResolution
Definition:
mp4ids.h:463
Media::FourccIds::MsMpeg4V1Decoder6
Definition:
mp4ids.h:330
Media::Mpeg4ElementaryStreamObjectIds::PrivateAc3
Definition:
mp4ids.h:467
Media::GeneralMediaFormat::DtsHd
Media::Mp4TagExtendedNameIds::label
const char * label
Definition:
mp4ids.cpp:31
Media::GeneralMediaFormat::EAc3
Media::Mpeg4ElementaryStreamObjectIds::Sa0c
Definition:
mp4ids.h:439
Media::Mpeg4ElementaryStreamTypeIds::FontData
Definition:
mp4ids.h:491
Media::Mpeg4ElementaryStreamTypeIds::SceneDescriptor
Definition:
mp4ids.h:482
Media::FourccIds::Int16Be
Definition:
mp4ids.h:291
Media::Mpeg4ElementaryStreamTypeIds::ClockReference
Definition:
mp4ids.h:481
Media::Mpeg4ElementaryStreamObjectIds::Avc
Definition:
mp4ids.h:436
Media::Mpeg4AudioObjectIds::ErAacLd
Definition:
mp4ids.h:568
Media::Mpeg4ElementaryStreamObjectIds::DtsHdMasterAudio
Definition:
mp4ids.h:464
Media::Mpeg4AudioObjectIds::AacLc
Definition:
mp4ids.h:550
Media::FourccIds::H264Decoder5
Definition:
mp4ids.h:281
Media::Mpeg4ElementaryStreamObjectIds::SystemsIso144961
Definition:
mp4ids.h:428
Media::FourccIds::Avc2
Definition:
mp4ids.h:218
Media::FourccIds::H264Decoder4
Definition:
mp4ids.h:280
Media
Contains all classes and functions of the TagInfo library.
Definition:
exceptions.h:9
Media::Mpeg4ElementaryStreamObjectIds::PrivateOgg2
Definition:
mp4ids.h:470
Media::Mpeg4ChannelConfigs::FrontLeftFrontRight
Definition:
mp4ids.h:603
Media::FourccIds::Int16Le
Definition:
mp4ids.h:292
Media::FourccIds::AppleTextAtsuiCodec
Definition:
mp4ids.h:203
Media::Mpeg4AudioObjectIds::Sbr
Definition:
mp4ids.h:553
Media::SubFormats::Mpeg2SimpleProfile
Definition:
mediaformat.h:133
Media::FourccIds::Rv20
Definition:
mp4ids.h:357
Media::Mpeg4ElementaryStreamTypeIds::ObjectDescriptor
Definition:
mp4ids.h:480
Media::FourccIds::XvidDecoder4
Definition:
mp4ids.h:397
Media::Mp4TagExtendedMeanIds::iTunes
const char * iTunes
Definition:
mp4ids.cpp:23
Media::Mpeg4AudioObjectIds::AacMain
Definition:
mp4ids.h:549
Media::GeneralMediaFormat::Avc
Media::GeneralMediaFormat::Evrc
Media::FourccIds::Amr
Definition:
mp4ids.h:151
Media::FourccIds::Divx3Decoder7
Definition:
mp4ids.h:239
Media::SubFormats::Mpeg2HighProfile
Definition:
mediaformat.h:137
Media::FourccIds::MsMpeg4V2Decoder1
Definition:
mp4ids.h:331
Media::FourccIds::Divx3Decoder10
Definition:
mp4ids.h:242
Media::FourccIds::Divx3Decoder1
Definition:
mp4ids.h:233
Media::FourccIds::Divx3Decoder15
Definition:
mp4ids.h:247
Media::GeneralMediaFormat::Amr
Media::Mpeg4ElementaryStreamTypeIds::MpegJava
Definition:
mp4ids.h:488
Media::Mpeg4ElementaryStreamTypeIds::Interaction
Definition:
mp4ids.h:489
Media::FourccIds::Divx3Decoder2
Definition:
mp4ids.h:234
Media::FourccIds::MsMpeg4V2Decoder4
Definition:
mp4ids.h:334
Media::FourccIds::Tiff
Definition:
mp4ids.h:370
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Media::FourccIds::Divx3Decoder3
Definition:
mp4ids.h:235
Media::ContainerFormat::Unknown
Media::GeneralMediaFormat::InteractionStream
Media::SubFormats::PcmIntLe
Definition:
mediaformat.h:229
Media::MediaFormat
The MediaFormat class specifies the format of media data.
Definition:
mediaformat.h:257
Media::Png
Definition:
signature.cpp:18
Media::FourccIds::Divx3Decoder13
Definition:
mp4ids.h:245
Media::FourccIds::Divx3Decoder9
Definition:
mp4ids.h:241
Media::Mpeg4AudioObjectIds::ErAacLtp
Definition:
mp4ids.h:564
Media::SubFormats::Mpeg2SnrProfile
Definition:
mediaformat.h:135
Media::Mpeg4ChannelConfigs::FrontCenterFrontLeftFrontRightBackLeftBackRightLFEChannel
Definition:
mp4ids.h:607
Media::Mpeg4ElementaryStreamObjectIds::PrivateQcelp
Definition:
mp4ids.h:471
Media::GeneralMediaFormat::WindowsMediaAudio
Media::FourccIds::MsMpeg4V1Decoder4
Definition:
mp4ids.h:328
Media::SubFormats::Mpeg4SimpleProfile0
Definition:
mediaformat.h:145
Media::FourccIds::Mpeg4TimedText
Definition:
mp4ids.h:323
Media::GeneralMediaFormat::AfxStream
Generated on Wed May 24 2017 23:42:22 for Tag Parser by
1.8.13