【问题标题】:Installing ffmpeg on CentOS 6.6在 CentOS 6.6 上安装 ffmpeg
【发布时间】:2016-01-27 14:54:27
【问题描述】:

我正在尝试安装 ffmpeg,.. 当我写命令时:

git clone --depth 1 http://source.ffmpeg.org/git/ffmpeg.git

我收到此错误.. 为什么?

在中初始化空的 Git 存储库 /root/ffmpeg_sources/ffmpeg/ffmpeg/.git/ 致命:愚蠢的http传输 不支持 --depth

从此来源安装.. https://trac.ffmpeg.org/wiki/CompilationGuide/Centos

【问题讨论】:

  • 此问题已在 wiki 上得到修复。 git repo URL 已更改,但 --depth 未删除。另外,请考虑接受 Bret 的回答,因为它为您问题中的特定问题提供了可行的解决方案。

标签: ffmpeg


【解决方案1】:

这是因为“哑”http 协议不支持使用 --depth 标签。你需要使用git://:

git clone --depth 1 git://source.ffmpeg.org/ffmpeg

更多信息here。

【讨论】:

  • 谢谢。但现在我有另一个错误。当写下一个命令。错误如下:-bash: .configure/: No such file or directory
  • 您确定您在正确的目录中吗?我在 git 项目的根目录中看到了一个 configure 文件,但终端的输出声称它不存在。
  • 谢谢,已经完成了.. 但是很多警告和不推荐使用的功能.. 希望它会起作用..
  • 您对从源代码构建有特定要求吗?可以使用yum安装ffmpeg:chrisjean.com/install-ffmpeg-and-ffmpeg-php-on-centos-easily
  • 已经安装了..但是缺少ffprobe..如何安装??
猜你喜欢
  • 2015-04-13
  • 2015-08-01
  • 2016-10-11
  • 2016-02-26
  • 2015-10-17
  • 1970-01-01
  • 1970-01-01
  • 2016-03-05
  • 1970-01-01
相关资源
最近更新 更多