22 #ifndef AVFORMAT_ID3V2_H
23 #define AVFORMAT_ID3V2_H
29 #define ID3v2_HEADER_SIZE 10
34 #define ID3v2_DEFAULT_MAGIC "ID3"
36 #define ID3v2_FLAG_DATALEN 0x0001
37 #define ID3v2_FLAG_UNSYNCH 0x0002
38 #define ID3v2_FLAG_ENCRYPTION 0x0004
39 #define ID3v2_FLAG_COMPRESSION 0x0008
const char ff_id3v2_tags[][4]
A list of text information frames allowed in both ID3 v2.3 and v2.4 http://www.id3.org/id3v2.4.0-frames http://www.id3.org/id3v2.4.0-changes.
int ff_id3v2_tag_len(const uint8_t *buf)
Get the length of an ID3v2 tag.
const AVMetadataConv ff_id3v2_34_metadata_conv[]
const char ff_id3v2_3_tags[][4]
ID3v2.3-only text information frames.
struct ID3v2ExtraMetaGEOB ID3v2ExtraMetaGEOB
const char ff_id3v2_4_tags[][4]
ID3v2.4-only text information frames.
void ff_id3v2_read(AVFormatContext *s, const char *magic)
Read an ID3v2 tag (text tags only)
int ff_id3v2_write(struct AVFormatContext *s, int id3v2_version, const char *magic)
Write an ID3v2 tag.
const AVMetadataConv ff_id3v2_4_metadata_conv[]
void ff_id3v2_free_extra_meta(ID3v2ExtraMeta **extra_meta)
Free memory allocated parsing special (non-text) metadata.
struct ID3v2ExtraMeta ID3v2ExtraMeta
void ff_id3v2_read_all(AVFormatContext *s, const char *magic, ID3v2ExtraMeta **extra_meta)
Read an ID3v2 tag, including supported extra metadata (currently only GEOB)
int ff_id3v2_match(const uint8_t *buf, const char *magic)
Detect ID3v2 Header.