下载 http://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz
解压到目录
cd到解压目录
sudo ./configure
sudo make
sudo make install
git clone https://github.com/FFmpeg/FFmpeg.git
cd到rep目录
切换到最近的release版本 例 release/4.1
sudo ./cofigure
sudo make
sudo make install