Open h2okay opened 2 years ago
Using moviepy as backend (PsychoPy 2022.1.4):
If the pause() function is called while a .mp4 video is playing, only the sound/audio is paused.
When resuming the video via play(), sound is played again, with correct timing (i.e. with pause(), audio is rather muted than paused.)
Code to call pause() function while .mp4 is playing:
keys = event.getKeys() if 'space' in keys: if moviestim.status == 1: moviestim.pause() elif moviestim.status == 2: moviestim.play()
@h2okay could you tell us which MovieStim/backend you're using here? There are multiple options
@peircej its in the first sentence! :) Backend: moviepy
lol, OK
Using moviepy as backend (PsychoPy 2022.1.4):
If the pause() function is called while a .mp4 video is playing, only the sound/audio is paused.
When resuming the video via play(), sound is played again, with correct timing (i.e. with pause(), audio is rather muted than paused.)
Code to call pause() function while .mp4 is playing: