x265-3.6

#### Beyond Linux® From Scratch (systemd Edition) - Version 12.2

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  x264-20240812

- Next

  xine-lib-1.2.13

- Up
- Home

# x265-3.6

## 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 12.2 platform.

### Package Information

- Download (HTTP): https://bitbucket.org/multicoreware/x265_git/downloads/x265_3.6.tar.gz

- Download MD5 sum: 99997ecc8ee4d3575ba7715c759ad3bb

- Download size: 1.6 MB

- Estimated disk space required: 45 MB

- Estimated build time: 0.5 SBU (using parallelism=4)

### x265 Dependencies

#### Required

CMake-3.30.2

#### Recommended

NASM-2.16.03

#### Optional

numactl

## Installation of x265

Install x265 by running the following commands:

    mkdir bld &&
    cd    bld &&

    cmake -D CMAKE_INSTALL_PREFIX=/usr \
          -W no-dev ../source          &&
    make

This package does not come with a test suite.

### Important

If downgrading from the bleeding-edge x265-20240812 (it had been mistakenly used in the BLFS development book for several days), remove the shared library from x265-20240812 as the `root` user:

    rm -fv /usr/lib/libx265.so.212

This is for preventing ldconfig from recreating the symlink `libx265.so` with the target `/usr/lib/libx265.so.212` which seems to be “a newer version” of `libx265.so.209` from x265-3.6.

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

## Command Explanations

`-W no-dev`: This switch is used to suppress warnings intended for the package 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

- Prev

  x264-20240812

- Next

  xine-lib-1.2.13

- Up
- Home