x265-20230215

Introduction to x265

x265 package provides a library for encoding video streams into the H.265/HEVC format.

This package is known to build and work properly using an LFS 11.3 platform.

Package Information

x265 Dependencies

Required

CMake-3.25.2

Recommended

Optional

numactl

User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/x265

Installation of x265

Install x265 by running the following commands:

mkdir bld &&
cd    bld &&

cmake -DCMAKE_INSTALL_PREFIX=/usr \
      -DGIT_ARCHETYPE=1           \
      -Wno-dev ../source          &&
make

This package does not come with a test suite.

Now, as the root user:

make install &&
rm -vf /usr/lib/libx265.a 

Command Explanations

-DGIT_ARCHETYPE=1: Upstream no longer provides releases. BLFS is using a git snapshot, but if the builder has not installed git the build will not install the shared library or the pkgconfig file without this switch.

-Wno-dev: This switch is used to suppress warnings intended for the package's developers.

rm -vf /usr/lib/libx265.a: BLFS does not recommend using static libraries.

Contents

Installed Program: x265
Installed Library: libx265.so
Installed Directories: None

Short Descriptions

libx265.so

provides the functions used to encode video streams into the H.265/HEVC format