CentOS 7 编译 mpv-player

yum install libtool freetype freetype-devel fribidi fribidi-devel yasm mesa-libGL mesa-libGL-devel
yum install fdk-aac fdk-aac-devel lame-libs lame-devel x264-libs x264-devel

git clone https://github.com/mpv-player/mpv-build.git
cd mpv-build
echo --enable-libx264 >> ffmpeg_options
echo --enable-libmp3lame >> ffmpeg_options
echo --enable-libfdk-aac >> ffmpeg_options
./rebuild -j4
The -j4 asks it to use 4 parallel processes.
sudo ./install

configure: error: Either DirectWrite (on Windows), CoreText (on OSX), or Fontconfig (Linux, other) is required. If you really want to compile without a system font provider, add --disable-require-system-font-provider
yum install fontconfig fontconfig-devel

install ffmpeg    https://li.nux.ro/repos.html
yum -y install epel-release && rpm -Uvh http://li.nux.ro/download/nux/dextop/el7/x86_64/nux-dextop-release-0-5.el7.nux.noarch.rpm
yum install ffmpeg