如何在CentOS 6上安装ffmpeg [英] How to install ffmpeg on CentOS 6
本文介绍了如何在CentOS 6上安装ffmpeg的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我已经尝试安装ffmpeg 2天了,没有运气.我在YouTube上尝试了无数视频,但在Google上却一步步走运,没有运气.任何帮助都会很棒.
I have been trying to install ffmpeg for 2 days now and had no luck. I have tried countless videos on youtube, step by steps on google with no luck. Any help would be great.
我有一台Centos 6服务器.
是的,我在Mac的终端中使用root ssh.
我尝试过的命令是:
I have a Centos 6 server.
Yes I am using root ssh in terminal on mac.
Commands I tried are:
-
wget http://mirror.ffmpeginstaller.com/old/scripts/ffmpeg8/ffmpeginstaller.8.0.tar.gz
-
tar -xvzf ffmpeginstaller.8.0.tar.gz
-
cd ffmpeginstaller.8.0
-
./install.sh
推荐答案
静态构建
最简单的方法是下载已经编译的最新版本.
Static build
Easiest method is to download a recent version that is already compiled.
- 从 https://www.johnvansickle下载静态构建的
ffmpeg
.com/ffmpeg/ - 解压缩刚从上述站点下载的存档文件
- (可选)将
ffmpeg
文件复制或移动到/usr/local/bin
- Download a static build of
ffmpeg
from https://www.johnvansickle.com/ffmpeg/ - Extract the archive file you just downloaded from the above site
- (optional) Copy or move the
ffmpeg
file into/usr/local/bin
编译
如果您希望进行自定义构建,则可以进行编译.参见 FFmpeg Wiki:在CentOS上编译FFmpeg .
这篇关于如何在CentOS 6上安装ffmpeg的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文