CentOS7下安装ffmpeg4.1
作者:互联网
1、ffmpeg-4.1,下载地址:https://johnvansickle.com/ffmpeg/release-source/
2、安装编译工具
build-essential
sudo yum -y install make automake gcc gcc-c++ cc kernel-devel glibc-devel make sudo yum -y install libxml2 libxml2-devel libxslt libxslt-devel
全的安装build-essential,用下面命令:
sudo yum -y groupinstall "Development Tools" sudo yum -y groupinstall "Development Libraries"
查看安装的group插件
sudo yum group info "Development Tools"
3、ffmpeg要依赖于yasm,首先安装yasm
yum -y install yasm
4、安装ffmpeg
进入工具目录,解压ffmpeg-4.1.tar.xz
cd /ffmpeg xz -d ffmpeg-4.1.tar.xz
tar -xvf ffmpeg-4.1.tar
进入ffmpeg-4.1解压目录,安装ffmpeg
sudo ./configure sudo make sudo make install
5. 验证安装结果
sudo ffmpeg -version
标签:4.1,ffmpeg,make,sudo,CentOS7,ffmpeg4.1,yum,安装 来源: https://www.cnblogs.com/ershoushouji/p/15475641.html