ffmpeg concat comand错误 [英] ffmpeg concat comand error

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

问题描述

我正在尝试使用ffmpeg连接两个视频文件,并且收到错误。

I am trying to concatenate two video files using ffmpeg, and I am receiving an error.

为了消除两个视频之间的兼容性问题,我已经连接相同的视频本身,同样的错误仍然存​​在。

To eliminate compatibility issues between the two videos, I have been concatenating the same video with itself, and the same error persists.

ffmpeg -f concat -safe 0 -i intro_prepped.avi intro_prepped.avi -c copy concat.avi  

我收到的错误输出是....

And the error output I receive is....


[concat @ 0x220d420]行1:未知的关键字'RIFFf ?'
intro_prepped.avi:处理输入时发现无效的数据

[concat @ 0x220d420] Line 1: unknown keyword 'RIFFf�?' intro_prepped.avi: Invalid data found when processing input

我尝试过串联标志的各种组合,并且无法使其正常工作。有没有人看到这个错误?

I have tried various combinations of concat flags and have not been able to get it to work. Has anyone seen this error before?

推荐答案

您可以在以下链接中找到连接文件的几种方法:

You can find several ways of concatenating files in the below link:

https://trac.ffmpeg.org/wiki/Concatenate

以下是我用来连接视频的示例命令:

For your reference, below is sample command I use to concatenate videos:

ffmpeg -i "concat:input1.avi|input2.avi|input3.avi" -c:a copy -c:v copy output.avi

这篇关于ffmpeg concat comand错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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