x265 package provides a library for encoding video streams into the H.265/HEVC format.
Development versions of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable versions of the books.
Download (HTTP): https://bitbucket.org/multicoreware/x265_git/downloads/x265_4.1.tar.gz
Download MD5 sum: f1c3c80248d8574378a4aac8f374f6de
Download size: 1.6 MB
Estimated disk space required: 39 MB
Estimated build time: 0.4 SBU (using parallelism=4)
Install x265 by running the following commands:
mkdir bld && cd bld && cmake -D CMAKE_INSTALL_PREFIX=/usr \ -D GIT_ARCHETYPE=1 \ -W no-dev \ ../source && make
This package does not come with a test suite.
To install the package, first remove any old library versions.
After installation, remove a static library. As the root
user:
make install && rm -vf /usr/lib/libx265.a
-W no-dev
: This switch is
used to suppress warnings intended for the package developers.
-D GIT_ARCHETYPE=1
: This
switch is needed because the build system will not generate a
pkg-config file or install a shared library unless git-2.47.1 is
installed. Git isn't required for anything else in this package, so
this switch is used to work around it for users who do not want to
install Git as a build dependency.
rm -vf /usr/lib/libx265.a: BLFS does not recommend using static libraries.