Releases: alexheretic/ab-av1
Releases · alexheretic/ab-av1
v0.7.2
- Print failing ffmpeg stderr output.
- Preserve all input file streams (e.g. audio, subs, attachments) into output.
- Support concurrent running processes out of the box by segregating temp-dirs & fixing cache access.
- Improve vmaf accuracy in some cases by forcing 24fps & synchronizing the presentation timestamp.
- Automatically workaround ffmpeg "Can't write packet with unknown timestamp" sample generation failures
(typically encountered with old avi files) by using `-fflags +genpts`.
v0.7.1
- Fix crf-search incorrectly picking a rate that exceeds the
--max-encoded-percent
. - Improve auto-encode crf float display rounding.
v0.7.0
- Use ffmpeg for svt-av1 encodes instead of invoking to SvtAv1EncApp directly. This unifies the handling of
other encoders & allows svt-av1 encoding to benefit from more built-in ffmpeg behaviours like aspect preservation.
An ffmpeg build with libsvtav1 enabled is now required. SvtAv1EncApp is no longer required. - Improve image detection.
- Add
--encoder
support for nvenc family of ffmpeg encoders: av1_nvenc, hevc_nvenc, and h264_nvenc.
v0.6.1
- Add sample-encode, crf-search, auto-encode arg
--min-samples
. - Revert libvpx-vp9
--crf-increment
default to 1.
v0.6.0
- Support decimal crf values in sample-encode, encode subcommands (note svt-av1 only supports integer crf).
- Add crf-search, auto-encode arg
--crf-increment
. Previously this would always be 1.
Defaults to 1. -e libx264, libx265 & libvpx-vp9 default to 0.1. - Add crf-search, auto-encode arg
--thorough
which more exhaustively searches to find
a crf value close to the specified min-vmaf. - Cache sample-encode results in $CACHE_DIR/ab-av1 directory. This allows repeated same crf sample encoding
to be avoided when running sample-encode, crf-search & auto-encode. E.g. repeating a crf-search with
a different min-vmaf.
Caching is enabled by default. Can be disabled with--cache false
or setting env varAB_AV1_CACHE=false
. - Use mkv containers for all lossless samples. Previously mp4 samples were used for mp4 inputs, however in all test cases
mkv 20s samples were better quality. This change improves accuracy for all mp4 input files. - Default
--max-crf
to 46 for libx264 & libx265 encoders. - Encode webm outputs with the "cues" seek index at the front to optimise stream usage (as done with mkv).
v0.5.2
- Fix ffprobe duration conversion error scenarios panicking.
- Tweak encoded size prediction logic to consider both input file size & encoded sample duration.
v0.5.1
- Change encoded size prediction logic to estimate video stream size (or image size) only.
This should be much more consistent than the previous method.
Change crf-search, sample-encode result text to clarify this. - Improve video size prediction logic to account for samples that do not turn out as 20s.
- Fix full-pass sample encode progress bar.
- Use label "Full pass" instead of "Sample 1/1" when doing a full pass sample-encode.
- Add VMAF auto model, n_threads & scaling documentation.
v0.5.0
- Default to .mkv output format for all inputs (except .mp4 which will continue to output .mp4 by default).
This also applies to ffmpeg encoder sample output format. The previous behavior used the input extension
which may not have supported av1 (e.g. .m2ts). - For auto-encode use the output extension also for ffmpeg encoder sample outputs if applicable.
- When creating lossless samples for encode analysis use .mkv (or .mp4) extension for better ffmpeg compatibility.
- Encode mkv outputs with the "cues" seek index at the front to optimise stream usage.
- Optimise pixel format choice for VMAF comparisons. Can significantly improve VMAF fps.
E.g. if both videos are yuv420p use that instead of yuv444p10le. - When sampling use full input video when sample time would be >= 85% of the total (down from 100%).
- Eliminate repeated redundant ffprobe calls.
- Windows: Support VMAF pixel format conversion for both distorted and reference.
Gives more consistently accurate results and brings Windows in line with Linux functionality. - Windows: ab-av1.exe binaries will now be automatically built and attached to releases.
v0.4.4
- Add crf-search, auto-encode, encode & vmaf command support for encoding images into avif.
This works in the same way as videos, example:The default encoder svt-av1 has some dimension limitations which may cause this to fail.ab-av1 auto-encode -i pic.jpg
-e libaom-av1
also works and supports more dimensions. - Convert to yuv444p10le pixel format when calculating VMAF for accuracy and compatibility.
- Update to clap v4 which changes help/about output & reduces binary size.
- Print crf-search attempts even when stderr is not a tty.
v0.4.3
- Fix terminal breaking sometimes after exiting early.