diff --git a/scripts/video-to-gif/requirements.md b/scripts/video-to-gif/requirements.md new file mode 100644 index 0000000..b25c386 --- /dev/null +++ b/scripts/video-to-gif/requirements.md @@ -0,0 +1,3 @@ +Module used : ```moviepy``` and ```videofileclip``` + +You can learn more about the moviepy module on their official website. https://zulko.github.io/moviepy/ diff --git a/scripts/video-to-gif/video2gif.py b/scripts/video-to-gif/video2gif.py new file mode 100644 index 0000000..df7f5e1 --- /dev/null +++ b/scripts/video-to-gif/video2gif.py @@ -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")