react-native-fast-image icon indicating copy to clipboard operation
react-native-fast-image copied to clipboard

Gifs played very slow in android

Open univers3 opened this issue 6 years ago • 7 comments

Hi everyone, I'm having a strange behaviour with fastimage and android.

A remote GIF put inside an <Image> works pretty well, played at the original speed.

The same remote GIF put inside a <FastImage> is played at variable speed. Seems that the playing speed depends from the network speed and even after the first loop, keeps playing at the same speed. So, it's not due to a buffering stage or similar.

This makes totally useless FastImage for GIFs in Android, because the playing speed is around one tenth of the original.

Someone got the same issue? Any workaround?

Thank you.

"react-native-fast-image": "5.1.1"

univers3 avatar Jan 31 '19 14:01 univers3

Update:

Looks like that the problem is Glide: https://github.com/bumptech/glide/issues/2471

For GIFs this library should use Fresco and not Glide. Is way better, even from a performances point of view.

Any way to force FastImage to use Fresco in Android?

univers3 avatar Jan 31 '19 14:01 univers3

I'm actually having this issue on both iOS and Android, which in this case iOS performs worse than Android! Hope this gets solved soon

Komeyl94 avatar Feb 06 '19 08:02 Komeyl94

I have the same issue. iOS works great but Android is extremely slow. @DylanVann Any thoughts?

WrathChaos avatar Dec 12 '19 12:12 WrathChaos

Same problem on Android here, waiting for a solution...

JohnBerd avatar Mar 11 '20 16:03 JohnBerd

+1

AlirezaAsadi avatar May 19 '20 01:05 AlirezaAsadi

Same issue here, but I still decide to choose this library because I having a terrible performance of the whole app when I am showing images in my FlatList and Carousel, especially carousel, I having terrible drops of fps from few frames up to 5 fps. With Fast Image I having almost perfect fps no drops but gifs loading too slow and playing slower than in normal browsers.

micheilsgrey avatar May 19 '20 18:05 micheilsgrey

static images have no issues but animated webp and gif causing performance issue

KishorJena avatar Jan 18 '24 12:01 KishorJena