Playing Video in tge?
by Josh Isgame · in Technical Issues · 05/18/2008 (8:30 am) · 11 replies
Hey everyone, I'd like to know if theres a chance to play a video then the game starts? My videos format is .avi and it's size is 874k. Thanks.
About the author
#2
05/18/2008 (11:38 am)
Still doesnt work..
#3
05/18/2008 (12:13 pm)
Not a lot of info you're giving there.
#4
05/18/2008 (12:22 pm)
You'll have to use GuiTheoraCtrl, this control will only play .ogg files. And the reason why is because of the cross platform capabilities. Here's a link Theora that will do the conversions for you. If you want to play a video first then you'll have to push a gui on that has the video on it, then once the video is complete call a function to start your game. Torsion is a smashing tool to use to step through and figure out where when commands and functions are called and executed. Hope this helps a little.......
#5
05/20/2008 (3:58 am)
Hmm, it doesnt play the video.. Only black screen appears and nothing happens, there is no sound & view..
#6
If you are getting a black screen, 1 of 2 things have gone wrong.
1. The export to Ogg failed
2. You have an error in your gui script. (look at your console.log to find which one is the problem)
05/20/2008 (2:24 pm)
I answered this very same question somewhere. If you are getting a black screen, 1 of 2 things have gone wrong.
1. The export to Ogg failed
2. You have an error in your gui script. (look at your console.log to find which one is the problem)
#7
05/21/2008 (12:52 am)
Hey Mike, I was thinking about that the export to ogg file format failed, but I don't know what program to use to succesfully convert from .avi to .ogg.. I feel stupid right now. :-(
#8
Personally, I use windows movie maker to convert my avi to wmv, then ffmpeg2theora from there.
05/21/2008 (2:47 am)
One of these should help youPersonally, I use windows movie maker to convert my avi to wmv, then ffmpeg2theora from there.
#9
05/21/2008 (3:35 am)
Thanks!
#10
With this you can vorbis from one format to another. Ogg converter working properly and is free for 10 converts
You can find this in www.audio-converter.com (no support .avi)
Also download the codec "oggcodecs_0.71.0946.exe" for Media player of windows to play any ogg file any time
05/21/2008 (1:40 pm)
Hi I am working with ACE-HIGH MP3, WV, WMA, OGG Audio ConverterWith this you can vorbis from one format to another. Ogg converter working properly and is free for 10 converts
You can find this in www.audio-converter.com (no support .avi)
Also download the codec "oggcodecs_0.71.0946.exe" for Media player of windows to play any ogg file any time
#11
P.S. I've downloaded the codec.
05/22/2008 (5:28 am)
The converer is perfect, at least windows media player plays the sound, but no view, and then I try to add the video to torque (guiTheoraCtrl), I get an error and TGE turns off.P.S. I've downloaded the codec.
Associate Rene Damm