Quick & Easy: Build aomenc on Ubuntu

  • apt update -y && apt install -y build-essential make yasm cmake git p7zip-full
  • git clone https://aomedia.googlesource.com/aom && cd aom/build
  • cmake ../ -DCMAKE_BUILD_TYPE=Release -DAOM_EXTRA_C_FLAGS=-static -DAOM_EXTRA_CXX_FLAGS=-static -DENABLE_DOCS=0 -DENABLE_TESTS=0 -DCONFIG_AV1_DECODER=0
  • make -j$(grep -c ^processor /proc/cpuinfo) && make install

av1an (per-scene encoder frontend)

  • apt install python3 python3-pip libgl-dev libglib2.0-0 ffmpeg libharfbuzz-dev
  • pip3 install av1an
  • av1an -i input.mkv