LINUX下载编译libx264

  • 下载
# https://code.videolan.org/videolan/x264

# 建议下载稳定版
# https://code.videolan.org/videolan/x264/-/tree/stable

# 其他版本
# https://ftp.videolan.org/pub/x264/snapshots/

git clone https://code.videolan.org/videolan/x264.git
  • 解压
tar xf x264-master.tar.gz
cd x264-master
  • 编译
BUILD_LIBS=${HOME}/build_libs
export PATH=${BUILD_LIBS}/bin:${PATH}


# 运行之后无法编译
#./autogen.sh

./configure --prefix=${BUILD_LIBS} --enable-shared --enable-pic

make

make install

 

相关推荐
©️2020 CSDN 皮肤主题: 大白 设计师:CSDN官方博客 返回首页