tencent cloud

腾讯特效 SDK

动态与公告
产品动态
关于腾讯特效 SDK V3.5 版本更新公告
关于腾讯特效 SDK V3.0 版本相关接口及素材变更公告
产品简介
产品概述
产品功能
基本概念
产品优势
应用场景
购买指南
价格总览
购买流程
欠费退费说明
新手指引
Demo 体验
免费测试
License 指引
移动端 License 新增与续期
PC 端 License 新增与续期
Web端 License 新增与续期
常见问题
SDK 下载
功能说明
SDK 下载
版本历史
SDK 集成指引(无 UI)
通用集成腾讯特效
原子能力集成指引
SDK 集成指引(含 UI)
通用集成腾讯特效
直播 SDK 集成腾讯特效
TRTC SDK 集成腾讯特效
短视频 SDK 集成腾讯特效
Avatar 虚拟人集成指引
API 文档
iOS
Android
Flutter
Web
功能实践
SDK 包瘦身
SDK 集成问题排查
性能调优
效果调优
素材使用
美颜参数说明
美颜场景推荐参数
短视频企业版迁移指引
第三方推流接入美颜(Flutter)
小程序美颜特效实践
素材制作工具使用
Web 美颜特效
产品概述
快速上手
SDK 接入
API 文档
控制台指南
Demo 体验
内置素材总览
实践教程
常见问题
常见问题
通用类相关
技术类相关
License 相关
旧版文档
美颜场景推荐参数
美颜参数表
一分钟集成 TRTC
一分钟集成直播
TE SDK 政策
隐私协议
数据处理和安全协议
联系我们

Export pag Tutorial

PDF
聚焦模式
字号
最后更新时间: 2024-03-22 18:45:44

Preparation Work: Download and install pag into AE.

Install PAGViewer: How to Install PAGViewer.
Open AE, and if you see "File > Export > PAG File..." in the menu, it means the installation is successful.

Software Production

Creating dynamic dticker dffect using After Effects software.
Dynamic sticker effect production specifications:
Production composition size: 720*1280.
Composition frame rate: 24fps.
Duration: Generally around 5s, no longer than 8s, unless in special cases (such as lyrics), pay attention to loop connection at the beginning and end.

Pag Export

After completing the production of the dynamic sticker effect in AE, export the corresponding separate pag package.
First, split all the content that needs to be exported separately, and put them into their own new compositions and name them.
Split content:
Foreground: It does not follow the user's face and is placed at the top to cover the user's view. Common examples include frames, magazine cover layouts, etc.
Facial stickers: Follow the user's face or stick to the user's face. Common examples include blush, nose, head ears, beard, etc.
Cutout background: It does not follow the user's face and is placed at the bottom, covered by the user's view area, providing background content for the user.
Put all the layers or compositions with the same blending mode under the named composition into a new composition, and the duration of the new composition is the loop duration of the dynamic effect.
Select the large composition under all layers or compositions, right-click and choose "Pre-compose".
In general situations, it is suggested to name the new synthesized name as the material abbreviation, such as: hat-mz, and check "Move all attributes to the new synthesized image."
If the new synthesis contains effects that pag does not support, a "_bmp" suffix needs to be added to the new synthesis naming.
To obtain the new synthesis as shown in the following figure.
Ensure large synthesis duration is consistent with new synthesis duration, open synthesis, shortcut key: COM+K, can modify large synthesis duration.
Export the synthesis PAG, click File --- Export --- PAG File.

The Difference between Facial Stickers and Foreground / Background Export

The overall steps are the same as the export steps of the foreground PAG, the only difference is that the facial stickers need to be cut to size first, and then exported in the same way:
Click the "region of interest" tool, draw the area where the hat is located, and drag it to the pointer on the timeline, adjust the smallest area within the safe area, and be careful not to cut to the sticker.
Crop to the appropriate size, Combine > Crop and combine to the target area.
Derive the following size, and export.
If there are different stacking methods, put the layers or compositions under the same stacking mode into a new composition, and export step by step.

Other Considerations

To preview the PAG package, you need to install PAGViewer.
When adding the suffix "_bmp", it is for composite naming, not for layer naming.

Attachment

Example diagram's AE output project file download link.
PAGViewer download link.


帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈