Game Development Community

Playing AVI or Flash

by baylor wetzel · in Torque Game Builder · 08/06/2009 (9:33 am) · 4 replies

i realize this is probably an FAQ but i didn't find the answer - in the current version of TGB, is there a way to play videos? In the past there was talk about a Thedora control (is that like an ogg vorbis for AVIs?) but it didn't seem to work. Not sure where things stand now but we're submitting a game to the Indie Game Challenge (deadline: a few weeks from now) and we want to display an intro movie. We don't have the movie yet - we'll be flexible to whatever TGB supports

ps - i prefer something built in but we have the engine source so can make mods if needed

#1
08/06/2009 (9:38 am)
Off the top of my head I can't remember if the TheoraCtrl was included in the latest build of TGB or not. If it wasn't then you could just use the Theora resource to add. Theora is the only way to play video files in Torque currently, and yes it's the ogg vorbis equivalent of AVIs.
#2
08/06/2009 (9:39 am)
theres a way to play videos, but ONLY if you have them encoded with the Theora codec.

if you wanna use another format, you need to insert the wrapper into the sourcecode of TTGB.
#3
08/06/2009 (9:57 am)
You should be able to play Theora encoded videos with TGB 1.7.4. You will need to convert your videos to Theora, though.
#4
08/06/2009 (11:16 am)
OK, so use the Theora GUI control. Is there any documentation on the methods of it anywhere or maybe a tutorial? i imagine it isn't hard but a quick start thing would be nice

i'm assuming i can take a video i make in 3DSMax, export it to AVI and somehow convert it to theora. From the Web site, it looks like the command line ffmpeg2theora is the way to go. Is there a conversion process people prefer to this?