添加图片水印
ffmpeg -i test11.mp4 -i water.jpg -i water.jpg -filter_complex "[1:v]scale=110:100[s];[0:v][s]overlay=5:5[vo]2:v]scale=110:100[s2];[vo][s2]overlay=x=W-w:y=5" left1.mp4
添加水印和文字及透明度
ffmpeg -threads 4 -i test11.mp4 -i water.png -i water.jpg -filter_complex "[1:v]format=yuva444p,colorchanneixer=aa=0.5[chout];[chout]scale=410:400[s];[0:v][s]overlay=5:5[vo];[2:v]scale=110:100[s2];[vo][s2]overlay=x=W-w:y=5[vo3]; [vo3]drawtext=fontfile=simhei.ttf:fontsize=48: fontcolor=black@0.9:text='Test Textxxxxxxxxxxxxxxx':x=(w-text_w)/2:y=(h-text_h)/2" left1.mp4