【问题标题】:Image overlay fails using FFMPEG4Android使用 FFMPEG4Android 时图像叠加失败
【发布时间】:2016-01-21 00:57:22
【问题描述】:

我正在尝试使用 FFMPEG4Android 为视频添加水印。 我正在使用来自here 的android 市场上的应用程序。

使用的命令是

ffmpeg -i /sdcard/videokit/in.mp4 -i /sdcard/videokit/logos/1.png -i /sdcard/videokit/logos/2.png -i /logos/3.png -filter_complex “[0:v][1:v] 覆盖=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,0,1)' [tmp]; [tmp][2:v] 覆盖=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,2,3)' [tmp2]; [tmp2][3:v] 覆盖=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,4,5)'" /sdcard/videokit/output.mp4

但每次我运行命令时,应用程序都会失败

打开一个输出文件: 覆盖=main_w-overlay_w-10:main_h-overlay_h-10:enable='between(t,0,1)'。 没有这样的过滤器:'' 配置过滤器时出错。退出程序:1

我可以得到任何帮助吗?

【问题讨论】:

    标签: android ffmpeg


    【解决方案1】:

    你需要使用复杂的命令,查看ffmpeg4android博客的例子

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-03-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多