Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gifs played very slow in android #400

Open
univers3 opened this issue Jan 31, 2019 · 7 comments
Open

Gifs played very slow in android #400

univers3 opened this issue Jan 31, 2019 · 7 comments

Comments

@univers3
Copy link

univers3 commented Jan 31, 2019

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
Copy link
Author

Update:

Looks like that the problem is Glide:
bumptech/glide#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?

@Komeyl94
Copy link

Komeyl94 commented Feb 6, 2019

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

@WrathChaos
Copy link

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

@JohnBerd
Copy link

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

@AlirezaAsadi
Copy link

+1

@micheilsgrey
Copy link

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.

@KishorJena
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants