I'm writing a tool to bulk convert MP4's into Gifs.
Right now my code is super minimal, but I notice that my gif only gets exported if I have the tempfiles="True" flag in there. If I remove this part, the output gif is nowhere to be found on my system.
from moviepy.editor import VideoFileClip
videoClip = VideoFileClip("Untitled.mp4")
videoClip.write_gif("textgifOpt.gif",program="ImageMagick", opt="optimizeplus",tempfiles="True",fuzz=3)
I'm running this on a VPS with 8GB ram, so maybe that amount is too small for the conversion? But my MP4's are only a few seconds longs (<10seconds each). So not like it's that big of a movie to convert.
Please always include your specs like we ask for in our issue templates – MoviePy version, platform used etc. – to help pinpoint what causes your problem, thanks.
Hi,
I'm writing a tool to bulk convert MP4's into Gifs.
Right now my code is super minimal, but I notice that my gif only gets exported if I have the tempfiles="True" flag in there. If I remove this part, the output gif is nowhere to be found on my system.
I'm running this on a VPS with 8GB ram, so maybe that amount is too small for the conversion? But my MP4's are only a few seconds longs (<10seconds each). So not like it's that big of a movie to convert.