mirror of
https://github.com/metafy-social/python-scripts.git
synced 2024-11-23 20:11:10 +00:00
Created video2gif python file.
This commit is contained in:
parent
352860f1ac
commit
b8173430dd
9
scripts/video-to-gif/video2gif.py
Normal file
9
scripts/video-to-gif/video2gif.py
Normal 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")
|
Loading…
Reference in New Issue
Block a user