moviepy库安装
pip install moviepy
音频视频合并
from moviepy.editor import *
video = VideoFileClip(<视频路径>)
audio = AudioFileClip(<音频路径>)
video = video.set_audio(audio)
video.write_videofile(<文件名称>)
标签:moviepy,set,videofile,Python,电影,video,audio
来源: https://www.cnblogs.com/Treelight/p/15862701.html