centos在线安装ffmpeg
简介:
跨平台解决方案,用于记录,转换和流式传输音频和视频
挂载yum源
https://rpmfusion.org/Configuration
RHEL 7 or compatible like CentOS:
yum localinstall --nogpgcheck https://download1.rpmfusion.org/free/el/rpmfusion-free-release-7.noarch.rpm https://download1.rpmfusion.org/nonfree/el/rpmfusion-nonfree-release-7.noarch.rpm
更新缓存及安装
yum makecache fast
yum install -y ffmpeg
注意:如果按照中报错,请存在centos-base/epel的yum源
ffmpeg -h //查看帮助命令