AAC

  • ADTS - Audio Data Transport Stream
  • ADIF - Audio Data Interchange Format
  • See ISO/IEC 13818-7 / 14496-03
exception mutagen.aac.AACError
class mutagen.aac.AAC(filename)

Bases: mutagen.FileType

AAC(filething)

Parameters:filething (filething) –

Load ADTS or ADIF streams containing AAC.

Tagging is not supported. Use the ID3/APEv2 classes directly instead.

info

AACInfo

add_tags()

Adds new tags to the file.

Raises:MutagenError – if tags already exist or adding is not possible.
class mutagen.aac.AACInfo

Bases: mutagen.StreamInfo

AACInfo()

AAC stream information. The length of the stream is just a guess and might not be correct.

channels

int – number of audio channels

length

float – file length in seconds, as a float

sample_rate

int – audio sampling rate in Hz

bitrate

int – audio bitrate, in bits per second

pprint()

Returns: text: Print stream information