Please login or register.

Login with username, password and session length
Advanced search  

News:

This forum provides RSS feed. To query recent posts use this url. More...


Author Topic: Theora - set video position  (Read 8597 times)

0 Members and 1 Guest are viewing this topic.

metamorphium

  • Global Moderator
  • Addicted to WME forum
  • *
  • Karma: 12
  • Offline Offline
  • Gender: Male
  • Posts: 1511
  • Vampires!
    • View Profile
    • CBE  software s.r.o.
Theora - set video position
« 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
« Last Edit: July 22, 2009, 08:37:26 AM by metamorphium »
Logged
J.U.L.I.A. Enhanced Edition, Vampires!, J.U.L.I.A., J.U.L.I.A. Untold, Ghost in the Sheet

Kinjal

  • WME Kinjal Edition Developer
  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • View Profile
Re: Theora - set video position
« Reply #1 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?
Logged

Jyujinkai

  • Global Moderator
  • Frequent poster
  • *
  • Karma: 1
  • Offline Offline
  • Posts: 352
    • View Profile
    • Jyujinkai's WME Development Blog
Re: Theora - set video position
« Reply #2 on: December 13, 2009, 08:28:11 AM »

be also cool to get theora.playfrom(framenumber); or somthign like that
Logged
<Antoine de Saint-Exupéry> In any thing at all, perfection is finally attained not when there is no longer anything to add, but when there is no longer anything to take away...
<Carl Sagan> If you want to make a apple pie from scratch. You must first... invent the universe

Kinjal

  • WME Kinjal Edition Developer
  • Occasional poster
  • **
  • Karma: 1
  • Offline Offline
  • Gender: Male
  • Posts: 53
    • View Profile
Re: Theora - set video position
« Reply #3 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
Logged
 

Page created in 0.03 seconds with 19 queries.