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 ffmpeg-user@ffmpeg.org 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配置时遇到的汇编工具缺失问题,并提供了详细的解决步骤,包括安装yasm汇编工具及之后如何成功进行make和make install。

被折叠的 条评论
为什么被折叠?



