strukturag / libheif

libheif is an HEIF and AVIF file format decoder and encoder.
Other
1.76k stars 302 forks source link

Problem with decoder AVIF #384

Open Jamaika1 opened 3 years ago

Jamaika1 commented 3 years ago

I can't decode avif photo. I don't know what I'm doing wrong. I use library: https://www.sendspace.com/file/3glokx Encoder works and create file but decoder has error. Could not decode image: 0: Invalid input: Unspecified: Success heifenc_08bit_hdr.exe image_21447.y4m -v --avif --no-alpha -p chroma=444 -q 68 -o image_21447.avif heifdec.exe image_21447.avif 111.png File info works: heifinfo.exe image_21447.avif https://www.sendspace.com/file/o4j39m

tomaszg7 commented 2 years ago

I had very similar problem when using libheif-1.12.0 together with dav1d-1.0.0. Had to downgrade to dav1d-0.9.2 to fix it. I'm using Gentoo Linux.

mika-fischer commented 2 years ago

Can confirm. Downgrading to dav1d fixes it here too.