[theora] ogg file format specification

Corentin allard callard at ece.fr
Thu Feb 22 13:53:17 PST 2007

Hello all,

I'm coding (trying to code should be better) a soft in python to analyze
video. (scene change, edge, line, motion) and i want to use ogg file. So i
got a few questions :

To analyze the video i need an acces to the video data (the array of pixel)
and i'm wondering if i can acces it directly, i mean by my own or do i
really need to use the decode process to get an array of RGB values ?
And if i need to use the decode procees, will pymedia (http://pymedia.org/)
allow this ?

If i can access the video data by myself (which is better for the computer's
I didn't find the file format specification i'm talking about the size in
bit of the header (and how can i read it) and the size of the 'footer' if
theora use one. and stuff like that.
So where can I find it ?

I have read the specification of theora and spend a long time looking over
internet for this information but i couldn't find anything except that the
header does not contain the number of frame because theora is supposed to be
usefful to streaming.
To my mind, most of the streamed video are finished files, there are a just
a few streaming of pure video stream (like webcam, or tv channel) and the
fact is knowing the number of frame (when it's possible) is really usefull.
So why don't you put it in the header and give it a negative value for
example when it's an unfinished video stream?

Thank you for reading me, I'm sorry for my bad english


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/theora/attachments/20070222/fb305259/attachment.html

More information about the theora mailing list