ubuntu - 使用 ffmpeg ubuntu 连接两个文件时出错

标签 ubuntu ffmpeg

以下命令在 OS X 中运行良好:

ffmpeg -f concat -i videos_playlist.txt -c copy final.mkv

但是当我尝试在 ubuntu 上运行它时,我得到以下信息:
Unknown input format: 'concat'

知道我缺少什么或可能的解决方法吗?

OS X 构建:
ffmpeg version 1.2.1 Copyright (c) 2000-2013 the FFmpeg developers
built on Aug  8 2013 11:49:17 with Apple LLVM version 4.2 (clang-425.0.24) (based on LLVM 3.2svn)

Ubuntu 构建:
ffmpeg version 0.10.8-7:0.10.8-1~precise1 Copyright (c) 2000-2013 the FFmpeg developers
built on Sep  5 2013 14:56:20 with gcc 4.6.3

最佳答案

您的 ffmpeg 版本太旧了。下载最近的 Linux build of ffmpeg ,或按照步骤 guide to compile ffmpeg .

关于ubuntu - 使用 ffmpeg ubuntu 连接两个文件时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/18730669/

相关文章:

FFMPEG 同时开始 2 个视频,但隐藏一个直到另一个完成

video - H264 NAL 单元 header - 检测类型并以这种格式引入自定义视频

audio - ffmpeg HLS 多尺寸无音频

ffmpeg - 为什么 ffmpeg 错误/警告 : Past duration 0. 933205 太大?将桌面录制为视频文件时会得到很多

Apache多个本地虚拟主机

python - 为什么我的shell说: From: too many arguments

apache - 如何更改 App Engine 项目的本地文件夹?

ubuntu - Ubuntu 19.10 上的 OpenModelica

linux - 使用 Dockerfile ENTRYPOINT 找不到 exec

ffmpeg - 从 *.ts 文件生成 m3u8 播放列表