[solved] MovieStim and Psycho backend problem
I have to display a video file in an experiment builded in Psycho. Since the media_player_vlc plug-in does not work on Psycho, I'm trying to display the movie by the PsychoPy commands. However, something goes wrong. This simple code:
from psychopy import visual mov = visual.MovieStim(exp.window, 'C:/Users/Andrea/Desktop/Movie.avi') mov.draw() exp.window.flip()
produces the following error:
inline_script (prepare phase)
File "dist\psychopy\visual.py", line 3816, in __init__
AttributeError: 'NoneType' object has no attribute 'width'
and in the debug window:
File "dist\libopensesame\inline_script.py", line 111, in prepare File "<string>", line 3, in <module> File "dist\psychopy\visual.py", line 3816, in __init__ AttributeError: 'NoneType' object has no attribute 'width'
I use a PC with Windows 7 64 bit. From the PsychoPy group I read that avbin.dll generates some problems on 64 bit Windows machines, but as far as I know this problem should be solved now.