CAF tool manual
Meishe special effects creation tool
1.0 version
Beijing Meishe Network Technology Co., Ltd.
table of Contents
1.1. Supported sequence diagram format... 3
1.2. Program support platform... 3
2. CAF production process description... 3
2.1. Use PS/AE and other tools to make sequence diagrams... 3
2.2. Set the number for the sequence diagram... 3
2.3.2. Load the picture and check the effect... 4
2.3.3.1、Output image Format. 4
2.3.3.2、Output Image Width/Hight. 5
3. Use CAF to generate a sticker... 8
Step 1: Log in to the website... 8
Step 2: Register an account... 8
Step 3: Enter the background... 8
Step 4: Click [Upload Material]... 9
CAF introduction
CAF is the sequence animation technology of Meishe SDK, which converts sequence diagrams into animations supported by Meishe SDK.
CAF animation is widely used in beauty photography technology. For example, themes, filters, stickers, face props, etc.
1. CAF support
- jpg / jepg
- png
1.2, program support platform
Windows 7 and above.
2. CAF production process description
2.1. Use PS/AE and other tools to make sequence diagrams
Designers use software such as PS/AE to output sequence diagrams, pay attention to the following points:
- Sequence diagram: the resolution is the same.
B. Sequence diagram: consistent format.
2.2, set the number for the sequence diagram
Names are based on the sequence of the sequence diagram, starting from 0.
2.3, use CAF tool
Double-click NvCafCreator.exe.
2.3.2. Load the picture and view the effect
Click [Load Input Image] in the upper right corner to find the sequence diagram folder;
Select a sequence diagram in the folder, then [Open], drag the [Slider] to view the effect
Set CAF animation parameters:
-
- Output Image Format;
- Output Image Width/Hight;
- Frame Rate、Default Loop Mode;
- Parameter settings such as Quality.
The following is introduced.
2.3.3.1、Output image Format
The output image format, there are two kinds of PNG and JPG, PNG has a transparent channel, JPG does not have a transparent channel, and it is automatically selected according to the imported image
2.3.3.2、Output Image Width/Hight
Output CAF image resolution, ensure the output aspect ratio, the imported PNG image aspect ratio is consistent;
Zoom in and out in equal proportions, do not change the ratio, otherwise the CAF picture will be deformed.
2.3.3.3、CFrame Rate
Frame rate setting, the default is 15 frames per second, which means that 15 frames are played in 1 second.
According to the frame rate setting of the exported sequence diagram, if it is inconsistent, the animation may become faster or slower.
Note: In order to ensure efficiency, generally speaking, the export uses 15-25 frames per second.
2.3.3.4、Default Loop Mode
Four loop modes of animation: None, Repeat, Mirror, Repeat Last Frame.
Using CAF to make stickers and sticker animation is 2 seconds by default. When a sticker is applied to a video and the display duration exceeds the sticker duration, the meaning of the four different modes is as follows:
None: The effect is seen in the first 2 seconds, and it disappears after more than 2 seconds;
Repeat: repeat playback;
Mirror: Play in forward order first, then play in reverse order, and so on;
Repeat Last Frame: Play once, then stop at the last frame, and repeat the playback;
Set the quality, use the JPG mode, and adjust the quality of the exported CAF.
To export CAF, click [Generate CAF file] in the lower right corner and select the location to export the file.
2.4, view CAF
After the CAF is made, check the effect through the tools in the package.
Open NvCafViewer.exe in the toolkit, import the CAF file, and check the correctness of the effect.
3. Use CAF to generate a sticker
CAF is the basic technology of Meishe, which is widely used in animated sticker materials. Animated stickers are widely used in editing.
Step 1: Log in to the website
Log in to the www.meishesdk.com website.
Step 2: Register an account
Register a user.
Step 3: Enter the background
Enter the background, select [Custom Stickers], and click [Make Stickers].
Step 4: Click [Upload Material]
Step 5: Make it
A. After uploading, select [No effect animation];
B. Then click [Generate] to generate stickers.
C. After success, you can see it in [Created], and use it directly in the access SDK after downloading.