moviepy图片合成视频

from moviepy.editor import *

if __name__ == '__main__':
    clip = ImageSequenceClip(['1.jpg', '2.jpg'], fps=1)
    clip.write_videofile('3.mp4')

你可能感兴趣的:(python,moviepy)