报错
Unknown option --enable-opencl, ignored
Unknown option --enable-avs, ignored
Unknown option --enable-cli, ignored
Unknown option --enable-ffms, ignored
Unknown option --enable-gpac, ignored
Unknown option --enable-lavf, ignored
Unknown option --enable-swscale, ignored
Found no assembler
Minimum version is nasm-2.13
If you really want to compile without asm, configure with --disable-asm.
解決方案:
下载 nasm
https://www.nasm.us/pub/nasm/releasebuilds/2.13.03/
解压
tar -zxvf nasm-2.13.03.tar.gz
进入目录
cd nasm-2.13.03
安装即可
./configure
make
make install
安装nasm之后再进入x264目录
./configure
或者编译带上参数
--disable-asm