Convert Video to Gif with 3 Lines of Code in Python
To create a video to gif converter, this is all the code you need:
from moviepy.editor import VideoFileClip
from tkinter.filedialog import *
video_file = askopenfilename()
clip = VideoFileClip(video_file)
clip.write_gif("ouput.gif", fps=10)
Detailed...
artturijalli.hashnode.dev2 min read