tencent cloud

Tencent Effect SDK

Release Notes and Announcements
Release Notes
Tencent Effect SDK V3.5 Version Released
Tencent Effects SDK V3.0 Version Related API and Material Changes
Product Introduction
Overview
Features
Basic Concepts
Strengths
Use Cases
Purchase Guide
Pricing Overview
Purchase Guide
Payment Overdue and Refund
Tutorial
Demos
Free Trial License
Licenses
Adding and Renewing a License (Mobile)
Adding and Renewing a License (Desktop)
Adding and Renewing a License (Web)
FAQs
SDK Download
Features
SDK Download
Version History
SDK Integration Guide(No UI)
General Integration of Tencent Effect
Integrating Capabilities
SDK Integration Guide(Including UI)
General Integration of Tencent Effect
Integrating Tencent Effect into MLVB SDK
Integrating Tencent Effect into TRTC SDK
Integrating Tencent Effect into UGSV SDK
Virtual Avatars
API Documentation
iOS
Android
Flutter
Web
Feature Guide
Reducing SDK Size
SDK Integration Issue Troubleshooting
Performance Fine-Tuning
Effect Fine-Tuning
Material Usage
Effect Parameters
Recommended Parameters in Beautification Scenarios
UGSV Enterprise Edition Migration Guide
Integrating Tencent Effect for Third-Party Publishers (Flutter)
Integrating Beauty AR Web into Mini Programs
Tencent Effect Studio Usage
Beauty AR Web
Overview
Quick Start
SDK Integration
Parameters and APIs
Console Guide
Demos
Preset Effect List
Practical Tutorial
FAQs
FAQs
General
Technical
License
Legacy Documentation
Recommended Parameters in Beautification Scenarios
Beauty Parameters Table
One-Minute Integration of TRTC
One-Minute Integration of Live Streaming
TE SDK Policy
Privacy Policy
Data Processing And Security Agreement
Contact Us

Export PAG Specification

PDF
Focus Mode
Font Size
Last updated: 2024-03-22 18:45:44

Determine the PAG export method (whether to enter the animation stage)

PS Static Frame Export: No need for animation effect, you can directly export a PNG in PS.
PNG size: 720*1280.
Click to select the layer you want to export, then click Menu File > Export > Format: PNG..
(Compress the PNG as much as possible)
AE Direct Export: The effect needs to be animated in AE, and PAG can be directly exported in AE.
Video size: 720*1280.
PAG parameter setting in AE (only need to set it before the first export, set as follows)
After Effects > Preferences > PAG Config...



Image compression quality parameter is set to default 80, which can be adjusted according to the final effect quality and package size.
Sequence Frame Type: Video Sequence Frame.
The default parameter for sequence frame image quality is 80, and the upper limit for export size is 720, which can be adjusted according to the actual situation.

PAG Export Before

When the exported effects support PAG, you can name them according to the material abbreviation for easy identification of the materials.
When you need to export effects that PAG does not support, you need to create a new composition for the corresponding layer or sub-composition, and add the _bmp suffix when naming the new composition.
Note:
When adding the "_bmp" suffix, it should be added to the composition naming, not the layer naming.
Please make sure that the duration of the exported composition is consistent with the actual duration of the material.

Different Scenarios PAG Export

PAG export scene types: Full-screen material, facial tracking material, with or without overlay mode.
Full-screen material (fixed on the screen, not following user movement): Directly export according to screen size (720*1280).
File > Export > PAG File
Facial tracking part: Facial tracking stickers (such as: Blush, Head stickers, Facial tracking stickers, etc.). Use the region of interest tool.
Use the region of interest to draw an appropriate size bounding box.



Cut out appropriate size, synthesize > crop and synthesize to target area.
Obtained after cutting.



Repeat direct export steps: File > Export > PAG File.
If there is an overlay method, export the corresponding PAG for the composites under the same overlay method.
After PAG export, you can directly preview it with PAGViewer.

PAG Export Size, Frame Rate, Duration, Naming, Quantity, and Size Specification

Pag export size: The size of facial stickers depends on the sticker size; for panorama (foreground/background) dynamic stickers, it is recommended that the long side does not exceed 720px; for static stickers, also ensure that they are within 720px, and it is recommended to directly export a single png (within 720*1280) using Photoshop.
Pag frame rate: 24fps.
Pag duration: Basically around 5s, not exceeding 8s at the longest, unless in special cases (such as lyrics type), and pay attention to seamless looping.
Pag naming: It is recommended to use the english alphabet
Pag quantity: In a PAG package, it is best not to exceed 5 individual pags.
Pag package size: Control the total size of all individual pags within 5M.

Attachment

PAG Viewer download link.


Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback