Playing .avi files

Blitz3D Forums/Blitz3D Beginners Area/Playing .avi files

Amanda Dearheart(Posted 2004) [#1]
Anybody know whcih command I use to play .avi files, or does Blitz support palying any movie or animation file.


Rimmsy(Posted 2004) [#2]
f=openmovie("example.avi")

while movieplaying(f)
   DrawMovie f    ;,[x,y][,width,height]
wend

closemovie(f)
flip

and from the help files:

Movie support relies on DirectShow, so you will need to ensure the correct drivers are installed. This command will open GIFs as well as AVI and MPEG movie files




Amanda Dearheart(Posted 2004) [#3]
Thanks Rimis,
Is this a Blitz3D command, or a DirectX API?


scribbla(Posted 2004) [#4]
try this link

http://blitzbasic.com/b3ddocs/command.php?name=OpenMovie&ref=2d_cat#comments


Amanda Dearheart(Posted 2004) [#5]
Thanks tiler, or should I call you Dave?


scribbla(Posted 2004) [#6]
probably tiler...then i know you mean me,theres that many Daves about were every where :)


_PJ_(Posted 2004) [#7]
-Edit- forget it - I'm goin mad!