安装ffmpeg

linux 119 2022-06-17 03:04

centos8安装

yum install nasm -y

yum install yasm -y

sudo dnf install epel-release

sudo yum config-manager --set-enabled PowerTools

sudo yum-config-manager --add-repo=https://negativo17.org/repos/epel-multimedia.repo

sudo dnf install ffmpeg

 

 

 

CentOS7使用yum安装FFmpeg

1.安装epel并update yum

yum install epel-release -y

yum update -y

2.安装Nux Dextop Yum 源

rpm --import http://li.nux.ro/download/nux/RPM-GPG-KEY-nux.ro

rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm

3.安装FFmpeg 和 FFmpeg开发包

yum install ffmpeg ffmpeg-devel -y

4.测试是否安装成功

ffmpeg