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.
-
class mutagen.oggtheora.OggTheora(*args, **kwargs)
Bases: mutagen.ogg.OggFileType
OggTheora(filething)
An Ogg Theora file.
Parameters: | (filething) (filething) – |
-
info(`OggTheoraInfo`)
-
tags(`mutagen._vorbis.VCommentDict`)
-
class mutagen.oggtheora.OggTheoraInfo(fileobj)
Bases: mutagen.StreamInfo
OggTheoraInfo()
Ogg Theora stream information.
-
length
float
File length in seconds, as a float
-
fps
float
Video frames per second, as a float
-
bitrate
int
Bitrate in bps (int)