theora codec

Theora is a general purpose, lossy video codec. It is based on the VP3 video codec produced by On2 Technologies.

header

NameTypeSize (bits)Description and restrictions
VMAJInteger8major version number
VMINInteger8minor version number
VREVInteger8version revision number
FMBWInteger16width of the frame in macro blocks
FMBHInteger16height of the frame in macro blocks
NSBSInteger32total number of super blocks in a frame
NBSInteger36total number of blocks in a frame
NMBSInteger32total number of macro blocks in a frame
PICWInteger20width of the picture region in pixels
PICHInteger20height of the picture region in pixels
PICXInteger8X offset of the picture region in pixels
PICYInteger8Y offset of the picture region in pixels
FRNInteger32frame-rate numerator
FRDInteger32frame-rate denominator
PARNInteger24pixel aspect-ratio numerator
PARDInteger24pixel aspect-ratio denominator
CSInteger8color space
PFInteger2pixel format
NOMBRInteger24nominal bitrate of the stream, in bits per second
QUALInteger6quality hint
KFGSHIFTInteger5amount to shift the key frame number by in the granule position