Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
moviepycreategif.py
from moviepy.editor import VideoFileClip, clips_array, vfx
clip = (VideoFileClip("cat1.mp4")
.subclip(1,5)
.resize(0.5))
clip.write_gif("cats can be friendly.gif")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment