📜  如何使用python代码示例在mp4视频中添加水印

📅  最后修改于: 2022-03-11 14:45:27.673000             🧑  作者: Mango

代码示例2
# where is the python code ? :D
import subprocess
def add_watermark(FilePath, Start, End, WatermarkImage, OutputFilePath):
    subprocess.call('ffmpeg -i ' + FilePath + ' -i ' + WatermarkImage + ' -filter_complex "overlay=' + End + ':' + Start + '" ' + OutputFilePath + ')