📜  从 python 代码示例中的图像制作 gif

📅  最后修改于: 2022-03-11 14:47:15.328000             🧑  作者: Mango

代码示例2
from moviepy.editor import *

clip = (VideoFileClip("video.mp4")
        .subclip((1,22.65),(1,23.2))
        .resize(0.3))
clip.write_gif("video.gif")