美文网首页
linux # x264编译

linux # x264编译

作者: FlyingPenguin | 来源:发表于2018-09-05 11:40 被阅读29次
rpm -Uvh nasm-2.13.03-0.fc24.x86_64.rpm
  • 下载x264源码
# git clone http://git.videolan.org/git/x264.git
  • 编译
    刚开始用以下命令编译后:
./configure --prefix=/usr/loal --enable-yasm

发现/usr/local/include中没有x264的头文件,/usr/local/lib中也没有x264的.a静态库。

正确的编译安装方法是:

./configure --prefix=/usr/loal --enable-static --enable-yasm
make && make install

References:

https://www.videolan.org/developers/x264.html

相关文章

网友评论

      本文标题:linux # x264编译

      本文链接:https://www.haomeiwen.com/subject/tsqawftx.html