Recognize seems to fail with AVIF

Hello everybody,

iā€™m facing a problem with the recognize app. The app was working well but a few months ago it stopped to do so. When i check the log it tells me:

Failed to generate preview of 1765741 with dimension 1024 with nextcloud preview manager: Undefined constant ā€œOCA\Recognize\Classifiers\IMAGETYPE_AVIFā€

There are many more errors like this. I canā€™t grab the problem, it seems like it is not possible to scan AVIF-files?

I tried to add it in the Nextcloud config into the array

ā€˜enabledPreviewProvidersā€™

like

14 => ā€˜OC\Preview\AVIFā€™,

but it has no effect.
Do you know where this problem is caused? And maybe even a solution?
I would be very thankfull :slight_smile:

1 Like

This should be fixed starting with recognize v6.x

1 Like

My installed version of the recognize app is 6.1.1 :speak_no_evil:

For the sake of completeness: Nextcloud Version is 28.0.4 and runs on a server with 8GB of ram

1 Like