-
Notifications
You must be signed in to change notification settings - Fork 2
Encoders Building Guide
Alkl58 edited this page Mar 3, 2021
·
1 revision
aomenc:
# 1. Clone aom repository
mkdir Build-Temp
cd Build-Temp
git clone https://aomedia.googlesource.com/aom
mkdir aom_build
cd aom_build
# 2. Basic Build
cmake ../aom -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release -DENABLE_TESTS=0 -DCONFIG_AV1_DECODER=0
make -j 16
sudo make install
# 3. Cleanup
cd ..
rm -rf aom_build
rm -rf aom
cd ..
rm -rf Build-Temp
rav1e
# 1. Clone rav1e repository
mkdir Build-Temp
cd Build-Temp
git clone https://github.com/xiph/rav1e.git
# 2. Build rav1e
cd rav1e
cargo build --release
# 3. Install
strip target/release/rav1e
sudo cp target/release/rav1e /usr/local/bin/
# 4. Cleaup
cd ..
cd ..
rm -rf Build-Temp
svt-av1
# 1. Clone svt-av1 repository
mkdir Build-Temp
cd Build-Temp
git clone https://gitlab.com/AOMediaCodec/SVT-AV1.git
cd SVT-AV1/Build
rm rm -rf windows
rm rm -rf linux
# 2. Build svt-av1
cmake .. -DBUILD_SHARED_LIBS=0 -DCMAKE_BUILD_TYPE=Release -DBUILD_DEC=OFF
make -j 16
sudo make install
# 3. Cleanup
cd ../../..
rm -rf Build-Temp