Wintermute Engine Forum
Wintermute Engine => Technical forum => Topic started by: AndyT on July 14, 2013, 10:53:42 AM
-
Hi to all,
i have weird problem - i am trying to play video from the entity, f.e.
var Video = Scene.CreateEntity();
Video.X = 50;
Video.Y = 70;
Video.Scale = 50;
Video.PlayTheora("Videos\pokus.ogv");
The playback runs (somewhere), but only audio is playing, i can´t see the video anywhere :(
I don´t understand it at all...
Could anyone guess what the problem can be?
The Game.PlayTheora works ok...
Thanks a lot...
-
One thing to check on, are you using the main layer when showing the video ?
Another way to test would be to attach the video to a scene entity rather than an entity created on the fly
-
Yes, i have tried both, if i create sprite or region entity on the main layer, still the same result, i hear only audio, but no video... Drives me crazy...
-
Dude, I think I got the Solution for you.
Make sure that the resolution of the video is a multiple of 16. ( eg. if you need 120x120, make it 128x128 ( simply add some transparency )) . That personally solved all my troubles I had with theora entitys some time ago ;)
Greets,
Spellbreaker
-
OK i´ve sorted it out, just to let you know guys how stupid i am, i had the previous scene faded out manually and i forgot to fade in the current scene ;D
Sorry for wasting your time and thanks for all the advices...
-
(http://i342.photobucket.com/albums/o409/hiwatt72/bth_homer-simpson-doh_zps74e3ecce.jpg)
;) Shit happens ;)