Skip to content

Windows平台如何解析Composition为VideoComposition类型的pag? #1019

Closed Answered by domchen
scuhappy asked this question in Q&A
Discussion options

You must be logged in to vote

在默认的Platform基类里有注册libavc的软件解码器,你检查一下是不是自己在CmakeLists编译参数里关闭了libavc模块,否则除了web平台,其他平台默认都会带这个。自带的qt demo我在Windows上运行是可以正常解码视频序列帧的。但是libavc性能比较差,由于开源协议不兼容,我们没法直接内置ffmpeg,如果你需要性能更好的软件解码器,可以参考这个项目https://github.com/libpag/ffavc 编译一下出动态库,然后自己注册给pag使用就行。ffavc仓库里有注册的demo可以参考一下

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@scuhappy
Comment options

Answer selected by domchen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants