psychopy.org | Reference | Downloads | Github

Is there a way to loop a movie so it looks seamless?

If this template helps then use it. If not then just delete and start from scratch.

OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 1.90.3
Standard Standalone? (y/n) If not then what?: no.
installed with Anaconda using environment file and pip.

What are you trying to achieve?:
looping an AVI, but making it look seamless when the movie starts over.

What did you try to make it work?:

movie = visual.MovieStim3(
    win=win, name='movie',
    noAudio = False,
    filename='C:\\Experiments\\EOD\\AVIs\\short-clip1.avi',
    ori=0, pos=(0, 0), opacity=1,
    depth=0.0,
    )
# ------Prepare to start Routine "trial"-------
t = 0
trialClock.reset()  # clock
frameN = -1
continueRoutine = True
# update component parameters for each repeat
movie.loop=True

What specifically went wrong when you tried that?:
Include pasted full error message if possible. “That didn’t work” is not enough information.

The movie plays fine, it’s just that there is a short freeze on the last frame before it starts up again, probably from closing/opening the AVI file.

Looking at this a little more, this may not be an issue after all. On another machine, with perhaps a faster drive, I’m not seeing the delay.