StormByte-Multimedia 3.3.2
C++26 multimedia processing module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Multimedia::Metadata Namespace Reference

Snapshot metadata for files and streams. More...

Classes

struct  Chapter
 One container chapter captured at Open. More...
class  File
 File tags and header fields captured at Open. More...
class  Disposition
 Bitmask of DispositionFlag. More...
class  Stream
 Per-stream tags and header fields captured at Open. More...

Enumerations

enum class  DispositionFlag : std::uint16_t {
  None = 0 , Default = 1 << 0 , Dub = 1 << 1 , Original = 1 << 2 ,
  Comment = 1 << 3 , Lyrics = 1 << 4 , Karaoke = 1 << 5 , Forced = 1 << 6 ,
  HearingImpaired = 1 << 7 , VisualImpaired = 1 << 8 , AttachedPicture = 1 << 9
}
 Per-stream disposition bits (FFmpeg AV_DISPOSITION_* subset). More...
enum class  FileTag : unsigned char {
  Title , Artist , Album , AlbumArtist ,
  Composer , Genre , Comment , Copyright ,
  Date , Track , Disc
}
 File-level tag that a job can keep, replace or remove. More...
enum class  StreamTag : unsigned char { Language , Title }
 Per-track tag that a job can keep, replace or remove. More...

Variables

constexpr unsigned FileTagCount = 11
 Number of StormByte::Multimedia::Metadata::FileTag values.
constexpr unsigned StreamTagCount = 2
 Number of StormByte::Multimedia::Metadata::StreamTag values.

Detailed Description

Snapshot metadata for files and streams.

Enumeration Type Documentation

◆ DispositionFlag

enum class StormByte::Multimedia::Metadata::DispositionFlag : std::uint16_t
strong

Per-stream disposition bits (FFmpeg AV_DISPOSITION_* subset).

Enumerator
None 

No flags.

Default 

Default playback stream.

Dub 

Dubbed audio.

Original 

Original language.

Comment 

Commentary.

Lyrics 

Lyrics.

Karaoke 

Karaoke.

Forced 

Forced subtitles.

HearingImpaired 

Hearing-impaired content.

VisualImpaired 

Visually impaired content.

AttachedPicture 

Cover or attached picture.

◆ FileTag

enum class StormByte::Multimedia::Metadata::FileTag : unsigned char
strong

File-level tag that a job can keep, replace or remove.

MP3 stores these as ID3, Ogg and FLAC as Vorbis comments, MP4 as iTunes atoms and Matroska as global tags.

Enumerator
Title 

Work title.

Artist 

Main artist.

Album 

Album or set name.

AlbumArtist 

Album artist.

Composer 

Composer.

Genre 

Genre.

Comment 

Comment.

Copyright 

Copyright notice.

Date 

Date or year.

Track 

Track number.

Disc 

Disc number.

◆ StreamTag

enum class StormByte::Multimedia::Metadata::StreamTag : unsigned char
strong

Per-track tag that a job can keep, replace or remove.

Enumerator
Language 

ISO language of the track.

Title 

Track title.

Variable Documentation

◆ FileTagCount

unsigned StormByte::Multimedia::Metadata::FileTagCount = 11
inlineconstexpr

◆ StreamTagCount

unsigned StormByte::Multimedia::Metadata::StreamTagCount = 2
inlineconstexpr