AC3

Pure AC3 file information.

exception mutagen.ac3.AC3Error
class mutagen.ac3.AC3(filename)

Bases: mutagen.FileType

AC3(filething)

Parameters:filething (filething) –

Load AC3 or EAC3 files.

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

info

AC3Info

class mutagen.ac3.AC3Info

Bases: mutagen.StreamInfo

AC3 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

codec

str – ac-3 or ec-3 (Enhanced AC-3)