link-u / cavif

avif encoder, using libaom directly.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Misfunction When Converting from Png Files

GrandArth opened this issue · comments

2
This is my original png file.

1.zip
3
This is what i got with

cavif -i 2.png --cpu-used 0 --enable-cdef --crf 10 --threads 4 --rate-control q --enable-full-color-range -o 1.avif

This is the output text i got.

[2020/07/03 18:54:37 INFO ] cavif
[2020/07/03 18:54:37 INFO ] libaom ver: 1.0.0-errata1-avif-414-g0cfdca944
[2020/07/03 18:54:38 INFO ] Encoding: 2.png -> 1.avif
[2020/07/03 18:54:56 INFO ]  Encoded: 2.png -> 1.avif in 17.99 [sec]

Any ideas?
Cavif is probably the most balanced CLI tool, i really hope to get this settled.

It's a issue of chroma subsampling.
Try adding the following arguments.

--profile 1 --pix-fmt yuv444