scenedetect + ffmpeg

· 1 minute de lecture
scenedetect + ffmpeg
scenedetect -i '.\Footissime - De Barcelone à Paris lhistoire de Neymar en Ligue des champions.mp4' -o out2/--drop-short-scenes detect-content --threshold 27.5 split-video
ffmpeg -i .\goldeneye.mp4 -i .\blur.png -filter_complex "overlay=750:60" output.mp4
ffmpeg -i input.mp4 -i watermark.png -filter_complex "overlay=1500:1000" output.mp4
import subprocess
def add_watermark(FilePath, Start, End, WatermarkImage, OutputFilePath):
    subprocess.call('ffmpeg -i ' + FilePath + ' -i ' + WatermarkImage + ' -filter_complex "overlay=' + End + ':' + Start + '" ' + OutputFilePath + ')```