创建虚拟机
新建文件夹ffmpeg-cli
添加 ffmpeg-cli box

初始化该虚拟机

启动该虚拟机

使用xshell6新建会话




Yum 安装ffmpeg
先对现有软件升级处理:
Yum update
升级系统


重启Reboot

安装Nux Dextop Yum 源
由于CentOS没有官方FFmpeg rpm软件包。但是,我们可以使用第三方YUM源(NuxDextop)完成此工作。
CentOS 7
rpm --importhttp://li.nux.ro/download/nux/RPM-GPG-KEY-nux.rosudo
rpm -Uvhhttp://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
CentOS 6
rpm --importhttp://li.nux.ro/download/nux/RPM-GPG-KEY-nux.rosudo
rpm -Uvh http://li.nux.ro/download/nux/dextop/el6/x86_64/nux-dextop-release-0-2.el6.nux.noarch.rpm
这里我们的系统为:cenos7,所以选用上面的centos7


安装FFmpeg 和 FFmpeg开发包


测试是否安装成功

更多参数

网友评论