Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Pages: 1 [2] 3 4 5

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

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #15 on: December 05, 2005, 07:15:07 PM »

Hey, I'm in realy trouble here, I don't have the ammount of experience you have in programming, but I do know what I'm doing, and I really need to get Theora working with OpenAL. I was told that you would be coming out with some code later this week. Well, I have a really tight deadline, and was wondering if you would be able to help me out a bit?  :oops:

Please, I'm pretty desperate... Or at least, please tell me what I have to do to get one of the demos working with OpenAL, cause my game, which is nearing the end of development, is using OpenAL, and I can't get Theora working at all without an audio plugin  :cry:
Logged

manowar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 14
    • View Profile
Using OpenAL with the plugin
« Reply #16 on: December 06, 2005, 02:14:43 AM »

Well, here is the CEGUI theora example modified to use OpenAL instead of FMOD. It is far from perfect. But it seems to work. I have noticed that the pause does not work well in OpenAL at the moment (sorry). Anyway I am posting the full project, with .exe + ogre 1.0.6 win32 dlls... so it is quite big (12Mb)
Anyway you can download it there: http://eric.boissard.free.fr/CEGUI_TheoraDemo-OpenAL.zip

If someone improves it, please let me know !

Thanks

Eric (eric_boissard@hotmail.com)
Logged

Anonymous

  • Guest
Using OpenAL with the plugin
« Reply #17 on: December 06, 2005, 05:32:40 AM »

so how exactly do I get this to play a video?
I looked through the code but i dont see exactly where to put my test video.
also wondering what formats of video this supports.

thanks.
Logged

manowar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 14
    • View Profile
Using OpenAL with the plugin
« Reply #18 on: December 06, 2005, 06:21:56 AM »

Hi,

Just put a ogg video compressed with the theora codec in the same folder as the exe.

Eric
Logged

pjcast

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

@manowar
Thanks for the code. I just downloaded it. I think I will add a plugin type of system for loading Sound Systems into the CEGUI demo... Using a CEGUI Dialog and some use of Ogre's load plugin routines it should not be too hard. I will just have to add some new build targets for the various Audio libs.. This will also make testing easier, as you will not have to recompile the project with different source files to test the various Audio Libs.
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #20 on: December 06, 2005, 12:45:53 PM »

Hey, I thought the ogg file type was only for sound... sorry for the confusion! Is there a place u can point me to for a avi to ogg converter, or something of the sort?
Logged

manowar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 14
    • View Profile
Using OpenAL with the plugin
« Reply #21 on: December 06, 2005, 01:44:26 PM »

well if you simply looked around in the forum or on pjcast website you would have found a link to this tool this: http://www.v2v.cc/~j/ffmpeg2theora/download.html

It is a command line tool but really easy to use.

With that tool you should be able to convert your videos into theora ogg. Good luck.


Eric
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #22 on: December 06, 2005, 08:57:55 PM »

Oh, I'm very sorry for not taking a look around, my mistake! I tried putting an ogg video in with the exe, and after I select the name of the file and press play, it crashes on me without any errors in Ogre.log, any idea of why it might be doing this? Once again, sorry if I'm being too much of a bother.  :oops:
Logged

manowar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 14
    • View Profile
Using OpenAL with the plugin
« Reply #23 on: December 07, 2005, 02:13:07 AM »

@Rossman

Have you installed the openAL dlls ? http://www.openal.org/downloads.html
Get the windows installer.

It might be the problem.

Eric
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #24 on: December 07, 2005, 08:01:58 AM »

I know that site doesn't work sometimes, so I was unable to get the installer. I'll try again later, but I guess what you're telling me is that the SDK won't work? That could be a problem, since our game is using the SDK... I'll try again later. Thanks for all your help.  :D
Logged

manowar

  • Newbie
  • *
  • Karma: +0/-0
  • Posts: 14
    • View Profile
Using OpenAL with the plugin
« Reply #25 on: December 07, 2005, 08:36:48 AM »

No, What I want to tell you is that in order to run any openAL application, you have to make sure that some dlls are installed on your machine. Is not the SDK, it is more like a runtime, I would say.

Eric
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #26 on: December 07, 2005, 09:34:39 AM »

Ah, I found the solution! Now to get rid of the choppyness, which I think I know how to do, and to make the whole screen the movie, instead of the cegui setup. Thanks for the help. Great program.
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #27 on: December 12, 2005, 09:01:02 AM »

Just a quick question, I keep getting an entry point error for CEGUIBase.dll. Is there any chance I could get a copy of a working CEGUIBase.dll, or does someone have a solution? I've checked out the CEGUI forums, and the solution they give doesn't seem to work...  :cry:
Logged

pjcast

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

WHat version of Ogre, CEGUI, and when did you check out the CEGUI demo? And what is the exact error message?
Logged

Rossman

  • Regular
  • *
  • Karma: +0/-0
  • Posts: 30
    • View Profile
Using OpenAL with the plugin
« Reply #29 on: December 12, 2005, 09:21:40 AM »

My ogre is the precompiled 1.0.2 with CEGUI included, and the exact error message is "The procedure entry point ??1Vector1@CEGUI@@QAE@XZ could not be located in the dynamic link library CEGUIBase.dll"
Logged
Pages: 1 [2] 3 4 5