Game Development Community

I get a white flash in my Theora video loop

by Norv Brooks · in Torque Game Engine · 03/31/2006 (8:31 pm) · 2 replies

I update my GuiTheoraCtrl.cc file with the code modification that Neil Marshall posted back on Nov. 22, 2005 and got my video clip to loop OK, but at the seam where the video loops over again, I get a white flash. Has anyone experienced this and was able to fix it?
Thanks,
Norv

#1
03/31/2006 (8:50 pm)
It's because that code modification is only a hack & not the proper way of looping a video. The white flash is because the video finishes playing, then deletes itself, then is brute forced to loop so it reinstates itself and starts playing again.

I haven't got a fix, I don't use theora for video's, had too many problems with it.
#2
04/01/2006 (8:01 am)
Tim - thanks for the info. It makes sense. It sounds like a better way would be to re-set the pointer in the .ogg file to the beginning rather than deleting and reinstating the file. Anyone had experience with manipulating the .ogg file pointer?
Thanks,
Norv