Ogg Theora

Read and write Ogg Theora comments.

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

Based on the specification at http://theora.org/doc/Theora_I_spec.pdf.

exception mutagen.oggtheora.error

Bases: mutagen.ogg.error

exception mutagen.oggtheora.OggTheoraHeaderError

Bases: mutagen.oggtheora.error

class mutagen.oggtheora.OggTheora(filename)

Bases: mutagen.ogg.OggFileType

An Ogg Theora file.

info = None

A OggTheoraInfo

tags = None

A VCommentDict

class mutagen.oggtheora.OggTheoraInfo(fileobj)

Ogg Theora stream information.

length = 0

File length in seconds, as a float

fps = 0

Video frames per second, as a float

bitrate = 0

Bitrate in bps (int)