-
Notifications
You must be signed in to change notification settings - Fork 91
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
动画播放帧率显著降低 #33
Comments
@guod13 可以log看下1s播放了多少帧,只在Galaxy J3 pro上有问题吗,其他机型是否有类似问题。动画播放是handle message驱动的,主线程是否有其他耗时的逻辑导致掉帧了呢 能否提供下webp的图片,尝试使用demo project复现下呢? |
换用了 nexus5,nexus5x,问题同样存在,不过在相对高端的机型表现很好,如小米8,三星S8,这是 |
题主有解决吗,我这边也遇到了同样的问题 |
是同时播放相同的webp文件导致的吗?场景:列表中小图播放,然后点击查看大图再次播放相同的webp,多尝试几次就会出现播放变慢的问题 |
API 28 有个AnimatedImageDrawable支持Animated Webp,支持Buffer , File, res/raw , assests 的输入的,配合Glide还是可以用的。这个就基本是解决API<28以下的机器 |
请问问题有解决吗?小米手机碰到同样问题,webp播放比较缓慢;同样的图用Fresco播放是正常的 |
同问? 难道要换加载框架 工作量大了 |
难道只有这个大佬这样,反射去改?https://blog.csdn.net/just_hu/article/details/124892781 |
播放 animated webp 在三星 Galaxy J3 pro (手机并不差)上帧率明显下降,本来一秒30帧的 webp, we用 chrome 播放很自然,播放起来感觉只有 10 帧
The text was updated successfully, but these errors were encountered: