libpag
libpag copied to clipboard
The official rendering library for PAG (Portable Animated Graphics) files that renders After Effects animations natively across multiple platforms.
## 【版本信息】 4.3.47 (4.2.x版本也可复现) ## 【平台信息】 iOS上的Web 浏览器 移动端Safari,微信端内均可复现 ## 【预期的表现】 正常播放pag ## 【实际的情况】 pag无法加载,播放。无论是把pag放在本地,还是通过url加载,均加载失败。之前是可以播放的。 ## 【Demo及附件】 pag文件:https://mmae.qpic.cn/206/20303/stodownload?filekey=30250201010411300f020200ce040253480400020301b66a040d00000004627466730000000132&hy=SH&storeid=265a5482c000694d70b9d8b8c000000ce00004f4f53482a661b01e6823571a 复现代码: ``` ``` ``` var vConsole = new window.VConsole(); async function fetchAndConvertToBase64(url)...
## 【版本信息】 4.3.47 ## 【平台信息】 iOS 原生 ## 【预期的表现】 播放中的动画,在app退到后台后超过10s中,再回到前台时,动画继续播放。 ## 【实际的情况】 播放中的动画,在app退到后台后超过10s中,再回到前台时,动画停止了,且无法调用play方法继续播放 https://github.com/Tencent/libpag/assets/18586502/2f9a4276-dbd6-421d-977c-fb9dd28ac63b 。 ## 【Demo及附件】 官方demo即可复现
在一台Android9电视盒子设备上PAG动效只能加载第一帧,调用播放的时候日志输出PAGAnimator.play() The scale of animator duration is turned off! 测试了20台设备目前只有这台有这样的问题。 ## 【版本信息】 4.3.17 ## 【平台信息】 Android 原生 ## 【预期的表现】 正常播放 ## 【实际的情况】 只加载了第一帧
## 【版本信息】 4.3.33 ## 【平台信息】 Android 原生 ## 【预期的表现】 无crash ## 【实际的情况】 主堆栈: Signal 6(SIGABRT), Code -1(SI_QUEUE) abort message: 'Scudo ERROR: invalid chunk state when deallocating address 0x200006de1aa0160 ' #00...
## 【版本信息】 4.3.45 ## 【平台信息】 Android 原生 ## 【预期的表现】 截图的时候表现正常,可截图 ## 【实际的情况】 截图时空白,4.2.100是正常的 ## 【Demo及附件】
## 【版本信息】 4.3.47 ## 【平台信息】 Android 原生 ## 【预期的表现】 手机正常播放即可 ## 【实际的情况】 OPPO A5s设备 os系统: 8.1.0 播放这个资源 https://test-static.ohlatech.com//test/xx.pag,一直闪退, 其他手机没有问题, 其他资源没问题,除了这资源 ## 【Demo及附件】 dBinding.pvCurrentBigStar.apply { setPathAsync("https://test-static.ohlatech.com//test/xx.pag") { file -> file?.let {...
## 【版本信息】 4.2.100 ## 【平台信息】 iOS 原生 ## 【预期的表现】 目前我们收集到两类 crash 堆栈,iOS 15、16、17 等都有上报 ### 堆栈1 ``` void* std::__1::__thread_proxy[abi:v15006](void*) (in libpag) (thread:303) tgfx::TaskGroup::RunLoop(tgfx::TaskGroup*) (in libpag) (TaskGroup.cpp:57) tgfx::Task::execute() (in libpag) (Task.cpp:92)...
当前版本有两个top crash,想问下是否更新最新版本就可解决? ## 【版本信息】 4.2.100 ## 【平台信息】 iOS 原生
已参考PAG官网文档进行优化制作,渲染依旧随机报错, 导出插件版本------最新稳定版 ## 【版本信息】 4.3.33 ## 【平台信息】 Android ## 【预期的表现】 **预期想要实现的效果** https://github.com/Tencent/libpag/assets/126870582/f4894930-cad8-4dd4-a745-4b0cbca1cba8 ## 【实际的情况】 上传到APP上后的效果 https://github.com/Tencent/libpag/assets/126870582/c1c188c4-bc8f-4d9d-bf65-6d901b6c19b7 **生成的效果,会根据每次播放生成不同的错误** 错误截图预览  ## 【Demo及附件】 AE工程文件-------工程版本提高CC15-16-22三个版本可供选择 [Untitled Project 提供Demo folder.zip](https://github.com/Tencent/libpag/files/13973625/Untitled.Project.Demo.folder.zip) **初版PAG生成文件** [Opening.zip](https://github.com/Tencent/libpag/files/13973665/Opening.zip) **尝试优化后的PAG文件** [Opening...
## 【版本信息】 4.2.100 ## 【平台信息】 Android 原生 堆栈信息: ``` ANR_EXCEPTION: org.libpag.PAGPlayer.prepare(Native Method) org.libpag.PAGView.doPlay(SourceFile:1) org.libpag.PAGView.resumeAnimator(SourceFile:4) org.libpag.PAGView.onVisibilityAggregated(SourceFile:5) android.view.ViewGroup.dispatchVisibilityAggregated(ViewGroup.java:1699) ... android.view.ViewGroup.dispatchVisibilityAggregated(ViewGroup.java:1699) android.view.ViewGroup.dispatchVisibilityAggregated(ViewGroup.java:1699) android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3892) android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3132) android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:11095) android.view.Choreographer$CallbackRecord.run(Choreographer.java:1592) android.view.Choreographer.doCallbacks(Choreographer.java:1256) android.view.Choreographer.doFrame(Choreographer.java:1125) android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1542) android.os.Handler.handleCallback(Handler.java:966) android.os.Handler.dispatchMessage(Handler.java:110) android.os.Looper.loopOnce(Looper.java:205) android.os.Looper.loop(Looper.java:293)...