为何导出的pag文件动画,在客户端本地预览时候动画是正常播发的,一放到网页上预览,就会卡一帧停止 #997
-
【版本信息】PAG SDK 版本 | mac 10.15.7 | PAGViewer 4.2.63.71 | AE 2020。 0FJMHKUHinj1fOkc9f055V1qT51BAvqgo8K2wYZI.pag.zip
您好, 你可以在PAGViewer进行性能分析, 可以看到在眨眼这一帧耗时非常大, 在web端会放大这种性能差异. 关于素材的性能优化,可以看下这几篇文档: https://pag.art/docs/optimization.html https://pag.art/docs/profiler.html https://pag.art/docs/pag-export-verify.html 这里更需要关注的是 Videos (BMP 预合成)的数量和图层的数量,一个 Videos 相当于内部有一个视频,视频的解码则是耗资源的操作,需要控制的是这里的数量,另外图层的数量越多相当于需要绘制的内容越多,而同样的动画有多种实现方式,尽量简化实现 此外需要关注的是渲染耗时,避免出现红色的 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
The above content was transferred from a legacy post on the PAG forum |
Beta Was this translation helpful? Give feedback.


The above content was transferred from a legacy post on the PAG forum
以上内容搬运来自 PAG 论坛的历史帖子