Video won't play on big sur using Safari and file load error in chrome

Hi Thomas,

Thanks so much for getting back to me so quickly! I

I’ve finally been able to sort out a minimal failing example and generate a new code from the builder from the version 2021.1.4. My videos are created in an .mp4 container using AAC H.264 codecs.

For clarity, I am currently using sounddevice and pygame as backend preferences; this is because moviepy created a constant buzzing sound making it impossible to understand the sound. When running the task in psychopy locally the audio video is asynchronous, by this I mean that while the audio and the video each play fully, the audio is sped up a bit and finishes a few seconds prior to the video ending. I haven’t figured out a way around this and from looking it seems a similar issue has been raised before and solved on an individual basis, though I may be conflating. Audiovisual Asynchrony on Pavlovia

Thanks again SO much for your help.

I have added you as a maintainer on the project, please do let me know if I should have given you different user permission.

As a reminder here are the problems:
-on firefox: works perfectly
-on google chrome incognito: works perfectly
-on safari: loads without issue but freezes on video ie videos do not play, instead a blank screen is shown. this does not vary with changes in cache.
-on chrome: FILE_LOAD_ERROR at loading, looking at the console suggests the video is located from gitlab but fails to be downloaded.

Note: you will see I have 2 sets of 5 videos, Emovid1.mp4 (until Emovid5.mp4) and Neuvid1.mp4 (until Neuvid5.mp4). The videos vary in size with the Neuvid set being larger. This was my way of “testing” whether compressing the video had any impact. To change this just change the variable being iterated through in the video loop. Let me know if this is unclear or problematic!

Leah