Ogg Speex

Read and write Ogg Speex comments.

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

Read more about Ogg Speex at http://www.speex.org/. This module is based on the specification at http://www.speex.org/manual2/node7.html and clarifications after personal communication with Jean-Marc, http://lists.xiph.org/pipermail/speex-dev/2006-July/004676.html.

class mutagen.oggspeex.OggSpeex(*args, **kwargs)

Bases: mutagen.ogg.OggFileType

OggSpeex(filething)

An Ogg Speex file.

Parameters:(filething) (filething) –
info(`OggSpeexInfo`)
tags(`mutagen._vorbis.VCommentDict`)
class mutagen.oggspeex.OggSpeexInfo(fileobj)

Bases: mutagen.StreamInfo

OggSpeexInfo()

Ogg Speex stream information.

length

float

file length in seconds, as a float

channels

int

number of channels

bitrate

int

nominal bitrate in bits per second. The reference encoder does not set the bitrate; in this case, the bitrate will be 0.

Previous topic

Ogg Opus

Next topic

Ogg Theora

This Page