呵呵哈哈嘿嘿
呵呵哈哈嘿嘿
  • 发布:2020-06-23 11:24
  • 更新:2020-06-23 11:25
  • 阅读:694

#插件讨论# 【 FFmpeg集成 - 819589789@qq.com 】请问怎么给图片加水印?

分类:uni-app

怎么给图片加水印

2020-06-23 11:24 负责人:无 分享
已邀请:
呵呵哈哈嘿嘿

呵呵哈哈嘿嘿 (作者)

ffmpeg -i '+tempFilePaths+' -vf "drawtext=fontfile=simsunb.ttf:text=\'中文\':x=w-100:y=100:fontsize=24:fontcolor=red@0.5:shadowy=2" /storage/emulated/0/1/output.png

我这么一放就闪退

  • 8***@qq.com

    ffmpeg -y -i /storage/emulated/0/1/result0501.jpg -i /storage/emulated/0/1/logo.png -filter_complex [0:v]scale=iw:ih[outv0];[1:0]scale=0.0:0.0[outv1];[outv0][outv1]overlay=0:0 -preset superfast /storage/emulated/0/1/result0623.jpg

    用图片添加,

    2020-06-23 13:50

该问题目前已经被锁定, 无法添加新回复