Tag Parser 12.1.0
C++ library for reading and writing MP4 (iTunes), ID3, Vorbis, Opus, FLAC and Matroska tags
Loading...
Searching...
No Matches
Classes | Namespaces | Enumerations | Functions
mediaformat.h File Reference
#include "./global.h"
#include <string_view>
#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

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

Enumerations

enum class  TagParser::MediaType : unsigned int {
  TagParser::Unknown , TagParser::Audio , TagParser::Video , TagParser::Text ,
  TagParser::Buttons , TagParser::Control , TagParser::Hint , TagParser::Meta
}
 The MediaType enum specifies the type of media data (audio, video, text, ...). More...
 
enum class  TagParser::GeneralMediaFormat : unsigned int {
  TagParser::Unknown , TagParser::Aac , TagParser::Ac3 , TagParser::Ac4 ,
  TagParser::AdpcmAcm , TagParser::AfxStream , TagParser::Alac , TagParser::Als ,
  TagParser::Amr , TagParser::Avc , TagParser::Av1 , TagParser::Bitmap ,
  TagParser::Daala , TagParser::Dirac , TagParser::DolbyMlp , TagParser::Dts ,
  TagParser::DtsHd , TagParser::DvbSub , TagParser::EAc3 , TagParser::Evrc ,
  TagParser::Flac , TagParser::FontDataStream , TagParser::Gif , TagParser::Gpp2Cmf ,
  TagParser::Hevc , TagParser::ImaadpcmAcm , TagParser::ImageSubtitle , TagParser::InteractionStream ,
  TagParser::Jpeg , TagParser::MicrosoftAudioCodecManager , TagParser::MicrosoftMpeg4 , TagParser::MicrosoftVideoCodecManager ,
  TagParser::MonkeysAudio , TagParser::Mpc , TagParser::Mpeg1Audio , TagParser::Mpeg1Video ,
  TagParser::Mpeg2Audio , TagParser::Mpeg2Video , TagParser::Mpeg4TimedText , TagParser::Mpeg4Video ,
  TagParser::OggKate , TagParser::Opus , TagParser::Pcm , TagParser::Png ,
  TagParser::ProRes , TagParser::Qcelp , TagParser::QuicktimeAudio , TagParser::QuicktimeVideo ,
  TagParser::RealAudio , TagParser::RealVideo , TagParser::Sa0c , TagParser::Smv ,
  TagParser::Speex , TagParser::StreamingTextStream , TagParser::SynthesizedTextureStream , TagParser::Systems ,
  TagParser::TextSubtitle , TagParser::Theora , TagParser::Tiff , TagParser::TimedText ,
  TagParser::Tta , TagParser::UncompressedVideoFrames , TagParser::Vc1 , TagParser::VobBtn ,
  TagParser::VobSub , TagParser::Vorbis , TagParser::Vp8 , TagParser::Vp9 ,
  TagParser::WavPack , TagParser::WindowsMediaAudio , TagParser::WindowsMediaVideo , TagParser::Vcc
}
 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

TAG_PARSER_EXPORT std::string_view TagParser::mediaTypeName (MediaType mediaType)
 Returns the string representation for the specified mediaType.