deckerst / aves

Aves is a gallery and metadata explorer app, built for Android with Flutter.
BSD 3-Clause "New" or "Revised" License
2.85k stars 108 forks source link

Animated gif/webp is played slower than expected. #513

Open z0cMWWKmGfudsDG opened 1 year ago

z0cMWWKmGfudsDG commented 1 year ago

Describe the bug Animated webp is player slower than expected.

To Reproduce Download a small (both resolution and file size) animated webp picture and see different playing speed in web browser and aves.

Expected behavior It should be played as normal FPS setted in webp file.

Screenshots No.

System information and logs: No.

Additional context Version: 1.7.10

deckerst commented 1 year ago

A sample: 636kb, 9sec, 320x240@15fps

Aves plays that one in ~11s instead of ~9s.

I also noticed that some webp loop and some don't. Not sure where the responsibility lies, image or player.

Edit: added some Flutter issues with multi-frame decoding.

Speed issues:

Rendering issues:

z0cMWWKmGfudsDG commented 1 year ago

I also noticed that some webp loop and some don't. Not sure where the responsibility lies, image or player.

Should not worry about it. Webp sets loop times itself. Can be one time, can be several times, can be endless.