【问题标题】:Unable to find a suitable output format for "-i ... "无法为“-i ...”找到合适的输出格式
【发布时间】:2018-06-29 04:05:03
【问题描述】:

我正在使用 writemind 的 ffmpeg 模块(运行 ffmpeg v3.0.2) http://writingminds.github.io/ffmpeg-android-java/

但是我在执行命令时遇到了跟随错误

[NULL @ 0xe93aa000] 无法为 ' -i 找到合适的输出格式 “/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/video_recording.mp4” -i "/storage/emulated/0/Download/132859_aac-group-2.mp4" -c:v copy -filter_complex '[1:a] adelay=2500|2500 [延迟]; [0:a] [延迟] amix [out]' -map 0:v -map '[out]' “/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/mixed_test2.mp4” -i "/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/video_recording.mp4" -i "/storage/emulated/0/Download/132859_aac-group-2.mp4" -c:v copy -filter_complex '[1:a] adelay=2500|2500 [延迟]; [0:a] [延迟] amix [out]' -map 0:v -map '[out]' “/storage/emulated/0/Android/data/com.charaku.popsical.tv/cache/mixed_test2.mp4”: 无效参数

该命令应该将一个视频文件的音频与另一个音频文件的音频混合以产生一个新的视频文件。

【问题讨论】:

    标签: android ffmpeg


    【解决方案1】:

    按照此链接中的建议可以通过此错误 FFmpeg error Output file #0 does not contain any stream

    基本上将每个参数放在自己的数组元素中

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2015-12-19
      • 2019-06-21
      • 1970-01-01
      • 2019-03-24
      • 2014-07-04
      • 2016-12-11
      相关资源
      最近更新 更多