Delay between video and sound in psychopy

Hello, I am using moviestim3 with ptb as audiolib, and ffpyplayer for movielib. When I am playing 1080p videos at 60fps, there is a significative lag between the video and the sound of the video (sound is late). Did anyone who had this issue manage to fix it? I’m on Windows and psychopy 2022.2.5

Also in general playing sounds comes with a delay.

I managed to reduce the delay by loading the video in an earlier ISI static period, and/or by starting the movie after the routine has started.

I load the video more or less by itself, whether I start the video earlier or not the sound of the video still starts later than the video which leads to desynchronised audio with video :frowning: