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
ab-av1 auto-encode [OPTIONS] -i <INPUT> --preset <PRESET> --min-vmaf <MIN_VMAF>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
ab-av1 crf-search [OPTIONS] -i <INPUT> --preset <PRESET> --min-vmaf <MIN_VMAF>#### Notable options
- --min-xpsnr <MINXPSNR 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: