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(*args, **kwargs)

Bases: mutagen.ogg.OggFileType

OggFLAC(filething)

An Ogg FLAC file.

Parameters:(filething) (filething) –
info(`OggFLACStreamInfo`)
tags(`mutagen._vorbis.VCommentDict`)
class mutagen.oggflac.OggFLACStreamInfo(fileobj)

Bases: mutagen.StreamInfo

OggFLACStreamInfo()

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”

Previous topic

OGG

Next topic

Ogg Opus

This Page