Skip to content

Releases: alexheretic/ab-av1

v0.7.2

11 Feb 02:18
Compare
Choose a tag to compare
  • 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

13 Jan 09:20
Compare
Choose a tag to compare
  • Fix crf-search incorrectly picking a rate that exceeds the --max-encoded-percent.
  • Improve auto-encode crf float display rounding.

v0.7.0

06 Jan 11:17
Compare
Choose a tag to compare
  • 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

16 Dec 11:15
Compare
Choose a tag to compare
  • Add sample-encode, crf-search, auto-encode arg --min-samples.
  • Revert libvpx-vp9 --crf-increment default to 1.

v0.6.0

09 Dec 11:39
Compare
Choose a tag to compare
  • 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 var AB_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

04 Dec 15:28
Compare
Choose a tag to compare
  • Fix ffprobe duration conversion error scenarios panicking.
  • Tweak encoded size prediction logic to consider both input file size & encoded sample duration.

v0.5.1

02 Dec 10:33
Compare
Choose a tag to compare
  • 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

28 Nov 12:08
Compare
Choose a tag to compare
  • 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

03 Nov 12:15
Compare
Choose a tag to compare
  • Add crf-search, auto-encode, encode & vmaf command support for encoding images into avif.
    This works in the same way as videos, example:
    ab-av1 auto-encode -i pic.jpg
    
    The default encoder svt-av1 has some dimension limitations which may cause this to fail. -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

30 Sep 17:53
Compare
Choose a tag to compare
  • Fix terminal breaking sometimes after exiting early.