Git Product home page Git Product logo

Comments (6)

ShowMeThe avatar ShowMeThe commented on June 5, 2024 2

API 28 有个AnimatedImageDrawable支持Animated Webp,支持Buffer , File, res/raw , assests 的输入的,配合Glide还是可以用的。这个就基本是解决API<28以下的机器

from glidewebpdecoder.

zjupure avatar zjupure commented on June 5, 2024

@guod13 可以log看下1s播放了多少帧,只在Galaxy J3 pro上有问题吗,其他机型是否有类似问题。动画播放是handle message驱动的,主线程是否有其他耗时的逻辑导致掉帧了呢

能否提供下webp的图片,尝试使用demo project复现下呢?

from glidewebpdecoder.

guod13 avatar guod13 commented on June 5, 2024

换用了 nexus5,nexus5x,问题同样存在,不过在相对高端的机型表现很好,如小米8,三星S8,这是
我用的 webp 文件(40 ms 一帧),以及播放该 webp 的 trace 文件webp_trace.zip

from glidewebpdecoder.

jemon9 avatar jemon9 commented on June 5, 2024

题主有解决吗,我这边也遇到了同样的问题

from glidewebpdecoder.

gydhy8 avatar gydhy8 commented on June 5, 2024

是同时播放相同的webp文件导致的吗?场景:列表中小图播放,然后点击查看大图再次播放相同的webp,多尝试几次就会出现播放变慢的问题

from glidewebpdecoder.

yushiwo avatar yushiwo commented on June 5, 2024

请问问题有解决吗?小米手机碰到同样问题,webp播放比较缓慢;同样的图用Fresco播放是正常的

from glidewebpdecoder.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.