This package, from the WebM project, provides the reference implementations of the VP8 Codec (used in most current HTML5 video) and of the next-generation VP9 Codec.
This package is known to build and work properly using an LFS 12.4 platform.
Download (HTTP): https://github.com/webmproject/libvpx/archive/v1.15.2/libvpx-1.15.2.tar.gz
Download SHA256 Sum: https://github.com/webmproject/libvpx/archive/v1.15.2/libvpx-1.15.2.tar.gz
Download MD5 sum: 4c7a93808c12b359733430c8377b7fcf
Download size: 23,986.4 KB
Estimated disk space required: 58,662.3 KB
Estimated build time: 1.16 SBU
yasm-1.3.0 or NASM-3.01, and Which-2.23 (so configure can find yasm)
cURL-8.17.0 (to download test files) and "doxygen" (to build documentation)
![[Note]](../images/note.png)
If upgrading from a previous version of libvpx, update the timestamps of all the files to prevent the build system from retaining the files from the old installation:
find -type f | xargs touch
Prepare libvpx by running the following commands:
sed -i 's/cp -p/cp/' build/make/Makefile
mkdir -v libvpx-build
cd libvpx-build
../configure --prefix=/usr \
--enable-shared \
--disable-staticNow Build to the package, issue:
make
The test suite downloads many files as part of its test process. A few parts of it will use all available cores. To test the results, issue:
LD_LIBRARY_PATH=. make test
Now Install, as the root user:
make install
sed ... : This command corrects the ownership and permissions of installed files.
mkdir libvpx-build && cd libvpx-build: The libvpx developers recommend building in a dedicated build directory.
--disable-vp8: This switch prevents building support for
the VP8 codec.
--disable-vp9: This switch prevents building support for
the VP9 codec.
--target=generic-gnu: This switch disables
optimizations specific to x86 and x86-64, allowing to build this
package without nasm and yasm
installed.
LD_LIBRARY_PATH=.: This is needed for the test suite to use the library that was just built.