Game Development Community

Theora problems

by Andrew Edmonds · in Torque Game Engine Advanced · 11/26/2007 (9:33 am) · 5 replies

Hi all,

I have just made all the changes in the Theora support resource here. Rather than post my problem in the resource I thought it better to start a new thread here.

It all compiles fine. However, when I play my video I can hear the audio, but I get no video. So I tried it with a test theora file downloaded from the internet and again I get no video (although this file has no audio).

The console seems fairly happy with what is going on:

==>theo.setfile("epoch/client/ui/320x240.ogg");
TheoraTexture - Loading file 'epoch/client/ui/320x240.ogg'
   Ogg logical stream 3d912a08 is Theora 320x240 30.00 fps video
      - Frame content is 320x240 with offset (0,0).

Any suggestions?

Thanks as always...

About the author

Formed in 2005, EiKON Games is an indie games development project based in the UK working on the tactical first person shooter "Epoch: Incursion". See the Join Us or Contact Us pages at http://www.eikon-games.com/


#1
11/26/2007 (10:40 am)
Is the .gui file executed and the GuiControl activated?
#2
11/26/2007 (11:06 am)
Hi Stefan,

Yes - the guicontrol is pushed to the canvas (my canvas goes black), then when I set the file (when I use my own video with sound) the black screen actually disappears and it goes back to the previous gui (mainmenugui) whilst playing the audio of the theora file. Once it is finished the screen goes black again (back to the GuiTheoraCtrl).

The same thing happens (black screen -> main menu -> back to black screen) for the duration of the test (320x240.ogg) file I downloaded...
#3
11/26/2007 (11:12 am)
I've posted a .gui file and a link to a working .ogg video in this thread. Maybe it helps.
#4
11/26/2007 (11:34 am)
Hi Stefan,

Thanks for the quick replies.. How did I miss that thread? Been searching the forums for a while now!

Anyway, did a test and the same thing is happening... I guess it's time to go back through the code again and double check everything...

I'll post the outcome here.

Thanks again.
#5
11/27/2007 (5:48 am)
Nope - still nothing. I used the drum ogg file you posted in the other thread. Got audio, still no video...