2015-05-03 56 views

回答

0

嘗試用MoviePy:

import moviepy.editor as mpy 
clip = mpy.ImageSequenceClip("some/folder/with/images", fps=10) 
audio = (mpy.AudioFileClip("some_audio_file.mp3") # or any other format 
      .set_duration(clip.duration)) 
clip.audio = audio 
clip.write_videofile("my_video.mp4") # or any other format 
相關問題