x264 package provides a library for encoding video streams into the H.264/MPEG-4 AVC format.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://anduin.linuxfromscratch.org/BLFS/x264/x264-20230215.tar.xz
Download MD5 sum: 24eb4eae0d6358f31228c9ff86046c6f
Download size: 673 KB
Estimated disk space required: 14 MB
Estimated build time: 0.3 SBU (Using parallelism=4)
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/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.