ubuntu 編譯FFmgeg執行./configure 時會報此錯誤。
nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.
需要安裝yasm的彙編編譯器
sudo apt-get install yasm
分析:yasm是彙編編譯器,ffmpeg爲了提高效率使用了彙編指令,如MMX和SSE等。所以系統中未安裝yasm時,就會報上面錯誤。
如果不需要yasm也可以
./configure --disable-x86asm
下載ffmpeg
git clone https://git.ffmpeg.org/ffmpeg.git