WinPython missing avbin.dll
Hello users,
Thank you in advance for your help. I know others have asked this question, but I've not found any solutions.
I am struggling to install avbin 5 correctly on my windows 7, 64-bit machine. I am using the WinPython-PyGaze package.
I've downloaded "avbin-win32-2" and placed "avbin.dll" in:
C:\Windows\System32
C:\Python27\DLLs
C:\Windows\System
But, whenever I run: mov = MovieStim(win, stimList[0], flipVert=False)
I get: "IOError: Caught exception 'Unsupported RIFF form "AVI "' "
I had also installed AVBin 10 previously, so there are also some copies of "avbin64.dll" floating around, as well.
Happy to provide more info. Any advice you can share would be appreciated.
- someGuy
Comments
Hi someGuy,
avbin is a project which has not been maintained for a long while, so I recommend you to not use it anymore. I've also tried to get things to work with avbin multiple times in the past, but I never succeeded. There are quite a few good alternatives though. What is your aim, to simply play movies in OpenSesame? Or do you want them to specifically work in psychopy?
Both OpenSesame and psychopy make use of moviepy for playing movies (which in the background simply calls ffmpeg, which you've probabaly have heard about). In the recent versions of psychopy, you can use MovieStim3, and in OpenSesame you can use the movie_player_mpy item to play videos.
I hope this helps somewhat, but if it doesn't it would be better if you more elaborately describe what you are trying to achieve.
Hi Daniel,
Thanks for the careful explanation. I appreciate the info (obviously still learning).
I intend to use psychopy/pygaze to present video stimuli, in concert with pylink to collect eye-tracking information.
I have since switched to running this on Ubuntu 16.04 (32 bit) and I've actually gotten past this particular problem. But, the movie that is displayed is slanted in one direction (both .avi's and .mp4's).
I am happy to adopt a better approach. Can you point me to any examples using MovieStim3, by chance?
Examples of MovieStim3 are hard to find, but the module should have the same interface as the other MovieStim variants. You should thus be able to use the same API. If you insist on seeing an example, you're better off asking at the psychopy forum (http://discourse.psychopy.org/). I can't really provide you with one as I have never worked with MovieStim3 myself.
Thanks again, Daniel!