Ogg Vorbis

Read and write Ogg Vorbis comments.

This module handles Vorbis files wrapped in an Ogg bitstream. The first Vorbis stream found is used.

Read more about Ogg Vorbis at http://vorbis.com/. This module is based on the specification at http://www.xiph.org/vorbis/doc/Vorbis_I_spec.html.

class mutagen.oggvorbis.OggVorbis(*args, **kwargs)

Bases: mutagen.ogg.OggFileType

OggVorbis(filething)

Parameters:(filething) (filething) –

An Ogg Vorbis file.

info(`OggVorbisInfo`)
tags(`mutagen._vorbis.VCommentDict`)
class mutagen.oggvorbis.OggVorbisInfo(fileobj)

Bases: mutagen.StreamInfo

OggVorbisInfo()

Ogg Vorbis stream information.

length

float

File length in seconds, as a float

channels

int

Number of channels

bitrate

int

Nominal (‘average’) bitrate in bits per second

sample_Rate

int

Sample rate in Hz

Previous topic

Ogg Theora

Next topic

OptimFROG

This Page