Page 1 of 1
v1.8.x AVIF decoding slower then 1.7.2
Posted: Thu Oct 10, 2024 5:55 pm
by VictorVG
Question, on
forum.ru-board.com (rus) and more...
In version 1.8.0, something bad when decoding AVIF became much slower. Especially noticeable on large files. Returned 1.7.2 - everything is as it should.
no diagnostics, only user messages "v1.8.1 - also"...
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Thu Oct 10, 2024 10:14 pm
by VictorVG
Try compare load time Xnview MP 1.8.1 x64 and GIMP 2.10.38 x64 - about the same time - from the moment the send Open command is recounted until the picture on the screen in both has passed about 4 seconds.
Test file Media Info:
General
Complete name : example.avif
Format : avif
Codec ID : avif (avif/mif1/miaf/MA1A)
File size : 42.5 MiB
Image
ID : 1
Format : AV1
Format/Info : AOMedia Video 1
Codec ID : av01
Width : 7 117 pixels
Height : 6 828 pixels
Bit depth : 8 bits
Stream size : 42.5 MiB (100%)
Color range : Full
Codec configuration box : av1C
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Fri Oct 11, 2024 7:24 am
by xnview
libheif was updated, could you send me a big avif test file?
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Fri Oct 11, 2024 7:37 am
by VictorVG
Ok! -
https://www.upload.ee/files/17225068/example.avif.html
Test 2:
Compared. The first time after the launch of the XNVIEW MP, both 1.7.2 and 1.8.1 read it for a long time, if the file is closed and re -open, then at any next call the picture is drawn in a split second, and judging by the sound, at the first opening, there is an appeal to the HDD.
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Sat Oct 12, 2024 8:21 am
by xnview

Thanks to your detailed description I can reproduce
the problem.
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Sat Oct 12, 2024 5:15 pm
by VictorVG
Ok! Big thanks!
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Mon Oct 14, 2024 7:53 am
by xnview
This problem is supposed to be fixed in
XnView MP 1.8.2. Please check and confirm the bug fix here.
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Mon Oct 14, 2024 9:55 pm
by VictorVG
Compared to 1.8.1, the opening time has sharply decreased. At the first opening, XnView MP 1.8.2 spends some time creating a sketch and its recording in the database, and then opens the file instantly. GIMP 2.10.38 even if it is already launched and performs the operation "Open - Close - Open the file" reads it noticeably longer. For verification, I used the same "example.avif". At the moment I am waiting for confirmation of correction from
Benchmark on topic at
forum.ru-board.com.
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Tue Oct 15, 2024 7:37 pm
by VictorVG
Benchmark confirmed the correction. FIXED
Re: v1.8.x AVIF decoding slower then 1.7.2
Posted: Wed Oct 16, 2024 3:57 pm
by purpleguy
Thank you so much for this!