Cross-platform command-line AV1 / VP9 / HEVC / H264 encoding framework with per scene quality encoding
Find a file
Uranite f5497931d1 Delete tag before making a release
So that the date and the associated commit is updated
2024-11-07 06:39:23 -05:00
.devcontainer Add probe slow, add devcontainer, update readme (#289) 2021-07-09 19:32:47 +03:00
.github/workflows Delete tag before making a release 2024-11-07 06:39:23 -05:00
av1an Make --vmaf parameter work independently again 2024-10-20 13:27:59 -04:00
av1an-core Make --vmaf parameter work independently again 2024-10-20 13:27:59 -04:00
site windows build and compiling.md changes 2024-11-01 10:27:38 -04:00
.codeclimate.yml Disable file-lines and method-lines check for codeclimate, enable fixme plugin to mark TODOs/FIXMEs 2020-05-06 11:49:48 -06:00
.gitignore wip (#811) 2024-02-12 23:50:57 +02:00
.mergify.yml ci(Mergify): configuration update 2023-03-27 13:34:38 -04:00
Cargo.lock lockfile: bump vapoursynth-sys to 0.4.1 2024-09-16 07:46:00 -04:00
Cargo.toml Fix a variety of clippy lints (#792) 2023-12-06 17:29:11 -05:00
Dockerfile Remove vapoursynth-plugin-lsmashsource 2024-06-10 12:46:21 -04:00
LICENSE.md License change 2020-06-22 15:58:03 +03:00
MANIFEST.in try 2021-05-06 19:29:22 +03:00
README.md Update README.md 2024-11-04 07:05:25 -05:00
rustfmt.toml Consolidate import style in rustfmt.toml (#619) 2022-04-20 20:24:55 +00:00

Av1an

av1an fully utilizing a 96-core CPU for video encoding

Discord server CI tests

Buy Me A Coffee

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

  • Hyper-scalable video encoding
  • Target Quality mode, using VMAF control encoders rate control to achieve the desired video quality
  • VapourSynth script support
  • Cancel and resume encoding without loss of progress
  • Minimal and clean CLI
  • Docker images available
  • Cross-platform application written in Rust

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:

  • L-SMASH VapourSynth plugin for better chunking (recommended)
  • DGDecNV Vapoursynth plugin for very fast and accurate chunking, dgindexnv executable needs to be present in system path and an NVIDIA GPU with CUVID
  • ffms2 VapourSynth plugin for better chunking
  • bestsource Vapoursynth plugin for slow but accurate chunking
  • mkvmerge to use mkvmerge instead of FFmpeg for file concatenation
  • VMAF to calculate VMAF scores and to use target quality mode

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