Answers for "how to add watermark in mp4 video using python"

1

how to watermark a video using python

ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=1500:1000" output.mp4
Posted by: Guest on April-28-2020
0

how to add watermark in mp4 video using python

# 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 + ')
Posted by: Guest on August-12-2021

Python Answers by Framework

Browse Popular Code Answers by Language