ab-av1 for Mac
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
- Open Terminal (press ⌘ + Space and type “Terminal”).
- If Homebrew is not installed yet, run the command below first.
- Run this command:
Latest 10 releases
Last updated 2026-08-21; current version v0.11.7, with the latest 10 releases listed.
| Version | Released | Type | Size | macOS | Windows | Linux |
|---|---|---|---|---|---|---|
| v0.11.7 | 2026-08-21 | Stable | — | — | Download | — |
| v0.11.6 | 2026-08-16 | Stable | — | — | Download | — |
| v0.11.5 | 2026-08-01 | Stable | — | — | Download | — |
| v0.11.4 | 2026-06-26 | Stable | — | — | Download | — |
| v0.11.3 | 2026-06-12 | Stable | — | — | Download | — |
| v0.11.2 | 2026-03-31 | Stable | — | — | Download | — |
| v0.11.1 | 2026-03-01 | Stable | — | — | Download | — |
| v0.11.0 | 2026-02-20 | Stable | — | — | Download | — |
| v0.10.4 | 2026-02-01 | Stable | — | — | Download | — |
| v0.10.3 | 2025-12-05 | Stable | — | — | 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.
| App | Version | License | Architecture | 30-day installs |
|---|---|---|---|---|
| ab-av1 | v0.11.7 | MIT | CLI | 28 |
| qrtool | v0.13.2 | CC-BY-4.0 AND (Apache-2.0 OR MIT) | CLI | 32 |
| convmv | 2.06 | GPL-2.0-or-later | CLI | 35 |
| jwt-ui | v1.3.0 | MIT | CLI | 12 |
Similar apps: Command-line Tools
qrtool
Utility for encoding or decoding QR codeconvmv
convmv is a command-line tool built specifically for dealing with filename encoding problems.jwt-ui
TUI for decoding and encoding JWT tokensnanopb
nanopb is a protocol buffers encoding and decoding library written in C, designed specifically…openssl@4
Cryptography and SSL/TLS Toolkitxz
General-purpose data compression with high compression ratioCategories: Command-line Tools