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.
LFS や依存パッケージが本ブックに示す最新安定バージョンでなかった場合には、BLFS 開発版においては、パッケージのビルドや処理実行が適切に行われないことがあります。
Download (HTTP): https://github.com/webmproject/libvpx/archive/v1.13.1/libvpx-1.13.1.tar.gz
Download MD5 sum: d2c9de1c247f18a204e75ecefa7a2217
Download size: 5.3 MB
Estimated disk space required: 75 MB (add 1.5 GB for tests)
Estimated build time: 0.5 SBU (Using parallelism=4; add approx 15 SBU for tests using parallelism=4, including download time)
yasm-1.3.0 or NASM-2.16.01, and Which-2.21 (so configure can find yasm)
cURL-8.5.0 (to download test files) and Doxygen-1.9.8 (to build documentation)
本パッケージのテストの中には、インターネット接続を必要とするものがあります。
Install libvpx by running the following commands:
sed -i 's/cp -p/cp/' build/make/Makefile && mkdir libvpx-build && cd libvpx-build && ../configure --prefix=/usr \ --enable-shared \ --disable-static && make
To test the results, issue: LD_LIBRARY_PATH=. make test. The test suite downloads many files as part of its test process. A few parts of it will use all available cores.
Now, as the root
user:
make install
sed ... : This command corrects ownership and permissions of installed files.
mkdir libvpx-build && cd libvpx-build: The libvpx developers recommend building in a dedicated build directory.
--disable-static
:
このスイッチはスタティックライブラリをインストールしないようにします。
--disable-vp8
: This switch prevents
building of VP8 codec support.
--disable-vp9
: This switch prevents
building of VP9 codec support.
--target=generic-gnu
: This switch
disables optimizations specific for 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.