Ogg FLAC¶
Read and write Ogg FLAC comments.
This module handles FLAC files wrapped in an Ogg bitstream. The first FLAC stream found is used. For ‘naked’ FLACs, see mutagen.flac.
This module is based off the specification at http://flac.sourceforge.net/ogg_mapping.html.
-
exception
mutagen.oggflac.
error
¶ Bases:
mutagen.ogg.error
-
exception
mutagen.oggflac.
OggFLACHeaderError
¶ Bases:
mutagen.oggflac.error
-
class
mutagen.oggflac.
OggFLAC
(filename)¶ Bases:
mutagen.ogg.OggFileType
An Ogg FLAC file.
-
class
mutagen.oggflac.
OggFLACStreamInfo
¶ Bases:
mutagen.StreamInfo
Ogg FLAC stream info.
-
length
= 0¶ File length in seconds, as a float
-
channels
= 0¶ Number of channels
-
sample_rate
= 0¶ Sample rate in Hz
-