x264 package provides a library for encoding video streams into the H.264/MPEG-4 AVC 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://anduin.linuxfromscratch.org/BLFS/x264/x264-20240216.tar.xz
Download MD5 sum: a80f596383ea12bc3137aad84dfb337b
Download size: 728 KB
Estimated disk space required: 12 MB
Estimated build time: 0.2 SBU (Using parallelism=4)
This package tarball expands to 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
--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.