If this template helps then use it. If not then just delete and start from scratch.
OS (e.g. Win10): Win10
PsychoPy version (e.g. 1.84.x): 1.85.2
Standard Standalone? (y/n) If not then what?: y
**What are you trying to achieve?: I have an experiment in which I created a loop of 10 consecutive videos (~2-5 min/each). At the middle of the experiment, the paradigm eventually crashes with a Memory Error. Using the task manager, I noticed that ffmpeg adds a new process for each new video, and when the video is finished, it keeps using ram. I have tried changing the backend to avbin or opencv, but still no luck. I have also tried to change the video units to pix, but the problem still remains. I have an i7 PC with 12GB of ram, so I guess that this is unrelated with PC specs.
Any ideas on how to solve this problem?
Thank you.
Pedro
Here is the error output:
######## Running: D:\Mindprober\NewProtocol\Paradigm_04_dec_lastrun.py ######### Traceback (most recent call last): File "C:\Folder\Paradigm_lastrun.py", line 800, in <module> depth=0.0, File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\visual\movie3.py", line 129, in __init__ self.loadMovie(self.filename) File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\psychopy\visual\movie3.py", line 189, in loadMovie jwe_tmp.audio.to_soundarray(), File "<decorator-gen-72>", line 2, in to_soundarray File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\decorators.py", line 54, in requires_duration return f(clip, *a, **k) File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\moviepy\audio\AudioClip.py", line 114, in to_soundarray chunksize=buffersize)) File "C:\Program Files (x86)\PsychoPy2\lib\site-packages\numpy\core\shape_base.py", line 237, in vstack return _nx.concatenate([atleast_2d(_m) for _m in tup], 0) MemoryError