1 X264编译
1 编译所需资料
2 开始编译
将下载的x264-snapshot-20160814-2245-stable.tar.bz2 解压放在桌面,同时将脚本build-x264.sh也放桌面上,如下图

终端执行 : cd /Users/ls/Desktop/ 然后执行 : ./build-x264.sh 结果如图

2 编译中小步骤
1 找编译脚本对应的源码




2 脚本简单介绍
--enable-shared :编译成动态库。 --enable-static :编译成静态库。 `pwd`: 显示当前目录所在路径(`` 不是单引号)。 $* :所有命令行参数值,在各个参数值之间留有空格。

3 英语单词
untar // 解压 snapshots // 快照
网友评论