how to install libx265 for ffmpeg build on centos 7 -
when try compile ffmpeg libx265 (./configure --enable-gpl --enable-libx265), getting error as: (error: x265 not found using pkg-config). how install libx265 , configure ffmpeg.
there 2 solutions problem.
a)
if there no libx265 available on centos 7 you'll have build yourself. follows pretty straightforward method of configure/make.
using mercurial:
hg clone http://hg.videolan.org/x265 cd x265/build/linux ./make-makefiles.bash make -j6 make install ldconfig
then sure specify path libx265 installed when building ffmpeg. pkg-config: pkg_config_path="/usr/local/lib/pkgconfig"
.
b)
but appears there rpm entries x265 on centos 7: http://pkgs.org/centos-7/nux-dextop-x86_64/x265-devel-1.2-6.el7.nux.x86_64.rpm.html. if compatible on system should able install instead of building.
Comments
Post a Comment