Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: looping video  (Read 1576 times)

ilautar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 6
    • View Profile
looping video
« on: October 21, 2005, 08:32:46 AM »

Hi,

I want to loop videos. TextureEffectPlay_Looping has no effect on this. I've registered message handler, and get OggStreamDone.

At this time, I would want to restart the movie from begginging. Is there an easy way to do this?

My videos are set-up using material scripts.

Thx,
Igor
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
looping video
« Reply #1 on: October 21, 2005, 03:40:40 PM »

The looping cammand has no effect with the plugin (so you've realised :) )

There is no real easy way if you are using this via material scripts... As you would hvae to destroy the clip/texture and recreate it. You can do it.. but, it defeats the purpose of using a material script to start with. I would just suggest that you use videos created in code.. as you have much more control anyway. At least until, seeking is stable (which will be a while).

sorry I cannot be of more help there.
Logged

ilautar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 6
    • View Profile
looping video
« Reply #2 on: October 21, 2005, 11:20:27 PM »

So, If I create video material in code, I can then seek to beggining? Or how would I then restart the video (recreate it again?)?

Another question regarding multiple videos.
I'm working on a project that requires 3+ videos to run simultaneously. And this nas to be done on normal hardware. Currently, videos are 30 fps, would it help if I recode then to 15 fps and/or lower quality? I will of course try it, but why not ask here, since you must have some experience with this :)

Thx,
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
looping video
« Reply #3 on: October 22, 2005, 07:00:54 AM »

Yeah.. Recreating in code will be your best bet... Unless of course you feel like debugging the seeking stuff - as it is mostly unstable   :twisted:

As far as 3 videos.. Well, I've seen decent results with 2 videos simultaneously.. Have never tried three. But, if you keep there dimensions relatively small, quality level kinda low, and maybe reduce the speed (but, shouldn't be neccessary) you should achieve good results.
Logged