【发布时间】:2021-06-27 10:49:14
【问题描述】:
当我在视频上添加图像但我的图像在 ffmpeg android studio 中的右侧被截断时,如何给图像宽度?
[1]:https://i.stack.imgur.com/Y21Si.jpg
下面是我的命令:
- 字符串命令 = "-i '" + uri.toString() + "'" + " -i '" + layer.getAbsolutePath() + "'" + " -filter_complex "[0:v][1:v]overlay="+getX+":"+getY+"[outVideo],[0:a]volume=1:[audio0]" -map [outVideo] -map [audio0]" + "'" + mDestinationPath + "'";
【问题讨论】:
标签: java android android-studio ffmpeg android-ffmpeg