Game Development Community

Theora Problem

by Alexandre Ribeiro de Sa · in Torque Game Builder · 10/22/2007 (11:16 am) · 4 replies

Hi, I have a BIG problem here with theora player... I like to play a intro movie, but the movie is too slow and return this error...

MagicalTrevor::advancetime - no last occurrence for buffer 42532552 found!
MagicalTrevor::advancetime - no last occurrence for buffer 242943312 found!
MagicalTrevor::advancetime - no last occurrence for buffer 242943424 found!
MagicalTrevor::advancetime - no last occurrence for buffer 242943872 found!
MagicalTrevor::advancetime - no last occurrence for buffer 42470200 found!
MagicalTrevor::advancetime - no last occurrence for buffer 42529584 found!
MagicalTrevor::advancetime - no last occurrence for buffer 42530648 found!
MagicalTrevor::advancetime - no last occurrence for buffer 42531712 found!
MagicalTrevor::advancetime - no last occurrence for buffer 42532160 found!

to play the movie I created the Theora gui with the TheoraPlayer name and to play TheoraPlayer.setFile("filename.ogg");


Thanks for the help
Alexandre

#1
10/23/2007 (3:11 am)
Are you sure the Theora file is without errors?

---
www.nebulagame.com
#2
04/18/2008 (8:31 am)
Hi Alexandre.

i am working on video files like u ;)

first i convert some sample video (clip on my hdd) to ogg and it is work fine and either capture video from my mobilePhone and convert them and they work fine too . but for my game i should use another camera . its video format is avi and when i convert and use them get errors like u . and it isnt related to size of the video and fps ( i tested it )
i think it is because of the first format of the video ! i think we should convert them to another format and then convert them to ogg .

i use GFrontend (This is a simple frontend ( GUI ) for the ffmpeg2theora encoder ) to convert files to ogg .
i am working on this subject and if i found the best result i say them here for other ... :)

at last i have a question :
i can convert videos to ogg and ogm and both work in tgb . whats different between these formats ??

if some one founded anything in this subject plz say it . i really nead information on this subject .

sry for bad english ;)
#3
04/18/2008 (4:18 pm)
OK . i have solved it !
just disable sound when convert ur videos ;-) . i do not need sound in my game but in general you can separate ur video and sound and play them together ...
another problem with play video (that includes sound) is that if u play a video after playing another u see a white screen first and after about a second the video plays with a lot of lag ! ... ( is it a bug ??! )
#4
04/18/2008 (6:37 pm)
I see the same behavior but have not found the cause yet. On a variety of movie files also, not isolated to one.