1.安装moviepy基本包
2.代码
from moviepy.editorimport *
clip = (VideoFileClip("E:\\嗨格式录屏文件\\1.mp4")
.resize(0.1))
clip.write_gif("E:\\嗨格式录屏文件\\1.gif")
3.结果
1.安装moviepy基本包
2.代码
from moviepy.editorimport *
clip = (VideoFileClip("E:\\嗨格式录屏文件\\1.mp4")
.resize(0.1))
clip.write_gif("E:\\嗨格式录屏文件\\1.gif")
3.结果