ffmpeg concat错误无法找到合适的输出格式 [英] ffmpeg concat error unable to find a suitable output format

查看:99
本文介绍了ffmpeg concat错误无法找到合适的输出格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将一个外部视频批量合并到多个视频中.我只是使用以下命令发布它: ffmpeg -i test.mp4 -i hello.mp4 -filter complex"[[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat = n = 2:v = 1:a = 1 [v] [a]"-map"[v]" -map"[a]" output_video.mp4

I'm trying to batch concat a outro video to multiple videos. I am just tetsing it using the following command: ffmpeg -i test.mp4 -i hello.mp4 -filter comp lex "[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat=n=2:v=1:a=1 [v] [a]" -map "[v]" -map "[a]" outpu t_video.mp4

但是我遇到以下错误:

However I get the following Error:

[NULL @ 04fc2c00]无法为'[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat =找到合适的输出格式n = 2:v = 1:a = 1 [v] [a]'[0:v:0] [0:a:0] [1:v:0] [1:a:0] concat = n = 2:v = 1:a = 1 [v] [a]:无效的参数

推荐答案

  1. -filter complex 更改为 -filter_complex
  2. 用普通的双引号(")替换智能/花式"引号.
  1. Change -filter complex to -filter_complex
  2. Replace the "smart / fancy" quotes with normal double quotes (").

这篇关于ffmpeg concat错误无法找到合适的输出格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆