Hoping to get help from someone familiar with AVIF image format and the DAV1D codec.
I am a Windows/C/C++ programmer trying to integrate HEIF and AVIF image functionality into an application I am developing (just decoding for now). So I used the LIBHEIF library with the libde265 and dav1d codecs.
I built and linked everything fine. HEIF images work but AVIFs do not. I am getting the “unspecified error”, even with the example.avif included with LIBHEIF.
I debugged everything step by step. The image has 4 OBUs: two OBU_SEQ_HDR, one OBU_FRAME_HDR, and one OBU_TILE_GRP. Does this sound right to you? The parser does not seem to find any information that it can actually decode, like a frame. The function output_picture_ready() always returns false. So at the end, the parser just returns the error EAGAIN.