You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------------------------------------------
SVT [version]: SVT-AV1 Encoder Lib v0.8.6
SVT [build] : GCC 9.3.0 64 bit
LIB Build date: Jan 11 2021 09:20:51
-------------------------------------------
Error Instance 1: Source Width must be even for YUV_420 colorspace
Error Instance 1: Source Height must be even for YUV_420 colorspace
SvtMalloc[info]: you have no memory leak
How to deal with the situation?
Add 1 pixel column/row to the image (in application level) and define avifCleanApertureBox?
Can libavif automate actions in 1) ?
Wait, maybe future version of SVT-AV1 brings some solution.
The text was updated successfully, but these errors were encountered:
I assume your input images are in the YUV 4:2:0 format.
You can use avifenc with libaom as the AV1 encoder. libaom supports 4:2:0 input images of odd dimensions.
If you prefer SVT-AV1 as the AV1 encoder, you can use heif-enc (from libheif). heif-enc pads the image to even dimensions and then adds a clean aperture (clap) property to the AVIF file to crop the padded image to the original size. (This is solution 1 in #544 (comment).)
SVT encoder doesn't like odd image dimensions:
How to deal with the situation?
The text was updated successfully, but these errors were encountered: