Tag Parser  9.1.3
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Classes | Namespaces | Enumerations | Functions
mediaformat.h File Reference
#include "./global.h"
#include <utility>
Include dependency graph for mediaformat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TagParser::MediaFormat
 The MediaFormat class specifies the format of media data. More...
 

Namespaces

 TagParser
 Contains all classes and functions of the TagInfo library.
 
 TagParser::SubFormats
 Encapsulates sub formats.
 
 TagParser::ExtensionFormats
 Encapsulates extension formats.
 

Enumerations

enum  TagParser::MediaType : unsigned int {
  TagParser::MediaType::Unknown, TagParser::MediaType::Audio, TagParser::MediaType::Video, TagParser::MediaType::Text,
  TagParser::MediaType::Buttons, TagParser::MediaType::Control, TagParser::MediaType::Hint, TagParser::MediaType::Meta
}
 The MediaType enum specifies the type of media data (audio, video, text, ...). More...
 
enum  TagParser::GeneralMediaFormat : unsigned int {
  TagParser::GeneralMediaFormat::Unknown, TagParser::GeneralMediaFormat::Aac, TagParser::Ac3, TagParser::GeneralMediaFormat::Ac4,
  TagParser::GeneralMediaFormat::AdpcmAcm, TagParser::GeneralMediaFormat::AfxStream, TagParser::GeneralMediaFormat::Alac, TagParser::GeneralMediaFormat::Als,
  TagParser::GeneralMediaFormat::Amr, TagParser::GeneralMediaFormat::Avc, TagParser::GeneralMediaFormat::Av1, TagParser::GeneralMediaFormat::Bitmap,
  TagParser::GeneralMediaFormat::Daala, TagParser::Dirac, TagParser::GeneralMediaFormat::DolbyMlp, TagParser::GeneralMediaFormat::Dts,
  TagParser::GeneralMediaFormat::DtsHd, TagParser::GeneralMediaFormat::DvbSub, TagParser::GeneralMediaFormat::EAc3, TagParser::GeneralMediaFormat::Evrc,
  TagParser::Flac, TagParser::GeneralMediaFormat::FontDataStream, TagParser::GeneralMediaFormat::Gif, TagParser::GeneralMediaFormat::Gpp2Cmf,
  TagParser::GeneralMediaFormat::Hevc, TagParser::GeneralMediaFormat::ImaadpcmAcm, TagParser::GeneralMediaFormat::ImageSubtitle, TagParser::GeneralMediaFormat::InteractionStream,
  TagParser::Jpeg, TagParser::GeneralMediaFormat::MicrosoftAudioCodecManager, TagParser::GeneralMediaFormat::MicrosoftMpeg4, TagParser::GeneralMediaFormat::MicrosoftVideoCodecManager,
  TagParser::MonkeysAudio, TagParser::GeneralMediaFormat::Mpc, TagParser::GeneralMediaFormat::Mpeg1Audio, TagParser::GeneralMediaFormat::Mpeg1Video,
  TagParser::GeneralMediaFormat::Mpeg2Audio, TagParser::GeneralMediaFormat::Mpeg2Video, TagParser::GeneralMediaFormat::Mpeg4TimedText, TagParser::GeneralMediaFormat::Mpeg4Video,
  TagParser::GeneralMediaFormat::OggKate, TagParser::GeneralMediaFormat::Opus, TagParser::GeneralMediaFormat::Pcm, TagParser::Png,
  TagParser::GeneralMediaFormat::ProRes, TagParser::GeneralMediaFormat::Qcelp, TagParser::GeneralMediaFormat::QuicktimeAudio, TagParser::GeneralMediaFormat::QuicktimeVideo,
  TagParser::GeneralMediaFormat::RealAudio, TagParser::GeneralMediaFormat::RealVideo, TagParser::GeneralMediaFormat::Sa0c, TagParser::GeneralMediaFormat::Smv,
  TagParser::GeneralMediaFormat::Speex, TagParser::GeneralMediaFormat::StreamingTextStream, TagParser::GeneralMediaFormat::SynthesizedTextureStream, TagParser::GeneralMediaFormat::Systems,
  TagParser::GeneralMediaFormat::TextSubtitle, TagParser::GeneralMediaFormat::Theora, TagParser::GeneralMediaFormat::Tiff, TagParser::GeneralMediaFormat::TimedText,
  TagParser::GeneralMediaFormat::Tta, TagParser::GeneralMediaFormat::UncompressedVideoFrames, TagParser::GeneralMediaFormat::Vc1, TagParser::GeneralMediaFormat::VobBtn,
  TagParser::GeneralMediaFormat::VobSub, TagParser::GeneralMediaFormat::Vorbis, TagParser::GeneralMediaFormat::Vp8, TagParser::GeneralMediaFormat::Vp9,
  TagParser::WavPack, TagParser::GeneralMediaFormat::WindowsMediaAudio, TagParser::GeneralMediaFormat::WindowsMediaVideo
}
 The GeneralMediaFormat enum specifies the general format of media data (PCM, MPEG-4, PNG, ...). More...
 
enum  : unsigned char { TagParser::SubFormats::None }
 
enum  TagParser::SubFormats::Mpeg1AudioLayer : unsigned char { TagParser::SubFormats::Mpeg1Layer1 = 1, TagParser::SubFormats::Mpeg1Layer2, TagParser::SubFormats::Mpeg1Layer3 }
 
enum  TagParser::SubFormats::AacProfile : unsigned char {
  TagParser::SubFormats::AacMpeg2MainProfile = 1, TagParser::SubFormats::AacMpeg2LowComplexityProfile, TagParser::SubFormats::AacMpeg2ScalableSamplingRateProfile, TagParser::SubFormats::AacMpeg4MainProfile,
  TagParser::SubFormats::AacMpeg4LowComplexityProfile, TagParser::SubFormats::AacMpeg4ScalableSamplingRateProfile, TagParser::SubFormats::AacMpeg4LongTermPrediction, TagParser::SubFormats::AacMpeg4ERLowComplecityProfile,
  TagParser::SubFormats::AacMpeg4ERScalableSampingRateProfile, TagParser::SubFormats::AacMpeg4ERLongTermPrediction, TagParser::SubFormats::AacMpeg4ERLowDelay, TagParser::SubFormats::AacMpeg4EREnhancedLowDelay
}
 
enum  TagParser::SubFormats::Mpeg2VideoProfile : unsigned char {
  TagParser::SubFormats::Mpeg2SimpleProfile = 1, TagParser::SubFormats::Mpeg2MainProfile, TagParser::SubFormats::Mpeg2SnrProfile, TagParser::SubFormats::Mpeg2SpatialProfile,
  TagParser::SubFormats::Mpeg2HighProfile, TagParser::SubFormats::Mpeg2422Profile
}
 
enum  TagParser::SubFormats::Mpeg4VideoProfile : unsigned char {
  TagParser::SubFormats::Mpeg4SimpleProfile1 = 0x01, TagParser::SubFormats::Mpeg4SimpleProfile2 = 0x02, TagParser::SubFormats::Mpeg4SimpleProfile3 = 0x03, TagParser::SubFormats::Mpeg4SimpleProfile0 = 0x08,
  TagParser::SubFormats::Mpeg4SimpleScalableProfile0 = 0x10, TagParser::SubFormats::Mpeg4SimpleScalableProfile1 = 0x11, TagParser::SubFormats::Mpeg4SimpleScalableProfile2 = 0x12, TagParser::SubFormats::Mpeg4CoreProfile1 = 0x21,
  TagParser::SubFormats::Mpeg4CoreProfiel2 = 0x22, TagParser::SubFormats::Mpeg4MainProfile2 = 0x32, TagParser::SubFormats::Mpeg4MainProfile3 = 0x33, TagParser::SubFormats::Mpeg4MainProfile4 = 0x34,
  TagParser::SubFormats::Mpeg4NBitPrifle2 = 0x42, TagParser::SubFormats::Mpeg4ScalableTextureProfile1 = 0x51, TagParser::SubFormats::Mpeg4SimpleFaceAnimationProfile1 = 0x61, TagParser::SubFormats::Mpeg4SimpleFaceAnimationProfile2 = 0x62,
  TagParser::SubFormats::Mpeg4SimpleFbaProfile1 = 0x63, TagParser::SubFormats::Mpeg4SimpleFbaProfile2 = 0x64, TagParser::SubFormats::Mpeg4BasicAnimatedTextureProfiel1 = 0x71, TagParser::SubFormats::Mpeg4BasicAnimatedTextureProfiel2 = 0x72,
  TagParser::SubFormats::Mpeg4AvcProfile = 0x7F, TagParser::SubFormats::Mpeg4HybridProfile1 = 0x81, TagParser::SubFormats::Mpeg4HybridProfile2 = 0x82, TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile1 = 0x91,
  TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile2 = 0x92, TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile3 = 0x93, TagParser::SubFormats::Mpeg4AdvancedRealTimeSimpleProfile4 = 0x94, TagParser::SubFormats::Mpeg4CoreScalableProfile1 = 0xA1,
  TagParser::SubFormats::Mpeg4CoreScalableProfile2 = 0xA2, TagParser::SubFormats::Mpeg4CoreScalableProfile3 = 0xA3, TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile1 = 0xB1, TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile2 = 0xB2,
  TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile3 = 0xB3, TagParser::SubFormats::Mpeg4AdvancedCodingEfficiencyProfile4 = 0xB4, TagParser::SubFormats::Mpeg4AdvancedCoreProfile1 = 0xC1, TagParser::SubFormats::Mpeg4AdvancedCoreProfile2 = 0xC2,
  TagParser::SubFormats::Mpeg4AdvancedScalableTexture1 = 0xD1, TagParser::SubFormats::Mpeg4AdvancedScalableTexture2 = 0xD2, TagParser::SubFormats::Mpeg4SimpleStudioProfile1 = 0xE1, TagParser::SubFormats::Mpeg4SimpleStudioProfile2 = 0xE2,
  TagParser::SubFormats::Mpeg4SimpleStudioProfile3 = 0xE3, TagParser::SubFormats::Mpeg4SimpleStudioProfile4 = 0xE4, TagParser::SubFormats::Mpeg4CoreStudioProfile1 = 0xE5, TagParser::SubFormats::Mpeg4CoreStudioProfile2 = 0xE6,
  TagParser::SubFormats::Mpeg4CoreStudioProfile3 = 0xE7, TagParser::SubFormats::Mpeg4CoreStudioProfile4 = 0xE8, TagParser::SubFormats::Mpeg4AdvancedSimpleProfile0 = 0xF0, TagParser::SubFormats::Mpeg4AdvancedSimpleProfile1 = 0xF1,
  TagParser::SubFormats::Mpeg4AdvancedSimpleProfile2 = 0xF2, TagParser::SubFormats::Mpeg4AdvancedSimpleProfile3 = 0xF3, TagParser::SubFormats::Mpeg4AdvancedSimpleProfile4 = 0xF4, TagParser::SubFormats::Mpeg4AdvancedSimpleProfile5 = 0xF5,
  TagParser::SubFormats::Mpeg4AdvancedSimpleProfile3b = 0xF7, TagParser::SubFormats::Mpeg4FineGranularityScalableProfile0 = 0xF8, TagParser::SubFormats::Mpeg4FineGranularityScalableProfile1 = 0xF9, TagParser::SubFormats::Mpeg4FineGranularityScalableProfile2 = 0xFA,
  TagParser::SubFormats::Mpeg4FineGranularityScalableProfile3 = 0xFB, TagParser::SubFormats::Mpeg4FineGranularityScalableProfile4 = 0xFC, TagParser::SubFormats::Mpeg4FineGranularityScalableProfile5 = 0xFD
}
 
enum  TagParser::SubFormats::AvcProfile : unsigned char {
  TagParser::SubFormats::AvcCavlc444IntraProfile = 0x2C, TagParser::SubFormats::AvcBaselineProfile = 0x42, TagParser::SubFormats::AvcMainProfile = 0x4D, TagParser::SubFormats::AvcScalableBaselineProfile = 0x53,
  TagParser::SubFormats::AvcScalableHighProfile = 0x56, TagParser::SubFormats::AvcExtendedProfile = 0x58, TagParser::SubFormats::AvcHighProfile = 0x64, TagParser::SubFormats::AvcHigh10Profile = 0x6E,
  TagParser::SubFormats::AvcHighMultiviewProfile = 0x76, TagParser::SubFormats::AvcHigh422Profile = 0x7A, TagParser::SubFormats::AvcStereoHighProfile = 0x80, TagParser::SubFormats::AvcHighMultiviewDepthProfile = 0x8A,
  TagParser::SubFormats::AvcHigh444Profile = 0x90, TagParser::SubFormats::AvcHigh444PredictiveProfile = 0xF4
}
 
enum  TagParser::SubFormats::DtsSpecifier : unsigned char { TagParser::SubFormats::DtsExpress = 1, TagParser::SubFormats::DtsLossless, TagParser::SubFormats::DtsHdHighResolution, TagParser::SubFormats::DtsHdMasterAudio }
 
enum  TagParser::SubFormats::PcmVersion : unsigned char { TagParser::SubFormats::PcmIntBe = 1, TagParser::SubFormats::PcmIntLe, TagParser::SubFormats::PcmFloatIeee }
 
enum  TagParser::SubFormats::TextSubtitle : unsigned char {
  TagParser::SubFormats::PlainUtf8Subtitle = 1, TagParser::SubFormats::SubStationAlpha, TagParser::SubFormats::AdvancedSubStationAlpha, TagParser::SubFormats::UniversalSubtitleFormat,
  TagParser::SubFormats::WebVideoTextTracksFormat
}
 
enum  TagParser::SubFormats::ImageSubtitle : unsigned char { TagParser::SubFormats::ImgSubBmp = 1 }
 
enum  TagParser::ExtensionFormats::AudioFormatExtensions : unsigned char { TagParser::ExtensionFormats::SpectralBandReplication = 1, TagParser::ExtensionFormats::ParametricStereo = 2 }
 

Functions

const TAG_PARSER_EXPORT char * TagParser::mediaTypeName (MediaType mediaType)
 Returns the string representation for the specified mediaType. More...