Can't Play Video (please help...)
by Juan Krista Priguna · in General Discussion · 11/29/2011 (5:27 am) · 0 replies
I am making a game by using TGE Demo Version.. The problem is I can't play the video that I wanna play.. Here is the program chunk:
Console says:
<quote>TheoraPlayer::parseHeaders - Error parsing Theora stream headers; corrupt stream? (failed to decode)
TheoraTexture::setFile - Failed to parse Ogg headers</quote>
In addition, I have tried playing videos with ogg format converted by VLC Media Player 0.8.0 (my friend said I should use either 0.8.0 or 0.8.5 because the version of my TGE was old), but all the attempts were zero.. I think the problem lies in the format of the file..
Can anyone help me? Thanks.. :)
new GuiTheoraCtrl(openingVideo) {
canSaveDynamicFields = "0";
Profile = "GuiDefaultProfile";
HorizSizing = "relative";
VertSizing = "relative";
position = "0 0";
Extent = "800 600";
MinExtent = "8 2";
canSave = "1";
Visible = "1";
hovertime = "1000";
done = "0";
stopOnSleep = "1";
backgroundColor = "0 0 0 0";
theoraFile = "mod/data/video/Catholic.ogv";
};Console says:
<quote>TheoraPlayer::parseHeaders - Error parsing Theora stream headers; corrupt stream? (failed to decode)
TheoraTexture::setFile - Failed to parse Ogg headers</quote>
In addition, I have tried playing videos with ogg format converted by VLC Media Player 0.8.0 (my friend said I should use either 0.8.0 or 0.8.5 because the version of my TGE was old), but all the attempts were zero.. I think the problem lies in the format of the file..
Can anyone help me? Thanks.. :)