Tencent / Tencent/libpag

PAG视频播放耗时问题

Open
#3,640 2 comments 0 reactions 1 assignee View on GitHub

@kevingpqi123 is already working on this.

Since Jul 30, 2026.

Dominant language
HTML
Stars
5.8k
Forks
531
Avg merge
8d 55m
Merged PRs (30d)
17

Description

【版本信息】

4.1.13

【平台信息】

Android 原生

【预期的表现】

连续播放15分钟PAG视频,帧率应该保持15 FPS

【实际的情况】

连续播放15分钟PAG视频后,帧率低于2帧

PAG 单帧渲染耗时集中在 libpag 的 flushAndSignalSemaphore(),中位约 109ms、P90约 243ms,极端达 2.57s,

【Demo及附件】

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.