赞
踩
MoviePy
MoviePy (full documentation) is a Python library for video editing: cutting, concatenations, title insertions, video compositing (a.k.a. non-linear editing), video processing, and creation of custom effects. See the gallery for some examples of use.
MoviePy can read and write all the most common audio and video formats, including GIF, and runs on Windows/Mac/Linux, with Python 2.7+ and 3. Here it is in action in an IPython notebook:
Example
In this example we open a video file, select the subclip between t=50s and t=60s, add a title at the center of the screen, and write the result to a new file:
from moviepy.editor import *
video = VideoFileClip("myHolidays.mp4").subclip(50,60)
<Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。