它不是python库,但mencoder可以做到: Encoding from multiple input image files . 您可以从python中执行mencoder,如下所示:
import os os.system("mencoder ...")