Convert Video File to Gif File using Python

mahabub.devs3
Mahabubur Rahman
Published on Oct, 16 2024 1 min read 0 comments
image

 

pip install moviepy

 

from moviepy.editor import *
video = VideoFileClip("myvideo.mp4")
video.write_gif("mygif.gif")

 

 

0 Comments