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