AVI only plays in window mode

Posted By: christe

AVI only plays in window mode - 07/27/04 07:12

Hi,
i'm tring to play an avi with the following code (6.22 Com):

...
media_play("grundrisse.avi", bmpPCMovieBG, 100); // Media play
x = media_handle; // save Handle
pnlSignPCAni.visible = on; // open Movie Panel
wait(2);
while(media_playing(x)!=0)
{
wait(1); // wait for avi to end
}
...

everything works fine in engines window mode. If i run the engine in full screen the debugger returns the media_handle with 0.
Anybody knows a solution?
Posted By: christe

Re: AVI only plays in window mode - 07/27/04 18:20

I found an solution by myself. It seems that the engine doesn't like the used codec (Radius Cinepak). I used another codec and it works fine (except the worse quality of the other codec). The fact that all avis supposed to run with the engine that run under direct x seems to be very wrong...
Any comments?
Posted By: MMike

Re: AVI only plays in window mode - 07/27/04 21:34

hey i can't play any vid its annoying, no wmv, or .avi, or whatelse could it be the codek??
Posted By: BlueFire

Re: AVI only plays in window mode - 07/29/04 06:05

Only Comm or Pro can play movies.
© 2024 lite-C Forums