您的位置:首页 > 其它

X265编译和安装过程

2016-10-12 00:00 381 查看
摘要: X265 编译 安装

参考x265 wiki:
https://bitbucket.org/multicoreware/x265/wiki/Home

Building x265

To compile x265 you must first install Mercurial (or TortoiseHg on Windows) and CMake 2.8.8 or later. To ensure your build of x265 is capable of full performance, install YASM 1.2.0 or greater to compile assembly primitives. Then follow these easy steps:
yasm已经在本机安装过了。

编译安装cmake

首先方向cmake官网,下载最新版本。

https://cmake.org/download/

tar -xzf cmake-3.7.0-rc1.tar.gz

make && make install

编译和安装x265

下载链接:

http://ftp.videolan.org/pub/videolan/x265/

选择最新版本x265_2.1.tar.gz

tar -xzf x265_2.1.tar.gz

$ cd x265/build/linux
$ ./make-Makefiles.bash
$ make && make install

使ffmpeg在configure时包括libx265

./configure --enable-gpl --enable-nonfree --disable-shared --enable-postproc --enable-bzlib --enable-zlib --enable-parsers --enable-libx264 --enable-libx265 --enable-libmp3lame --enable-libfaac --enable-libfdk-aac --enable-pthreads --extra-ldflags=-static --disable-ffserver --enable-ffplay --enable-asm --enable-yasm --enable-optimizations --pkg-config-flags=--static --extra-cflags=--static --extra-version=static --enable-libspeex --enable-librtmp
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  x265 编译 安装