Home

Awesome

Av1an

av1an fully utilizing a 96-core CPU for video encoding

Discord server CI tests

<a href="https://www.buymeacoffee.com/master_of_zen" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;" ></a>

Av1an is a video encoding framework. It can increase your encoding speed and improve cpu utilization by running multiple encoder processes in parallel. Target quality, VMAF plotting, and more, available to take advantage for video encoding.

For help with av1an, please reach out to us on Discord or file a GitHub issue.

Av1an Book

Features

Usage

For complete reference, refer to CLI or run av1an --help

Encode a video file with the default parameters:

av1an -i input.mkv

Or use a VapourSynth script and custom parameters:

av1an -i input.vpy -v "--cpu-used=3 --end-usage=q --cq-level=30 --threads=8" -w 10 --target-quality 95 -a "-c:a libopus -ac 2 -b:a 192k" -l my_log -o output.mkv

Supported encoders

At least one encoder is required to use Av1an. The following encoders are supported:

Note that Av1an requires the executable encoder. If you use a package manager to install encoders, check that the installation includes an executable encoder (e.g. vpxenc, SvtAv1EncApp) from the list above. Just installing the library (e.g. libvpx, libSvtAv1Enc) is not enough.

Installation

av1an can be installed from package managers, cargo.io, or compliled manually. There are also pre-built Docker images which include all dependencies and are frequently updated.

For Windows users, prebuilt binaries are also included in every release, and a nightly build of the current master branch is also available.

Package managers

Arch Linux & Manjaro: pacman -S av1an Cargo: cargo install av1an

Manual installation

Prerequisites:

Optional:

VapourSynth plugins on Windows

If you want to install the L-SMASH or ffms2 plugins and are on Windows, then you have two installation options. The easiest way is using the included plugin script:

  1. Open your VapourSynth installation directory
  2. Open a command prompt or PowerShell window via Shift + Right click
  3. Run python3 vsrepo.py install lsmas ffms2