Created video2gif python file.

This commit is contained in:
Aditya Tiwari 2022-10-02 16:36:39 +05:30 committed by GitHub
parent 352860f1ac
commit b8173430dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,9 @@
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")