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
Type:AACInfo
add_tags()

Adds new tags to the file.

Raises:mutagen.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

number of audio channels

Type:int
length

file length in seconds, as a float

Type:float
sample_rate

audio sampling rate in Hz

Type:int
bitrate

audio bitrate, in bits per second

Type:int
pprint()

Returns: text: Print stream information