Game Development Community

dev|Pro Game Development Curriculum

TGEA Theora support

by Frank Bignone · 08/05/2009 (2:26 am) · 24 comments

Archive file updated on 6th August 2009

The proposed download is a modification of provided source code from GarageGames in order to support Theora movie playback. The current resource is only working for video playback and does not included the sound streaming which is needed in order to have both video and sound support.

First of all, just download the following file and copy the engine folder inside your TGEA folder (do not forget to backup your data first). The archive includes also the latest Theora library distribution. You may need to compile them for your platform (just go inside engine/lib/libTheora).

In order to compile you application, you will need to set-up the correct path for include and library file. First set-up the path for the include files as followed:

www.torquelab.com/wp-content/uploads/2009/08/t-libinc-300x258.jpg

Then set-up the path for the library and the new theora lib file in the linker option as followed:

www.torquelab.com/wp-content/uploads/2009/08/t-libdir-300x258.jpg

www.torquelab.com/wp-content/uploads/2009/08/t-liblink-300x209.jpg

For the library to link, you may face some linker issue with the release library; but it works well with the debug library.

Then you can try the .ogg demonstration video available in the archive by creating a TheoraGuiCtrl in the GUI editor as followed.

www.torquelab.com/wp-content/uploads/2009/08/t-demo-300x233.jpg

You can find this resource on our blog here www.torquelab.com.

About the author

Real programmers don't waste time recompiling; they patch the binary files... ... Real programmers don't waste time patching binary files; they patch memory.

Page«First 1 2 Next»
#21
02/17/2010 (3:06 pm)
Quote:For the library to link, you may face some linker issue with the release library; but it works well with the debug library.

I'm not beeing able to build a release version of the game, actually. I tried forcing the debug libtheora build (by using a fixed dir instead of "$(ConfigurationName)") but didn't work. The debug tgea builds ok.

May be the library version?

Edit: apparently not. Same problem with the latest theora release.
#22
02/18/2010 (12:47 am)
In fact to make it works, I think it is required to recompile all library (some settings in compiler which are not consistent between TGEA and libTheora). I did not spend time on it as working on something else now and also with already support of Theora inside T3D.
#23
02/18/2010 (6:33 pm)
Just for reference, the solution was under my noise, got it working by integrating the libtheora project delivered with TGEA 1.8.2.
#24
05/10/2010 (3:12 am)
this is only for GUI,can it work in Scence(not in GUI)???
Page«First 1 2 Next»