Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Pages: 1 ... 3 4 [5]

Author Topic: Using OpenAL with the plugin  (Read 17669 times)

M&M

  • Guest
Using OpenAL with the plugin
« Reply #60 on: December 15, 2005, 08:07:34 PM »

It seems to be a common problem as I have a 4 minute video that starts in sync and slowly drifts out of it until the difference becomes really noticable by the end. And sometimes it starts out of sync already. I suppose when seeking is working we could tie audio & video together perminantly ?

Also, check the source code for ffmpeg2theora converter. There were 2 code files with utilities to work with theora and vorbis, using those the converter seems to find a way to get the clip time (w/o seeking) so I'm pretty sure that could be helpful somehow. I had a quick look over it so I couldn't find exactly how it worked but i'm confident is possible




p.s: there is a serious problem with logging in (and staying that way). I was just logged in 10 seconds ago before making this post. How come I was logged out ?
Logged

Anonymous

  • Guest
Using OpenAL with the plugin
« Reply #61 on: December 16, 2005, 04:49:00 AM »

I've been trying to figure out where to put my material file, since I put it in where the resrouce.cfg looks, and made sure all the calls in movieLogic.cpp write to Examples/Videotest, as written in the readme, but it returns the error, "Tried to find Movie Texture Example/Videotest. Though the texture was not anywhere to be found". Am I putting the material file in the wrong place? Or maybe the ogg file should be with the matieral file instead of in the release, like the demo has it?

I know I say this a lot, but this last little bit of help would really help me out a ton!  :)
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #62 on: December 16, 2005, 05:11:44 AM »

I got another error after getting the ogg directory right. The error is:

Code: [Select]
Texture: ../../media/video/cheer.ogg: Loading 1 faces(PF_B8G8R8, 352x240x1) with 0 generated mipmaps from Image. Internal format is PF_X8R8G8B8, 352x240x1.
Latency: 2.97215
bool AudioClip::openAudioStream()
End of movie file reached


That sounds like it opened and played all the way through, but nothing comes up. Anyone know what's the matter here?  :?:  :?:
Logged

Ender22

  • Guest
Using OpenAL with the plugin
« Reply #63 on: December 16, 2005, 07:25:50 AM »

Hey Ive been following rossmans progress and trying to acheive the same thing for my project. im having the same problem as rossman right now.
The video says its playing all the way to the end before i see anything.
ive tried stopping the video right after starting it, but it still says its getting to the end.

ive also noticed this error in the log.
ExternalTextureSourceManager::SetCurrentPlugIn(ENUM) failed setting texture plugin.

do you get this error Rossman?

that error appears right after the line
Parsing script MyVideo.material.

any idea what the problem is?

thanks alot.
Logged

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Using OpenAL with the plugin
« Reply #64 on: December 16, 2005, 08:12:19 AM »

@M&M

Not sure what your problem is with loggin in.. Works fine here, I have had no problems. WHat browser are you using? I am on Firefox, but see no reason why IE would have issues. As far as the seeking thing, well, as I said, there is no way to know how long a video is without looking at the last ogg page and analyzing the granule time. Now, you could easily just seek to the very end of the file, then seek back enough to decode one ogg_page, but, there is (afaik) no reason to know the end time unless you plan on seeking the movie file around anyway.

As far as video playing.. I thought you got it working Rossman?

:arrow: Also, this thread is getting quite long and has been off topic for some time :P . Please, start new threads for new topics.. I think aswering the same topic posts from the same topic is the best... As it also helps others search the forums better. I do not want to have to lock this topic, but I will if needed.
Logged
Pages: 1 ... 3 4 [5]