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.

class mutagen.oggflac.OggFLAC(filething)

Bases: mutagen.ogg.OggFileType

An Ogg FLAC file.

Parameters:filething (filething) –
info

OggFLACStreamInfo

tags

mutagen._vorbis.VCommentDict

class mutagen.oggflac.OggFLACStreamInfo

Bases: mutagen.StreamInfo

Ogg FLAC stream info.

length

float – File length in seconds, as a float

channels

float – Number of channels

sample_rate

int – Sample rate in Hz”

pprint()

Returns: text: Print stream information