psychopy.org | Reference | Downloads | Github

Movie runs too fast while audio is lagged behind

sound
movies
#1

OS. (Win10):
PsychoPy version (e.g. 1.83.04):
Standard Standalone? (y/n) Y?

What are you trying to achieve?: We are trying to run a movie (.mp4) through the GUI. When opencv is selected as the backend, there is both audio and video but they do not match, the video speed is too fast while the audio seems to play at a normal speed. When
avbin is selected as the backend, the video plays at normal speed but there is no audio.

What did you try to make it work?: We tried different movies but it doesn’t change anything.

This is the error message after the entire initial clip was finished.
23.4198 WARNING MovieStim2 dropping video frame index: 2
88.3038 WARNING MovieStim2 dropping video frame index: 3883
192.8225 WARNING MovieStim2 dropping video frame index: 10148
258.2579 WARNING MovieStim2 dropping video frame index: 14070
No accelerated IMDCT transform found

Any suggestions? Thanks

#2

I have the same issue! any help would be great!
I put other videos in my codec and they run finely but the video I would like to run is faster than normal.

Thanks

#3

I’m having the same issue since running my script on a Mac, which I don’t have when I run on a Windows PC.

Did either of you ever resolve this issue?