Hi!
When I try to load videos (.mp4 files at 720p HEVC with AAC audio) using visual.MovieStim, sometimes the loading fails and I get the following error message:
FFPyPlayer failed to extract metadata from the movie. Check the movie file and decoder options.
Whenever I try to use a differen decoder (moviepy or pygame) I get this error:
MovieAudioError: Movie audio playback is only supported with the ‘sdl2’ library at this time.
It doesn’t seem to be an issue with my files because the same file can sometimes load or sometimes fail.
I’m using the following line to create the stimulus:
movie = visual.MovieStim(win, video_file, size=tuple(win.size), noAudio=True)
Any help or tips are appreciated!