Game Development Community

Need help to Add Functionality To Theora Vid

by Andy Hawkins · in Torque Game Engine · 10/07/2006 (9:36 pm) · 0 replies

After messing around trying to extend Theora video playback I realised I have to go into the code and add some more functionality there.

I anticipate wanting to add the following functions.

Pause();                     // holds on a frame
SetSpeed(speed);      // adjusts playback speed
Rewind();                    // sets playhead to 0
SetFrame(frame);        // position playhead to frame required and plays from there.
SetLoop(bool);            // set video to loop and play from start or not

Does anyone have any whitepapers or documentation on the Theora video for coding in C++? Currently I am just stumbling around in the dark. I got it to restart but it has a nasty black frame to start with so the looping is dodgy.

And what is MagicTrevor????