Page 1 of 1

Converting to avif results in 0 byte files

Posted: Mon Mar 07, 2022 8:55 pm
by misao
Hello, I'm unable to convert files to avif format :(
I copied the plugins folder of XnViewMP and nconvert lists avif as a supported format.

Code: Select all

nconvert -out avif image.jpg
It seems to convert the image but...

Code: Select all

Encoded successfully.
 * ColorOBU size: 429817 bytes
 * AlphaOBU size: 0 bytes
...the actual file being saved is 0 bytes :|
Also, how do I specify quality? The -q option doesn't seem to do anything. It always says:

Code: Select all

Encoding with AV1 codec 'aom', color QP [0 (Lossless) <-> 0 (Lossless)], alpha QP [0 (Lossless) <-> 0 (Lossless)], 1 worker thread(s), please wait...

Re: Converting to avif results in 0 byte files

Posted: Fri Mar 11, 2022 8:11 am
by xnview
are you able to convert with XnView MP?

Re: Converting to avif results in 0 byte files

Posted: Sat Mar 12, 2022 12:10 pm
by misao
Yes, no problem with XnViewMP.
I wanted to use NConvert in a batch file since avifenc doesn't support resizing and imagemagick doesn't support min/max quantizers.

XnViewMP supports avif, speed, resizing and min/max quantizers. 8)
It would be great if it would work with NConvert too.

Re: Converting to avif results in 0 byte files

Posted: Mon Mar 14, 2022 3:46 pm
by xnview
ok, will be added