Skip to content

web端使用代码播放pag文件掉帧 #2402

Answered by kevingpqi123
hht123-hht asked this question in Q&A
Discussion options

You must be logged in to vote

大家多看下 pag 官网上面的文章:https://pag.art/docs/optimization.html
这里的动效其实不复杂,采用纯矢量的实现方式可以获得很好的性能,BMP 预合成本质上就是视频,在 Web 端视频解码始终是性能瓶颈。
后续大家遇到性能问题,首先需要分析的就是素材,不是所有的 pag 的文件的性能都是一样,而是和素材复杂度强相关。

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kevingpqi123
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants