FFmpeg编译报nasm/yasm not found or too old. 错误解决

阅读更多

1. 下载代码:git clone https://git.ffmpeg.org/ffmpeg.git ffmpeg

2. cd ffmpeg,然后 ./configure,报错:

    

nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.

 3. 错误原因为汇编工具没有安装,安装yasm即可:

brew install yasm

 

4. 然后sudo make ; sudo make install 

你可能感兴趣的:(FFmpeg编译报nasm/yasm not found or too old. 错误解决)