python-scripts/scripts/video-to-gif/video2gif.py
2022-10-02 16:36:39 +05:30

10 lines
265 B
Python

from moviepy.editor import VideoFileClip
# import moviepy , videofileclip
import VideoFileClip
# replace "my-life.mp4" with your file name
videoClip = VideoFileClip("my-life.mp4")
# write whatever name you want for you gif file
videoClip.write_gif("my-life.gif")