# Movie loop psychopy error 3221225477

**URL:** <https://discourse.psychopy.org/t/movie-loop-psychopy-error-3221225477/48006>\
**Category:** Builder\
**Tags:** randomization, movies\
**Created:** [September 29, 2026, 11:21am UTC](https://discourse.psychopy.org/t/movie-loop-psychopy-error-3221225477/48006 "2026-09-29T11:21:02Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 30, 2026, 12:48pm UTC](https://discourse.psychopy.org/t/movie-loop-psychopy-error-3221225477/48006/6 "2026-09-30T12:48:30Z")

</div>

Do you have duplication of a routine name?

> [@Experiment ended with exit code 3221225477](https://discourse.psychopy.org/t/experiment-ended-with-exit-code-3221225477/37789):
>
> Hi, I have a psychopy code including 3 taks first audio stimuli then only video stimuli and then audiovisual stimuli, all followed by 2 second fixation cross, which run fine after each other in the first loop but at the second loop where i change the stimuli for each, it just exits with Experiment ended with exit code 3221225477 after running audio and in the beginning of video only. I also tried in pairs and audio+only video works, audio+audivisual works , video+audiovisual works , only with a…

> [@Movie loop crash after a few trials](https://discourse.psychopy.org/t/movie-loop-crash-after-a-few-trials/43293):
>
> Hi! I want to add a video component to a routine, where multiple trials are loaded in a loop, with each trial loading a different video. The issue is that when the loop reaches the 4th trial, the program crashes and outputs exit code ‘3221225477’. Does anyone know what might be causing this?

---

_[View the full topic](https://discourse.psychopy.org/t/movie-loop-psychopy-error-3221225477/48006)._
