Wintermute Engine Forum

Wintermute Engine => Feature requests, suggestions => Topic started by: metamorphium on July 22, 2009, 08:29:58 AM

Title: Theora - set video position
Post by: metamorphium on July 22, 2009, 08:29:58 AM
Subject says it all.

Thanks a lot!

Edit: ok, thinking about it those three methods would be great:

GetTheoraPosition();  -- returns the frame, the video player is currently on
SetTheoraPosition(frame); -- sets the video playback to the specified frame
GetTheoraLength(); -- returns the number of frames the video contains
Title: Re: Theora - set video position
Post by: Kinjal on December 11, 2009, 10:00:13 AM
I'll take care. But I need a working project with some theora videos and what's you want expect from these functions.  You need some kind of rewind?
Title: Re: Theora - set video position
Post by: Jyujinkai on December 13, 2009, 08:28:11 AM
be also cool to get theora.playfrom(framenumber); or somthign like that
Title: Re: Theora - set video position
Post by: Kinjal on December 13, 2009, 05:46:39 PM
Use Entity.SetTheoraPositionInSeconds for rewind feature.

Available in WME 1.9.0.1 Kinjal Edition v1.2, http://forum.dead-code.org/index.php?topic=4025.0