Skip to content

Instantly share code, notes, and snippets.

@johncf
Created July 21, 2024 19:53
Show Gist options
  • Save johncf/b96338f4a245f25147764ff8571ca02f to your computer and use it in GitHub Desktop.
Save johncf/b96338f4a245f25147764ff8571ca02f to your computer and use it in GitHub Desktop.
# based on https://www.reddit.com/r/AV1/comments/o7s8hk/
img=test.jpg
avifenc -s 4 -j 4 --min 1 --max 63 -y 420 \
-a end-usage=q -a cq-level=18 -a tune=ssim \
-a color:enable-chroma-deltaq=1 -a color:enable-qm=1 \
-a color:deltaq-mode=3 "$img" "avif/${img%.???}.avif"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment