Skip to content

1.0.4

Latest

Choose a tag to compare

@CryShana CryShana released this 13 Sep 11:08
· 4 commits to main since this release
  • Can now override executable used for encoding, by default ffmpeg, but can specify anything - such as avifenc
  • Added example for avifenc, can be used to encode transparent images properly! Which none of ffmpeg AV1 encoders could do.
  • Can now specify $INPUT and $OUTPUT in command to override the default behaviour - example is set by avifenc

Example config with overriden executable:

{
  "executable_override": "avifenc",
  "command": "-q 80 -s 2 $INPUT $OUTPUT",
  "extension": "avif",
  "content_type": "image/avif",
  "exclude_transparent_input": false,
  "target_types": [
    "image/jpeg",
    "image/png",
    "image/bmp"
  ]

Make sure avifenc executable is accessible in PATH or next to the encoder server