📅  最后修改于: 2022-03-11 14:45:27.673000             🧑  作者: Mango
# 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 + ')