mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-30 15:31:10 +00:00
10 lines
265 B
Python
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")
|