- from moviepy.editor import *
-
- mv=VideoFileClip('/home/Download/leaves.mp4')
-
- mv.save_frame('/home/Download/fst.jpg') # 默认保存截取的第1帧画面
- from moviepy.editor import *
-
- mv=VideoFileClip('/home/Download/leaves.mp4')
-
- #mv.save_frame('/home/Download/fst.jpg',t=5) # 保存截取第5秒的画面