x264-20250815

#### Beyond Linux® From Scratch (System V Edition) - Version r13.0-1374

### Chapter 42. Multimedia Libraries and Drivers

- Prev

  Wireplumber-0.5.15

- Next

  x265-4.2

- Up
- Home

# x264-20250815

## Introduction to x264

x264 package provides a library for encoding video streams into the H.264/MPEG-4 AVC format.

### Note

This version of BLFS may not build or run some packages properly if LFS or dependencies have been updated since the most recent stable version of the System V books.

### Package Information

- Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/x264/x264-20250815.tar.xz

- Download MD5 sum: a4adb6f7d2644043765885e54abc3955

- Download size: 732 KB

- Estimated disk space required: 15 MB

- Estimated build time: 0.2 SBU (Using parallelism=4)

### x264 Dependencies

#### Recommended

NASM-3.02

#### Optional

ffms2, gpac or liblsmash

## Installation of x264

Install x264 by running the following commands:

    ./configure --prefix=/usr   \
                --enable-shared \
                --disable-cli   &&
    make

This package does not come with a test suite.

Now, as the `root` user:

    make install

## Command Explanations

`--disable-cli`: This switch disables building the command-line encoder which is redundant since it requires FFmpeg for most of the input formats.

`--disable-asm`: Use this switch if you didn't install NASM.

## Contents

Installed Programs: None
Installed Library: libx264.so
Installed Directory: None

### Short Descriptions

`libx264.so` | provides the functions used to encode video streams into the H.264/MPEG-4 AVC format

- Prev

  Wireplumber-0.5.15

- Next

  x265-4.2

- Up
- Home