View Single Post
  #1  
Old 03-11-2009, 02:56 AM
mustufahaider mustufahaider is offline
Member
 
Join Date: Mar 2009
Location: in Student Housing King Saud Univ
Posts: 6
Send a message via Skype™ to mustufahaider
How can we add movie file to Vizard program.

I have added a movie in the format of mpg. but only sound is coming and an error was there :

Warning: TextureRectangle::apply(..) failed, texture rectangle is not support by your OpenGL drivers.

I have wriiten this code for adding movie:
if key == 'm':
mymovie = viz.add('sami1.mpg')
mymovie.loop(viz.ON)
mymovie.play()
screen.texture(mymovie)

I have a file sami1.mpg in its resource folder.
Please tell me the possible solutions.

Thanx in advance.
Reply With Quote