视频加Logo
在视频角落叠加 Logo/水印图片,支持透明 PNG。不支持纯文字水印和自由定位。
meitu video-logo-add
使用示例
# 场景一:默认右上角(仅必填参数)
meitu video-logo-add \
--video_url ./sample.mp4 \
--logo_url ./logo.png \
--json
# 场景二:指定位置
meitu video-logo-add \
--video_url ./sample.mp4 \
--logo_url ./logo.png \
--position bottom-right \
--json
# 场景三:完整参数 + 下载结果
meitu video-logo-add \
--video_url ./sample.mp4 \
--logo_url ./logo.png \
--position top-left \
--json \
--download-dir ./output参数说明
| 参数 | 必需 | 说明 |
|---|---|---|
--video_url | 是 | 类型:string;需要加 Logo 的视频 |
--logo_url | 是 | 别名:--logo;类型:string;Logo/水印图片 URL(支持透明 PNG) |
--position | 否 | 类型:string;默认:top-right;可选:top-left / top-right / bottom-left / bottom-right |
--download-dir | 否 | 类型:string;将结果文件下载到指定本地目录 |
--output | 否 | 类型:string[];指定输出文件路径,按 data.result.urls 顺序映射 |
--json | 否 | 以 JSON 格式输出结果,便于脚本或 Agent 解析 |