psychopy.org | Reference | Downloads | Github

Video Stimuli Error in Builder

Hello

I am working in the builder, and added a video stimuli. However, I am getting the following error message and am not sure how to interpret it.

Any idea what is going on?

Running: /Users/jwalker326/Desktop/First_Year_Project/FaceHouse_MasterCopy_lastrun.py
pyo version 0.8.0 (uses single precision)
2017-01-22 13:26:48.926 python[656:103991] ApplePersistenceIgnoreState: Existing state will not be touched. New state will be written to /var/folders/xm/nbwr06ld0dvb1ls1v6_8hkddpkngl0/T/org.psychopy.PsychoPy2.savedState
WARNING:root:Warning: could not find imageio’s ffmpeg executable:
[Errno 1] Operation not permitted: '/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/imageio/resources/ffmpeg/ffmpeg.osx’
Traceback (most recent call last):
File “/Users/jwalker326/Desktop/First_Year_Project/FaceHouse_MasterCopy_lastrun.py”, line 560, in
depth=0.0,
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/contrib/lazy_import.py”, line 120, in call
return obj(*args, **kwargs)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/visual/movie3.py”, line 124, in init
self.loadMovie(self.filename)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/psychopy/visual/movie3.py”, line 170, in loadMovie
self._mov = VideoFileClip(filename, audio=(1 - self.noAudio))
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/moviepy/video/io/VideoFileClip.py”, line 55, in init
reader = FFMPEG_VideoReader(filename, pix_fmt=pix_fmt)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/moviepy/video/io/ffmpeg_reader.py”, line 32, in init
infos = ffmpeg_parse_infos(filename, print_infos, check_duration)
File “/Applications/PsychoPy2.app/Contents/Resources/lib/python2.7/moviepy/video/io/ffmpeg_reader.py”, line 237, in ffmpeg_parse_infos
proc = sp.Popen(cmd, **popen_params)
File “subprocess.pyc”, line 711, in init
File “subprocess.pyc”, line 1343, in _execute_child
OSError: [Errno 2] No such file or directory

It looks like your video file can’t be found. Check how you are specifying the location of your video(s) and that the name and location matches where the file actually is.

The location is correct.

The issue is the line “Warning: could not find imageio’s ffmpeg executable.” Even though the ffmpeg executable is included in this version, there is still an issue. People who have had this issue in the past and have posted about it are Windows users (and I am on a Mac). Some suggested that launching as an administrator to solve the issue, so I tried launching it using the sudo command but that did not help.

The solution was to downgrade to version 1.84.0. and now everything is working.