ID3v2 header parser. More...
#include "config.h"
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "libavutil/intreadwrite.h"
#include "avio_internal.h"
#include "internal.h"
#include "id3v1.h"
#include "id3v2.h"
Go to the source code of this file.
ID3v2 header parser.
Specifications available at: http://id3.org/Developer_Information
Definition in file id3v2.c.
Detect ID3v2 Header.
Definition at line 141 of file id3v2.c.
Referenced by av_probe_input_format3(), id3v2_read_internal(), intercept_id3(), mp3_read_probe(), and oma_read_probe().
Get the length of an ID3v2 tag.
Definition at line 154 of file id3v2.c.
Referenced by av_probe_input_format3(), intercept_id3(), mp3_read_probe(), and oma_read_probe().
Definition at line 166 of file id3v2.c.
Referenced by id3v2_parse().
Definition at line 174 of file id3v2.c.
Referenced by id3v2_parse().
Definition at line 184 of file id3v2.c.
Referenced by check_tag().
Return 1 if the tag of length len at the given offset is valid, 0 if not, -1 on error.
Definition at line 202 of file id3v2.c.
Referenced by id3v2_parse().
Free GEOB type extra metadata.
Definition at line 219 of file id3v2.c.
Referenced by read_geobtag().
Decode characters to UTF-8 according to encoding type.
The decoded buffer is always null terminated. Stop reading when either *maxread bytes are read from pb or U+0000 character is found.
Definition at line 241 of file id3v2.c.
Referenced by read_apic(), read_chapter(), read_geobtag(), read_priv(), read_ttag(), and read_uslt().
Parse a text tag.
Definition at line 318 of file id3v2.c.
Referenced by id3v2_parse(), and read_chapter().
Definition at line 357 of file id3v2.c.
Referenced by id3v2_parse().
Parse GEOB tag into a ID3v2ExtraMetaGEOB struct.
Definition at line 482 of file id3v2.c.
Referenced by get_date_tag().
Definition at line 489 of file id3v2.c.
Referenced by merge_date().
Definition at line 498 of file id3v2.c.
Referenced by id3v2_read_internal().
Definition at line 530 of file id3v2.c.
Referenced by read_apic().
Definition at line 675 of file id3v2.c.
Referenced by read_priv().
Get the corresponding ID3v2EMFunc struct for a tag.
Definition at line 742 of file id3v2.c.
Referenced by ff_id3v2_free_extra_meta(), and id3v2_parse().
Definition at line 756 of file id3v2.c.
Referenced by id3v2_read_internal().
Definition at line 995 of file id3v2.c.
Referenced by ff_id3v2_read(), and ff_id3v2_read_dict().
Read an ID3v2 tag into specified dictionary and retrieve supported extra metadata.
Chapters are not currently read by this variant.
Definition at line 1039 of file id3v2.c.
Referenced by parse_id3().
Read an ID3v2 tag, including supported extra metadata and chapters.
Data is read from and stored to AVFormatContext.
Definition at line 1045 of file id3v2.c.
Referenced by aiff_read_header(), avformat_open_input(), get_id3_tag(), oma_read_header(), parse_dsd_prop(), and read_id3().
Free memory allocated parsing special (non-text) metadata.
Definition at line 1051 of file id3v2.c.
Referenced by aiff_read_header(), avformat_open_input(), free_playlist_list(), get_id3_tag(), handle_id3(), hls_read_header(), oma_read_header(), parse_dsd_prop(), and read_id3().
Create a stream for each APIC (attached picture) extracted from the ID3v2 header.
Definition at line 1067 of file id3v2.c.
Referenced by aiff_read_header(), avformat_open_input(), get_id3_tag(), handle_id3(), hls_read_header(), parse_dsd_prop(), and read_id3().
Definition at line 43 of file id3v2.c.
Referenced by write_metadata().
Definition at line 62 of file id3v2.c.
Referenced by write_metadata().
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.
Definition at line 86 of file id3v2.c.
Referenced by write_metadata().
ID3v2.4-only text information frames.
Definition at line 94 of file id3v2.c.
Referenced by write_metadata().
ID3v2.3-only text information frames.
Definition at line 100 of file id3v2.c.
Referenced by write_metadata().
Definition at line 105 of file id3v2.c.
Referenced by asf_read_picture(), ff_flac_parse_picture(), ff_id3v2_write_apic(), and read_apic().
Definition at line 129 of file id3v2.c.
Referenced by asf_read_picture(), ff_flac_parse_picture(), ff_id3v2_write_apic(), query_codec(), and read_apic().