follow steps from:
http://scateu.me/2014/03/06/compile-ffmpeg-on-linux-with-x264-and-x265-support.html
tar file from http://download.videolan.org/contrib/
安装x265
https://bitbucket.org/multicoreware/x265/wiki/Home
sudo apt-get install mercurial cmake cmake-curses-gui build-essential # Note: if the packaged yasm is older than 1.2, you must download yasm-1.2 and build it hg clone https://bitbucket.org/multicoreware/x265 hg checkout 0.8 cd x265/build/linux ./make-Makefiles.bash # 这里将 LOG_CU_STATISTICS 设置为ON,然后,按下“c”,实现configure,按下“q”退出 make sudo make install sudo ldconfig
update: (follow below steps may work)
http://blog.csdn.net/chenyangdream/article/details/42873605
转载于:https://blog.51cto.com/nicwon/1617341