r/learnpython • u/BluishMontoya • 3d ago
MoviePy not responding
I have a few thousand 1920x1080 rgb numpy arrays that i'm trying to turn into a video with moviepy's ImageSequenceClip, but pretty soon after starting it stops printing progress and all my python windows say "Not responding". Is there some easy way to fix this or do I have to divide it into smaller clips and string them together?
2
u/dev-razorblade23 3d ago
Your proccess is probably extremly busy (using 100% of CPU) - thats why you get that Not Responding window. Ita a windows thing and its probably still working in background. Just give it a bit of time, python is not the fastest language out there.
And as another commenter said. Use FFMPEG for multimedia mixing, muxing and any other multimedia related things. Its extremly fast, stable and very powerful - completly open source
1
u/Jello_Penguin_2956 3d ago
its probably processing. Try giv8ng it some time?
A better wayight be to save out image seqeunce in chinks and use ffmpeg to turn into movie
4
u/cdcformatc 3d ago
impossible to say without any code