☰ Menu
CLI Open source 28 installs/mo

ab-av1 for Mac

ab-av1

ab-av1 AV1 video encoding tool with fast VMAF sampling & automatic encoder crf calculation. Uses ffmpeg, svt-av1 & vmaf.

ab-av1 — overview

ab-av1 AV1 video encoding tool with fast VMAF sampling & automatic encoder crf calculation. Uses _ffmpeg_, _svt-av1_ & _vmaf_.

Also supports other ffmpeg compatible encoders like libx265 & libx264.

Command: auto-encode Automatically determine the best crf to deliver the --min-vmaf and use it to encode a video or image.

Two phases: crf-search to determine the best --crf value ffmpeg to encode using the settings

Command: crf-search Interpolated binary search using sample-encode to find the best crf value delivering --min-vmaf & --max-encoded-percent.

Outputs: Best crf value Mean sample VMAF score Predicted full encode size Predicted full encode time

Notable options --min-xpsnr may be used as an alternative to VMAF.

Command: sample-encode Encode short video samples of an input using provided crf & preset. This is much quicker than full encode/vmaf run.

Outputs: Mean sample VMAF score Predicted full encode size Predicted full encode time

Notable options --xpsnr specifies calculation of XPSNR score instead of VMAF.

Command: encode Invoke ffmpeg to encode a video or image.

Notable options These also apply to auto-encode. --verify checks the finished encode before it is moved into place: decodes it in full failing on decode errors (--verify-decode) & fails if its duration does not match the input within 2s (--verify-duration). Either check can be enabled on its own. The encoder can otherwise exit successfully having written a damaged or cut short result, e.g. from a truncated input. --fail-fast stops the encode at the first ffmpeg reported error instead of writing a damaged result.

Command: vmaf Full VMAF score calculation, distorted file vs reference file. Works with videos and images.

Auto sets model version (4k or 1k) according to resolution. Auto sets _n_threads_ to system threads. Auto upscales lower resolution videos to the model.

Command: xpsnr Full XPSNR score calculation, distorted file vs reference file. Works with videos and images.

JSON output See --stdout-format json docs.

Install Arch Linux Available in the AUR.

Linux Pre-built statically linked x86_64-unknown-linux-musl binary included in the latest release.

Windows Pre-built ab-av1.exe included in the latest release.

Using cargo Latest release

Latest code direct from git

Requirements ffmpeg newer than git-2022-02-24 with libsvtav1, libvmaf, libopus enabled.

ffmpeg should be in $PATH.

Debug Enable debug logs by setting env var RUST_LOG=ab_av1=debug. This includes all ffmpeg calls.

Minimum supported rust compiler Maintained with latest stable rust.

Details

使用 ffmpeg、svt-av1 和 vmaf 进行 AV1 重新编码

How to install ab-av1

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

Last updated 2026-08-21; current version v0.11.7, with the latest 10 releases listed.

VersionReleasedTypeSizemacOSWindowsLinux
v0.11.72026-08-21Stable——Download—
v0.11.62026-08-16Stable——Download—
v0.11.52026-08-01Stable——Download—
v0.11.42026-06-26Stable——Download—
v0.11.32026-06-12Stable——Download—
v0.11.22026-03-31Stable——Download—
v0.11.12026-03-01Stable——Download—
v0.11.02026-02-20Stable——Download—
v0.10.42026-02-01Stable——Download—
v0.10.32025-12-05Stable——Download—

Data from GitHub Releases; stable releases first, each group sorted newest first.

Prebuilt bottle platforms

Official Homebrew bottles cover:

  • Apple silicon · latest macOS
  • Apple silicon · macOS 26 Tahoe
  • Apple silicon · macOS 15 Sequoia
  • Apple silicon · macOS 14 Sonoma
  • Intel · macOS 14 Sonoma
  • Linux · ARM64
  • Linux · x86_64

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
ab-av1v0.11.7MITCLI28
qrtoolv0.13.2CC-BY-4.0 AND (Apache-2.0 OR MIT)CLI32
convmv2.06GPL-2.0-or-laterCLI35
jwt-uiv1.3.0MITCLI12

Similar apps: Command-line Tools

Leave a comment

评论表单加载中…