Hi everyone,
I’m having an issue with a PsychoPy experiment using Movie components inside a loop.
I’m using PsychoPy Standalone 2026.1.0 on Windows.
The experiment starts normally and some videos play correctly, but after a certain number of videos, PsychoPy suddenly crashes. It does not display a Python error or traceback. The Runner only shows:
Generating PsychoPy script...
## Running: C:\Users\7robe\OneDrive - unine.ch\...\PsychoPy2\Experiment_01_lastrun.py ##
3025.6960 INFO Loaded monitor calibration from ['2026_09_17 18:28']
3025.7832 INFO Loaded monitor calibration from ['2026_09_17 18:28']
#### Experiment ended with exit code 3221225477 [pid:19152] ####
The same crash happens repeatedly, with a different PID each time:
Experiment ended with exit code 3221225477
The important point is that the videos are not all failing immediately. Some videos play successfully, and then the experiment crashes when it reaches another video in the loop.
The videos are being selected through an Excel conditions file, and the Movie component is inside a loop.
The experiment files are currently stored in a OneDrive folder.
Has anyone experienced this type of crash (3221225477 / 0xC0000005) when playing multiple videos sequentially in a PsychoPy loop?
I’m wondering whether this could be related to:
-
the Movie component/video backend,
-
specific video files or codecs,
-
loading/unloading multiple videos during the loop,
-
memory usage,
-
or another PsychoPy/Windows issue.
Any advice on how to identify what is causing the crash would be greatly appreciated.Absolutely — here is a cleaner version focused only on the current problem.
Hi everyone,
I’m having an issue with a PsychoPy experiment using Movie components inside a loop.
I’m using PsychoPy Standalone 2026.1.0 on Windows.
The experiment starts normally and some videos play correctly, but after a certain number of videos, PsychoPy suddenly crashes. It does not display a Python error or traceback. The Runner only shows:
Generating PsychoPy script...
## Running: C:\Users\7robe\OneDrive - unine.ch\...\PsychoPy2\Experiment_01_lastrun.py ##
3025.6960 INFO Loaded monitor calibration from ['2026_09_17 18:28']
3025.7832 INFO Loaded monitor calibration from ['2026_09_17 18:28']
#### Experiment ended with exit code 3221225477 [pid:19152] ####
The same crash happens repeatedly, with a different PID each time:
Experiment ended with exit code 3221225477
The important point is that the videos are not all failing immediately. Some videos play successfully, and then the experiment crashes when it reaches another video in the loop.
The videos are being selected through an Excel conditions file, and the Movie component is inside a loop.
The experiment files are currently stored in a OneDrive folder.
Has anyone experienced this type of crash (3221225477 / 0xC0000005) when playing multiple videos sequentially in a PsychoPy loop?
I’m wondering whether this could be related to:
-
the Movie component/video backend,
-
specific video files or codecs,
-
loading/unloading multiple videos during the loop,
-
memory usage,
-
or another PsychoPy/Windows issue.
Any advice on how to identify what is causing the crash would be greatly appreciated.
