摄像头录制视频ffmpeg
1.安装epel-release (参考 https://www.jianshu.com/p/86d16189832e ) 运行指令:yum -y install epel-release 2.安装nux存储库 运行指令: rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm 3.安装ffmpeg和ffmpeg -devel软件包 运行指令:yum install ffmpeg ffmpeg-devel -y (漫长等待) 如果出现下面这种异常 打开/etc/yum.repos.d/epel.repo,将 [epel] name=Extra Packages for Enterprise Linux 6 - $basearch #baseurl= http://download.fedoraproject.org/pub/epel/6/$basearch mirrorlist= https://mirrors.fedoraproject.org/metalink?repo=epel-6&arch=$basearch 修改为(即第三行的注释去掉,把第四行加上注释) [epel] name=Extra Packages for