Win10
PsychoPy 2020.2.10
In my experiment, I display several videos (in the movie component, I use Bachend- moviepy), and the following messages appear in Stdout in the Runner.
Exception ignored in: <bound method MovieStim3.__del__ of <psychopy.visual.movie3.MovieStim3 object at 0x000001BF19D80470>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py", line 499, in __del__
self._unload()
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py", line 476, in _unload
self.clearTextures()
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\basevisual.py", line 1020, in clearTextures
GL.glDeleteTextures(1, self._texID)
OSError: exception: access violation reading 0x0000000000000000
Exception ignored in: <bound method MovieStim3.__del__ of <psychopy.visual.movie3.MovieStim3 object at 0x000001BF19F29C88>>
Traceback (most recent call last):
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py", line 499, in __del__
self._unload()
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\movie3.py", line 476, in _unload
self.clearTextures()
File "C:\Program Files\PsychoPy3\lib\site-packages\psychopy\visual\basevisual.py", line 1020, in clearTextures
GL.glDeleteTextures(1, self._texID)
OSError: exception: access violation reading 0x0000000000000000
##### Experiment ended. #####
I’m new in Psychopy, so if anyone can help me to understand what is happening that would be very helpful.
When I run the experiment the videos are displayed correctly but there is a small delay (a black screen appears for several milliseconds) when I finish the Routine using
In Each Frame
if t >= exittime or t >= exittime2:
print('existing now?')
print('t',t)
continueRoutine = False
mov.stop()
print('movie stopped')
exittime = 999
exittime2 = 999
and move to the next Routine (which is another video).
Is there any way to make “this pause” smaller?
I don’t know if the problem is just the video or it could also be the sound. The sound of the movie is not really necessary for my experiment, so is it better to remove the sound? Would the experiment work better? If it won’t change anything I prefer to keep it.