# Solution for looping movie files?

**URL:** <https://discourse.psychopy.org/t/solution-for-looping-movie-files/5338>\
**Category:** Builder\
**Created:** [September 17, 2018, 3:05pm UTC](https://discourse.psychopy.org/t/solution-for-looping-movie-files/5338 "2018-09-17T15:05:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shirley\_Liu](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@Shirley\_Liu](https://discourse.psychopy.org/u/Shirley_Liu)\
**Post date:** [September 17, 2018, 3:05pm UTC](https://discourse.psychopy.org/t/solution-for-looping-movie-files/5338/1 "2018-09-17T15:05:27Z")

</div>

Hi I am using a windows psychopy 1.92 standalone version  
The stimuli are movie files (.gif) and a rating scale appears concurrently at the bottom. I used moviepy in the “movie” component. The problem is that it doesn’t loop. My gif files loop forever. I tried to set the duration. It only works when I get rid of the ratingscale. I also tried to convert gif to a different movie format but still doesn’t work.

Any help will be greatly appreciated! Thanks.

---

<div class="post-metadata">

**Author:** ![Jon1](https://avatars.discourse-cdn.com/v4/letter/j/47e85d/32.png) [@Jon1](https://discourse.psychopy.org/u/Jon1)\
**Post date:** [September 18, 2018, 7:51pm UTC](https://discourse.psychopy.org/t/solution-for-looping-movie-files/5338/2 "2018-09-18T19:51:56Z")

</div>

Could you post some code? it’s difficult to help without seeing what you’ve done.
