Tag Parser: mediaformat.h Source File

Tag Parser 12.5.3 C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags

Loading...
Searching...
No Matches
mediaformat.h
Go to the documentation of this file.
1#ifndef TAG_PARSER_MEDIAFORMAT_H
2#define TAG_PARSER_MEDIAFORMAT_H
3
4#include "./global.h"
5
6#include <string_view>
7#include <utility>
8
9namespace TagParser {
10
14 enum class MediaType : unsigned int {
15 Unknown,
16 Audio,
17 Video,
18 Text,
19 Buttons,
20 Control,
21 Hint,
22 Meta,
23};
24
25 TAG_PARSER_EXPORT std::string_view mediaTypeName(MediaType mediaType);
26
30 enum class GeneralMediaFormat : unsigned int {
31 Unknown,
32 Aac,
33 Ac3,
34 Ac4,
35 AdpcmAcm,
36 AfxStream,
37 Alac,
38 Als,
39 Amr,
40 Avc,
41 Av1,
42 Bitmap,
43 Daala,
44 Dirac,
45 DolbyMlp,
46 Dts,
47 DtsHd,
48 DvbSub,
49 EAc3,
50 Evrc,
51 Flac,
52 FontDataStream,
53 Gif,
54 Gpp2Cmf,
55 Hevc,
56 ImaadpcmAcm,
57 ImageSubtitle,
58 InteractionStream,
59 Jpeg,
60 MicrosoftAudioCodecManager,
61 MicrosoftMpeg4,
62 MicrosoftVideoCodecManager,
63 MonkeysAudio,
64 Mpc,
65 Mpeg1Audio,
66 Mpeg1Video,
67 Mpeg2Audio,
68 Mpeg2Video,
69 Mpeg4TimedText,
70 Mpeg4Video,
71 OggKate,
72 Opus,
73 Pcm,
74 Png,
75 ProRes,
76 Qcelp,
77 QuicktimeAudio,
78 QuicktimeVideo,
79 RealAudio,
80 RealVideo,
81 Sa0c,
82 Smv,
83 Speex,
84 StreamingTextStream,
85 SynthesizedTextureStream,
86 Systems,
87 TextSubtitle,
88 Theora,
89 Tiff,
90 TimedText,
91 Tta,
92 UncompressedVideoFrames,
93 Vc1,
94 VobBtn,
95 VobSub,
96 Vorbis,
97 Vp8,
98 Vp9,
99 WavPack,
100 WindowsMediaAudio,
101 WindowsMediaVideo,
102 Vcc,
103};
104
110 namespace SubFormats {
111
112enum : unsigned char { None };
113
114 enum Mpeg1AudioLayer : unsigned char { Mpeg1Layer1 = 1, Mpeg1Layer2, Mpeg1Layer3 };
115
116 enum AacProfile : unsigned char {
117 AacMpeg2MainProfile = 1,
118 AacMpeg2LowComplexityProfile,
119 AacMpeg2ScalableSamplingRateProfile,
120 AacMpeg4MainProfile,
121 AacMpeg4LowComplexityProfile,
122 AacMpeg4ScalableSamplingRateProfile,
123 AacMpeg4LongTermPrediction,
124 AacMpeg4ERLowComplecityProfile,
125 AacMpeg4ERScalableSampingRateProfile,
126 AacMpeg4ERLongTermPrediction,
127 AacMpeg4ERLowDelay,
128 AacMpeg4EREnhancedLowDelay
129};
130
131 enum Mpeg2VideoProfile : unsigned char {
132 Mpeg2SimpleProfile = 1,
133 Mpeg2MainProfile,
134 Mpeg2SnrProfile,
135 Mpeg2SpatialProfile,
136 Mpeg2HighProfile,
137 Mpeg2422Profile
138};
139
140 enum Mpeg4VideoProfile : unsigned char {
141 Mpeg4SimpleProfile1 = 0x01,
142 Mpeg4SimpleProfile2 = 0x02,
143 Mpeg4SimpleProfile3 = 0x03,
144 Mpeg4SimpleProfile0 = 0x08,
145 Mpeg4SimpleScalableProfile0 = 0x10,
146 Mpeg4SimpleScalableProfile1 = 0x11,
147 Mpeg4SimpleScalableProfile2 = 0x12,
148 Mpeg4CoreProfile1 = 0x21,
149 Mpeg4CoreProfiel2 = 0x22,
150 Mpeg4MainProfile2 = 0x32,
151 Mpeg4MainProfile3 = 0x33,
152 Mpeg4MainProfile4 = 0x34,
153 Mpeg4NBitPrifle2 = 0x42,
154 Mpeg4ScalableTextureProfile1 = 0x51,
155 Mpeg4SimpleFaceAnimationProfile1 = 0x61,
156 Mpeg4SimpleFaceAnimationProfile2 = 0x62,
157 Mpeg4SimpleFbaProfile1 = 0x63,
158 Mpeg4SimpleFbaProfile2 = 0x64,
159 Mpeg4BasicAnimatedTextureProfiel1 = 0x71,
160 Mpeg4BasicAnimatedTextureProfiel2 = 0x72,
161 Mpeg4AvcProfile = 0x7F,
162 Mpeg4HybridProfile1 = 0x81,
163 Mpeg4HybridProfile2 = 0x82,
164 Mpeg4AdvancedRealTimeSimpleProfile1 = 0x91,
165 Mpeg4AdvancedRealTimeSimpleProfile2 = 0x92,
166 Mpeg4AdvancedRealTimeSimpleProfile3 = 0x93,
167 Mpeg4AdvancedRealTimeSimpleProfile4 = 0x94,
168 Mpeg4CoreScalableProfile1 = 0xA1,
169 Mpeg4CoreScalableProfile2 = 0xA2,
170 Mpeg4CoreScalableProfile3 = 0xA3,
171 Mpeg4AdvancedCodingEfficiencyProfile1 = 0xB1,
172 Mpeg4AdvancedCodingEfficiencyProfile2 = 0xB2,
173 Mpeg4AdvancedCodingEfficiencyProfile3 = 0xB3,
174 Mpeg4AdvancedCodingEfficiencyProfile4 = 0xB4,
175 Mpeg4AdvancedCoreProfile1 = 0xC1,
176 Mpeg4AdvancedCoreProfile2 = 0xC2,
177 Mpeg4AdvancedScalableTexture1 = 0xD1,
178 Mpeg4AdvancedScalableTexture2 = 0xD2,
179 Mpeg4SimpleStudioProfile1 = 0xE1,
180 Mpeg4SimpleStudioProfile2 = 0xE2,
181 Mpeg4SimpleStudioProfile3 = 0xE3,
182 Mpeg4SimpleStudioProfile4 = 0xE4,
183 Mpeg4CoreStudioProfile1 = 0xE5,
184 Mpeg4CoreStudioProfile2 = 0xE6,
185 Mpeg4CoreStudioProfile3 = 0xE7,
186 Mpeg4CoreStudioProfile4 = 0xE8,
187 Mpeg4AdvancedSimpleProfile0 = 0xF0,
188 Mpeg4AdvancedSimpleProfile1 = 0xF1,
189 Mpeg4AdvancedSimpleProfile2 = 0xF2,
190 Mpeg4AdvancedSimpleProfile3 = 0xF3,
191 Mpeg4AdvancedSimpleProfile4 = 0xF4,
192 Mpeg4AdvancedSimpleProfile5 = 0xF5,
193 Mpeg4AdvancedSimpleProfile3b = 0xF7,
194 Mpeg4FineGranularityScalableProfile0 = 0xF8,
195 Mpeg4FineGranularityScalableProfile1 = 0xF9,
196 Mpeg4FineGranularityScalableProfile2 = 0xFA,
197 Mpeg4FineGranularityScalableProfile3 = 0xFB,
198 Mpeg4FineGranularityScalableProfile4 = 0xFC,
199 Mpeg4FineGranularityScalableProfile5 = 0xFD
200};
201
202 enum AvcProfile : unsigned char {
203 AvcCavlc444IntraProfile = 0x2C,
204 AvcBaselineProfile = 0x42,
205 AvcMainProfile = 0x4D,
206 AvcScalableBaselineProfile = 0x53,
207 AvcScalableHighProfile = 0x56,
208 AvcExtendedProfile = 0x58,
209 AvcHighProfile = 0x64,
210 AvcHigh10Profile = 0x6E,
211 AvcHighMultiviewProfile = 0x76,
212 AvcHigh422Profile = 0x7A,
213 AvcStereoHighProfile = 0x80,
214 AvcHighMultiviewDepthProfile = 0x8A,
215 AvcHigh444Profile = 0x90,
216 AvcHigh444PredictiveProfile = 0xF4
217};
218
219 enum DtsSpecifier : unsigned char {
220 DtsExpress = 1,
221 DtsLossless,
222 DtsHdHighResolution,
223 DtsHdMasterAudio,
224};
225
226 enum PcmVersion : unsigned char { PcmIntBe = 1, PcmIntLe, PcmFloatIeee };
227
228 enum TextSubtitle : unsigned char {
229 PlainUtf8Subtitle = 1,
230 SubStationAlpha,
231 AdvancedSubStationAlpha,
232 UniversalSubtitleFormat,
233 WebVideoTextTracksFormat
234};
235
236 enum ImageSubtitle : unsigned char { ImgSubBmp = 1 };
237
238} // namespace SubFormats
239
243 namespace ExtensionFormats {
244 enum AudioFormatExtensions : unsigned char { SpectralBandReplication = 1, ParametricStereo = 2 };
245}
246
247 class TAG_PARSER_EXPORT MediaFormat {
248public:
249 constexpr MediaFormat(GeneralMediaFormat general = GeneralMediaFormat::Unknown, unsigned char sub = 0, unsigned char extension = 0);
250
251 std::string_view name() const;
252 std::string_view abbreviation() const;
253 std::string_view shortAbbreviation() const;
254 std::string_view extensionName() const;
255 constexpr operator bool() const;
256 constexpr MediaFormat &operator+=(const MediaFormat &other);
257 constexpr bool operator==(GeneralMediaFormat general) const;
258 constexpr bool operator!=(GeneralMediaFormat general) const;
259
260 GeneralMediaFormat general;
261 unsigned char sub;
262 unsigned char extension;
263};
264
268 constexpr MediaFormat::MediaFormat(GeneralMediaFormat general, unsigned char sub, unsigned char extension)
269 : general(general)
270 , sub(sub)
271 , extension(extension)
272{
273}
274
278 constexpr MediaFormat &MediaFormat::operator+=(const MediaFormat &other)
279{
280 if (other) {
281 general = other.general;
282 if (other.sub) {
283 sub = other.sub;
284 }
285 if (other.extension) {
286 extension = other.extension;
287 }
288 }
289 return *this;
290}
291
295 constexpr bool MediaFormat::operator==(GeneralMediaFormat general) const
296{
297 return this->general == general;
298}
299
303 constexpr bool MediaFormat::operator!=(GeneralMediaFormat general) const
304{
305 return this->general != general;
306}
307
311 constexpr MediaFormat::operator bool() const
312{
313 return general != GeneralMediaFormat::Unknown;
314}
315
316} // namespace TagParser
317
318#endif // TAG_PARSER_MEDIAFORMAT_H
TagParser::MediaFormat::sub
unsigned char sub
Definition mediaformat.h:261
TagParser::MediaFormat::abbreviation
std::string_view abbreviation() const
Returns the abbreviation of the media format.
Definition mediaformat.cpp:446
TagParser::MediaFormat::operator==
constexpr bool operator==(GeneralMediaFormat general) const
Returns whether the media format is the specified general media format.
Definition mediaformat.h:295
TagParser::MediaFormat::shortAbbreviation
std::string_view shortAbbreviation() const
Returns a short abbreviation of the media format.
Definition mediaformat.cpp:762
TagParser::MediaFormat::name
std::string_view name() const
Returns the name of the media format.
Definition mediaformat.cpp:16
TagParser::MediaFormat::extensionName
std::string_view extensionName() const
Returns the abbreviation of the media format.
Definition mediaformat.cpp:1038
TagParser::MediaFormat::extension
unsigned char extension
Definition mediaformat.h:262
TagParser::MediaFormat::general
GeneralMediaFormat general
Definition mediaformat.h:260
TagParser::MediaFormat::operator+=
constexpr MediaFormat & operator+=(const MediaFormat &other)
"Adds" information from another instance to the object.
Definition mediaformat.h:278
TagParser::MediaFormat::MediaFormat
constexpr MediaFormat(GeneralMediaFormat general=GeneralMediaFormat::Unknown, unsigned char sub=0, unsigned char extension=0)
Constructs a new media format.
Definition mediaformat.h:268
TagParser::MediaFormat::operator!=
constexpr bool operator!=(GeneralMediaFormat general) const
Returns whether the media format is not the specified general media format.
Definition mediaformat.h:303
global.h
TAG_PARSER_EXPORT
#define TAG_PARSER_EXPORT
Marks the symbol to be exported by the tagparser library.
Definition global.h:14
TagParser::ExtensionFormats
Encapsulates extension formats.
Definition mediaformat.h:243
TagParser::ExtensionFormats::AudioFormatExtensions
AudioFormatExtensions
Definition mediaformat.h:244
TagParser::ExtensionFormats::SpectralBandReplication
@ SpectralBandReplication
Definition mediaformat.h:244
TagParser::ExtensionFormats::ParametricStereo
@ ParametricStereo
Definition mediaformat.h:244
TagParser::SubFormats
Encapsulates sub formats.
Definition mediaformat.h:110
TagParser::SubFormats::None
@ None
Definition mediaformat.h:112
TagParser::SubFormats::AacProfile
AacProfile
Definition mediaformat.h:116
TagParser::SubFormats::AacMpeg4MainProfile
@ AacMpeg4MainProfile
Definition mediaformat.h:120
TagParser::SubFormats::AacMpeg4LowComplexityProfile
@ AacMpeg4LowComplexityProfile
Definition mediaformat.h:121
TagParser::SubFormats::AacMpeg2LowComplexityProfile
@ AacMpeg2LowComplexityProfile
Definition mediaformat.h:118
TagParser::SubFormats::AacMpeg4ERLowComplecityProfile
@ AacMpeg4ERLowComplecityProfile
Definition mediaformat.h:124
TagParser::SubFormats::AacMpeg2ScalableSamplingRateProfile
@ AacMpeg2ScalableSamplingRateProfile
Definition mediaformat.h:119
TagParser::SubFormats::AacMpeg4ERLongTermPrediction
@ AacMpeg4ERLongTermPrediction
Definition mediaformat.h:126
TagParser::SubFormats::AacMpeg2MainProfile
@ AacMpeg2MainProfile
Definition mediaformat.h:117
TagParser::SubFormats::AacMpeg4ScalableSamplingRateProfile
@ AacMpeg4ScalableSamplingRateProfile
Definition mediaformat.h:122
TagParser::SubFormats::AacMpeg4EREnhancedLowDelay
@ AacMpeg4EREnhancedLowDelay
Definition mediaformat.h:128
TagParser::SubFormats::AacMpeg4ERLowDelay
@ AacMpeg4ERLowDelay
Definition mediaformat.h:127
TagParser::SubFormats::AacMpeg4LongTermPrediction
@ AacMpeg4LongTermPrediction
Definition mediaformat.h:123
TagParser::SubFormats::AacMpeg4ERScalableSampingRateProfile
@ AacMpeg4ERScalableSampingRateProfile
Definition mediaformat.h:125
TagParser::SubFormats::DtsSpecifier
DtsSpecifier
Definition mediaformat.h:219
TagParser::SubFormats::DtsLossless
@ DtsLossless
Definition mediaformat.h:221
TagParser::SubFormats::DtsExpress
@ DtsExpress
Definition mediaformat.h:220
TagParser::SubFormats::DtsHdMasterAudio
@ DtsHdMasterAudio
Definition mediaformat.h:223
TagParser::SubFormats::DtsHdHighResolution
@ DtsHdHighResolution
Definition mediaformat.h:222
TagParser::SubFormats::Mpeg1AudioLayer
Mpeg1AudioLayer
Definition mediaformat.h:114
TagParser::SubFormats::Mpeg1Layer2
@ Mpeg1Layer2
Definition mediaformat.h:114
TagParser::SubFormats::Mpeg1Layer1
@ Mpeg1Layer1
Definition mediaformat.h:114
TagParser::SubFormats::Mpeg1Layer3
@ Mpeg1Layer3
Definition mediaformat.h:114
TagParser::SubFormats::PcmVersion
PcmVersion
Definition mediaformat.h:226
TagParser::SubFormats::PcmIntBe
@ PcmIntBe
Definition mediaformat.h:226
TagParser::SubFormats::PcmIntLe
@ PcmIntLe
Definition mediaformat.h:226
TagParser::SubFormats::PcmFloatIeee
@ PcmFloatIeee
Definition mediaformat.h:226
TagParser::SubFormats::Mpeg2VideoProfile
Mpeg2VideoProfile
Definition mediaformat.h:131
TagParser::SubFormats::Mpeg2HighProfile
@ Mpeg2HighProfile
Definition mediaformat.h:136
TagParser::SubFormats::Mpeg2SnrProfile
@ Mpeg2SnrProfile
Definition mediaformat.h:134
TagParser::SubFormats::Mpeg2SimpleProfile
@ Mpeg2SimpleProfile
Definition mediaformat.h:132
TagParser::SubFormats::Mpeg2422Profile
@ Mpeg2422Profile
Definition mediaformat.h:137
TagParser::SubFormats::Mpeg2MainProfile
@ Mpeg2MainProfile
Definition mediaformat.h:133
TagParser::SubFormats::Mpeg2SpatialProfile
@ Mpeg2SpatialProfile
Definition mediaformat.h:135
TagParser::SubFormats::Mpeg4VideoProfile
Mpeg4VideoProfile
Definition mediaformat.h:140
TagParser::SubFormats::Mpeg4MainProfile3
@ Mpeg4MainProfile3
Definition mediaformat.h:151
TagParser::SubFormats::Mpeg4SimpleScalableProfile1
@ Mpeg4SimpleScalableProfile1
Definition mediaformat.h:146
TagParser::SubFormats::Mpeg4CoreStudioProfile2
@ Mpeg4CoreStudioProfile2
Definition mediaformat.h:184
TagParser::SubFormats::Mpeg4BasicAnimatedTextureProfiel2
@ Mpeg4BasicAnimatedTextureProfiel2
Definition mediaformat.h:160
TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile2
@ Mpeg4AdvancedCodingEfficiencyProfile2
Definition mediaformat.h:172
TagParser::SubFormats::Mpeg4CoreProfiel2
@ Mpeg4CoreProfiel2
Definition mediaformat.h:149
TagParser::SubFormats::Mpeg4FineGranularityScalableProfile2
@ Mpeg4FineGranularityScalableProfile2
Definition mediaformat.h:196
TagParser::SubFormats::Mpeg4SimpleFbaProfile2
@ Mpeg4SimpleFbaProfile2
Definition mediaformat.h:158
TagParser::SubFormats::Mpeg4SimpleProfile2
@ Mpeg4SimpleProfile2
Definition mediaformat.h:142
TagParser::SubFormats::Mpeg4CoreStudioProfile3
@ Mpeg4CoreStudioProfile3
Definition mediaformat.h:185
TagParser::SubFormats::Mpeg4FineGranularityScalableProfile4
@ Mpeg4FineGranularityScalableProfile4
Definition mediaformat.h:198
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile2
@ Mpeg4AdvancedSimpleProfile2
Definition mediaformat.h:189
TagParser::SubFormats::Mpeg4AvcProfile
@ Mpeg4AvcProfile
Definition mediaformat.h:161
TagParser::SubFormats::Mpeg4SimpleStudioProfile4
@ Mpeg4SimpleStudioProfile4
Definition mediaformat.h:182
TagParser::SubFormats::Mpeg4AdvancedCoreProfile1
@ Mpeg4AdvancedCoreProfile1
Definition mediaformat.h:175
TagParser::SubFormats::Mpeg4SimpleFaceAnimationProfile1
@ Mpeg4SimpleFaceAnimationProfile1
Definition mediaformat.h:155
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile3
@ Mpeg4AdvancedSimpleProfile3
Definition mediaformat.h:190
TagParser::SubFormats::Mpeg4CoreScalableProfile2
@ Mpeg4CoreScalableProfile2
Definition mediaformat.h:169
TagParser::SubFormats::Mpeg4FineGranularityScalableProfile1
@ Mpeg4FineGranularityScalableProfile1
Definition mediaformat.h:195
TagParser::SubFormats::Mpeg4BasicAnimatedTextureProfiel1
@ Mpeg4BasicAnimatedTextureProfiel1
Definition mediaformat.h:159
TagParser::SubFormats::Mpeg4FineGranularityScalableProfile3
@ Mpeg4FineGranularityScalableProfile3
Definition mediaformat.h:197
TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile3
@ Mpeg4AdvancedCodingEfficiencyProfile3
Definition mediaformat.h:173
TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile4
@ Mpeg4AdvancedRealTimeSimpleProfile4
Definition mediaformat.h:167
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile0
@ Mpeg4AdvancedSimpleProfile0
Definition mediaformat.h:187
TagParser::SubFormats::Mpeg4AdvancedCoreProfile2
@ Mpeg4AdvancedCoreProfile2
Definition mediaformat.h:176
TagParser::SubFormats::Mpeg4SimpleStudioProfile1
@ Mpeg4SimpleStudioProfile1
Definition mediaformat.h:179
TagParser::SubFormats::Mpeg4AdvancedScalableTexture2
@ Mpeg4AdvancedScalableTexture2
Definition mediaformat.h:178
TagParser::SubFormats::Mpeg4SimpleFaceAnimationProfile2
@ Mpeg4SimpleFaceAnimationProfile2
Definition mediaformat.h:156
TagParser::SubFormats::Mpeg4SimpleProfile3
@ Mpeg4SimpleProfile3
Definition mediaformat.h:143
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile5
@ Mpeg4AdvancedSimpleProfile5
Definition mediaformat.h:192
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile4
@ Mpeg4AdvancedSimpleProfile4
Definition mediaformat.h:191
TagParser::SubFormats::Mpeg4SimpleScalableProfile2
@ Mpeg4SimpleScalableProfile2
Definition mediaformat.h:147
TagParser::SubFormats::Mpeg4FineGranularityScalableProfile0
@ Mpeg4FineGranularityScalableProfile0
Definition mediaformat.h:194
TagParser::SubFormats::Mpeg4SimpleProfile0
@ Mpeg4SimpleProfile0
Definition mediaformat.h:144
TagParser::SubFormats::Mpeg4SimpleStudioProfile3
@ Mpeg4SimpleStudioProfile3
Definition mediaformat.h:181
TagParser::SubFormats::Mpeg4CoreProfile1
@ Mpeg4CoreProfile1
Definition mediaformat.h:148
TagParser::SubFormats::Mpeg4HybridProfile1
@ Mpeg4HybridProfile1
Definition mediaformat.h:162
TagParser::SubFormats::Mpeg4HybridProfile2
@ Mpeg4HybridProfile2
Definition mediaformat.h:163
TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile1
@ Mpeg4AdvancedCodingEfficiencyProfile1
Definition mediaformat.h:171
TagParser::SubFormats::Mpeg4SimpleFbaProfile1
@ Mpeg4SimpleFbaProfile1
Definition mediaformat.h:157
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile3b
@ Mpeg4AdvancedSimpleProfile3b
Definition mediaformat.h:193
TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile1
@ Mpeg4AdvancedRealTimeSimpleProfile1
Definition mediaformat.h:164
TagParser::SubFormats::Mpeg4ScalableTextureProfile1
@ Mpeg4ScalableTextureProfile1
Definition mediaformat.h:154
TagParser::SubFormats::Mpeg4SimpleStudioProfile2
@ Mpeg4SimpleStudioProfile2
Definition mediaformat.h:180
TagParser::SubFormats::Mpeg4CoreScalableProfile1
@ Mpeg4CoreScalableProfile1
Definition mediaformat.h:168
TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile3
@ Mpeg4AdvancedRealTimeSimpleProfile3
Definition mediaformat.h:166
TagParser::SubFormats::Mpeg4MainProfile2
@ Mpeg4MainProfile2
Definition mediaformat.h:150
TagParser::SubFormats::Mpeg4CoreStudioProfile1
@ Mpeg4CoreStudioProfile1
Definition mediaformat.h:183
TagParser::SubFormats::Mpeg4AdvancedSimpleProfile1
@ Mpeg4AdvancedSimpleProfile1
Definition mediaformat.h:188
TagParser::SubFormats::Mpeg4SimpleProfile1
@ Mpeg4SimpleProfile1
Definition mediaformat.h:141
TagParser::SubFormats::Mpeg4MainProfile4
@ Mpeg4MainProfile4
Definition mediaformat.h:152
TagParser::SubFormats::Mpeg4FineGranularityScalableProfile5
@ Mpeg4FineGranularityScalableProfile5
Definition mediaformat.h:199
TagParser::SubFormats::Mpeg4CoreStudioProfile4
@ Mpeg4CoreStudioProfile4
Definition mediaformat.h:186
TagParser::SubFormats::Mpeg4SimpleScalableProfile0
@ Mpeg4SimpleScalableProfile0
Definition mediaformat.h:145
TagParser::SubFormats::Mpeg4AdvancedScalableTexture1
@ Mpeg4AdvancedScalableTexture1
Definition mediaformat.h:177
TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile2
@ Mpeg4AdvancedRealTimeSimpleProfile2
Definition mediaformat.h:165
TagParser::SubFormats::Mpeg4CoreScalableProfile3
@ Mpeg4CoreScalableProfile3
Definition mediaformat.h:170
TagParser::SubFormats::Mpeg4NBitPrifle2
@ Mpeg4NBitPrifle2
Definition mediaformat.h:153
TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile4
@ Mpeg4AdvancedCodingEfficiencyProfile4
Definition mediaformat.h:174
TagParser::SubFormats::TextSubtitle
TextSubtitle
Definition mediaformat.h:228
TagParser::SubFormats::SubStationAlpha
@ SubStationAlpha
Definition mediaformat.h:230
TagParser::SubFormats::PlainUtf8Subtitle
@ PlainUtf8Subtitle
Definition mediaformat.h:229
TagParser::SubFormats::WebVideoTextTracksFormat
@ WebVideoTextTracksFormat
Definition mediaformat.h:233
TagParser::SubFormats::AdvancedSubStationAlpha
@ AdvancedSubStationAlpha
Definition mediaformat.h:231
TagParser::SubFormats::UniversalSubtitleFormat
@ UniversalSubtitleFormat
Definition mediaformat.h:232
TagParser::SubFormats::AvcProfile
AvcProfile
Definition mediaformat.h:202
TagParser::SubFormats::AvcHigh10Profile
@ AvcHigh10Profile
Definition mediaformat.h:210
TagParser::SubFormats::AvcScalableBaselineProfile
@ AvcScalableBaselineProfile
Definition mediaformat.h:206
TagParser::SubFormats::AvcHigh444PredictiveProfile
@ AvcHigh444PredictiveProfile
Definition mediaformat.h:216
TagParser::SubFormats::AvcBaselineProfile
@ AvcBaselineProfile
Definition mediaformat.h:204
TagParser::SubFormats::AvcHighMultiviewDepthProfile
@ AvcHighMultiviewDepthProfile
Definition mediaformat.h:214
TagParser::SubFormats::AvcExtendedProfile
@ AvcExtendedProfile
Definition mediaformat.h:208
TagParser::SubFormats::AvcCavlc444IntraProfile
@ AvcCavlc444IntraProfile
Definition mediaformat.h:203
TagParser::SubFormats::AvcStereoHighProfile
@ AvcStereoHighProfile
Definition mediaformat.h:213
TagParser::SubFormats::AvcHigh422Profile
@ AvcHigh422Profile
Definition mediaformat.h:212
TagParser::SubFormats::AvcHighMultiviewProfile
@ AvcHighMultiviewProfile
Definition mediaformat.h:211
TagParser::SubFormats::AvcScalableHighProfile
@ AvcScalableHighProfile
Definition mediaformat.h:207
TagParser::SubFormats::AvcHigh444Profile
@ AvcHigh444Profile
Definition mediaformat.h:215
TagParser::SubFormats::AvcMainProfile
@ AvcMainProfile
Definition mediaformat.h:205
TagParser::SubFormats::AvcHighProfile
@ AvcHighProfile
Definition mediaformat.h:209
TagParser::SubFormats::ImageSubtitle
ImageSubtitle
Definition mediaformat.h:236
TagParser::SubFormats::ImgSubBmp
@ ImgSubBmp
Definition mediaformat.h:236
TagParser
Contains all classes and functions of the TagInfo library.
Definition aaccodebook.h:10
TagParser::Ac3
@ Ac3
Definition signature.cpp:94
TagParser::Jpeg
@ Jpeg
Definition signature.cpp:97
TagParser::StereoMode::Unknown
@ Unknown
Definition abstracttrack.h:77
TagParser::Dirac
@ Dirac
Definition signature.cpp:53
TagParser::WavPack
@ WavPack
Definition signature.cpp:70
TagParser::Flac
@ Flac
Definition signature.cpp:55
TagParser::MonkeysAudio
@ MonkeysAudio
Definition signature.cpp:60
TagParser::MediaType
MediaType
The MediaType enum specifies the type of media data (audio, video, text, ...).
Definition mediaformat.h:14
TagParser::MediaType::Video
@ Video
Definition mediaformat.h:17
TagParser::MediaType::Buttons
@ Buttons
Definition mediaformat.h:19
TagParser::MediaType::Text
@ Text
Definition mediaformat.h:18
TagParser::MediaType::Control
@ Control
Definition mediaformat.h:20
TagParser::MediaType::Audio
@ Audio
Definition mediaformat.h:16
TagParser::MediaType::Meta
@ Meta
Definition mediaformat.h:22
TagParser::MediaType::Hint
@ Hint
Definition mediaformat.h:21
TagParser::Png
@ Png
Definition signature.cpp:20
TagParser::GeneralMediaFormat
GeneralMediaFormat
The GeneralMediaFormat enum specifies the general format of media data (PCM, MPEG-4,...
Definition mediaformat.h:30
TagParser::GeneralMediaFormat::Vp8
@ Vp8
Definition mediaformat.h:97
TagParser::GeneralMediaFormat::Alac
@ Alac
Definition mediaformat.h:37
TagParser::GeneralMediaFormat::Vorbis
@ Vorbis
Definition mediaformat.h:96
TagParser::GeneralMediaFormat::RealVideo
@ RealVideo
Definition mediaformat.h:80
TagParser::GeneralMediaFormat::Tta
@ Tta
Definition mediaformat.h:91
TagParser::GeneralMediaFormat::Vp9
@ Vp9
Definition mediaformat.h:98
TagParser::GeneralMediaFormat::MicrosoftVideoCodecManager
@ MicrosoftVideoCodecManager
Definition mediaformat.h:62
TagParser::GeneralMediaFormat::Amr
@ Amr
Definition mediaformat.h:39
TagParser::GeneralMediaFormat::Hevc
@ Hevc
Definition mediaformat.h:55
TagParser::GeneralMediaFormat::Mpeg4TimedText
@ Mpeg4TimedText
Definition mediaformat.h:69
TagParser::GeneralMediaFormat::Av1
@ Av1
Definition mediaformat.h:41
TagParser::GeneralMediaFormat::VobBtn
@ VobBtn
Definition mediaformat.h:94
TagParser::GeneralMediaFormat::DtsHd
@ DtsHd
Definition mediaformat.h:47
TagParser::GeneralMediaFormat::Speex
@ Speex
Definition mediaformat.h:83
TagParser::GeneralMediaFormat::QuicktimeVideo
@ QuicktimeVideo
Definition mediaformat.h:78
TagParser::GeneralMediaFormat::RealAudio
@ RealAudio
Definition mediaformat.h:79
TagParser::GeneralMediaFormat::Pcm
@ Pcm
Definition mediaformat.h:73
TagParser::GeneralMediaFormat::Theora
@ Theora
Definition mediaformat.h:88
TagParser::GeneralMediaFormat::InteractionStream
@ InteractionStream
Definition mediaformat.h:58
TagParser::GeneralMediaFormat::Mpc
@ Mpc
Definition mediaformat.h:64
TagParser::GeneralMediaFormat::MicrosoftAudioCodecManager
@ MicrosoftAudioCodecManager
Definition mediaformat.h:60
TagParser::GeneralMediaFormat::Tiff
@ Tiff
Definition mediaformat.h:89
TagParser::GeneralMediaFormat::Avc
@ Avc
Definition mediaformat.h:40
TagParser::GeneralMediaFormat::Aac
@ Aac
Definition mediaformat.h:32
TagParser::GeneralMediaFormat::DolbyMlp
@ DolbyMlp
Definition mediaformat.h:45
TagParser::GeneralMediaFormat::MicrosoftMpeg4
@ MicrosoftMpeg4
Definition mediaformat.h:61
TagParser::GeneralMediaFormat::DvbSub
@ DvbSub
Definition mediaformat.h:48
TagParser::GeneralMediaFormat::OggKate
@ OggKate
Definition mediaformat.h:71
TagParser::GeneralMediaFormat::Bitmap
@ Bitmap
Definition mediaformat.h:42
TagParser::GeneralMediaFormat::StreamingTextStream
@ StreamingTextStream
Definition mediaformat.h:84
TagParser::GeneralMediaFormat::Unknown
@ Unknown
Definition mediaformat.h:31
TagParser::GeneralMediaFormat::FontDataStream
@ FontDataStream
Definition mediaformat.h:52
TagParser::GeneralMediaFormat::AdpcmAcm
@ AdpcmAcm
Definition mediaformat.h:35
TagParser::GeneralMediaFormat::WindowsMediaVideo
@ WindowsMediaVideo
Definition mediaformat.h:101
TagParser::GeneralMediaFormat::Gpp2Cmf
@ Gpp2Cmf
Definition mediaformat.h:54
TagParser::GeneralMediaFormat::Qcelp
@ Qcelp
Definition mediaformat.h:76
TagParser::GeneralMediaFormat::Gif
@ Gif
Definition mediaformat.h:53
TagParser::GeneralMediaFormat::UncompressedVideoFrames
@ UncompressedVideoFrames
Definition mediaformat.h:92
TagParser::GeneralMediaFormat::Als
@ Als
Definition mediaformat.h:38
TagParser::GeneralMediaFormat::WindowsMediaAudio
@ WindowsMediaAudio
Definition mediaformat.h:100
TagParser::GeneralMediaFormat::ProRes
@ ProRes
Definition mediaformat.h:75
TagParser::GeneralMediaFormat::VobSub
@ VobSub
Definition mediaformat.h:95
TagParser::GeneralMediaFormat::Vcc
@ Vcc
Definition mediaformat.h:102
TagParser::GeneralMediaFormat::Systems
@ Systems
Definition mediaformat.h:86
TagParser::GeneralMediaFormat::Ac4
@ Ac4
Definition mediaformat.h:34
TagParser::GeneralMediaFormat::Mpeg2Video
@ Mpeg2Video
Definition mediaformat.h:68
TagParser::GeneralMediaFormat::SynthesizedTextureStream
@ SynthesizedTextureStream
Definition mediaformat.h:85
TagParser::GeneralMediaFormat::Smv
@ Smv
Definition mediaformat.h:82
TagParser::GeneralMediaFormat::Evrc
@ Evrc
Definition mediaformat.h:50
TagParser::GeneralMediaFormat::ImaadpcmAcm
@ ImaadpcmAcm
Definition mediaformat.h:56
TagParser::GeneralMediaFormat::Mpeg1Video
@ Mpeg1Video
Definition mediaformat.h:66
TagParser::GeneralMediaFormat::TimedText
@ TimedText
Definition mediaformat.h:90
TagParser::GeneralMediaFormat::QuicktimeAudio
@ QuicktimeAudio
Definition mediaformat.h:77
TagParser::GeneralMediaFormat::Mpeg1Audio
@ Mpeg1Audio
Definition mediaformat.h:65
TagParser::GeneralMediaFormat::Mpeg4Video
@ Mpeg4Video
Definition mediaformat.h:70
TagParser::GeneralMediaFormat::Vc1
@ Vc1
Definition mediaformat.h:93
TagParser::GeneralMediaFormat::AfxStream
@ AfxStream
Definition mediaformat.h:36
TagParser::GeneralMediaFormat::Opus
@ Opus
Definition mediaformat.h:72
TagParser::GeneralMediaFormat::EAc3
@ EAc3
Definition mediaformat.h:49
TagParser::GeneralMediaFormat::Dts
@ Dts
Definition mediaformat.h:46
TagParser::GeneralMediaFormat::Daala
@ Daala
Definition mediaformat.h:43
TagParser::GeneralMediaFormat::Sa0c
@ Sa0c
Definition mediaformat.h:81
TagParser::GeneralMediaFormat::Mpeg2Audio
@ Mpeg2Audio
Definition mediaformat.h:67
TagParser::mediaTypeName
TAG_PARSER_EXPORT std::string_view mediaTypeName(MediaType mediaType)
Returns the string representation for the specified mediaType.
Definition mediaformat.cpp:1061