API | Description |
The TXVideoEditer constructor. | |
Specifies the video path. This API works in v18 or later on Android. | |
Sets the custom image processing callback (not supported in UGSV Lite). | |
Releases the resources after a video is processed or processing is canceled. |
API | Description |
Sets the filter strength (not supported in UGSV Lite). | |
Sets the filter (not supported in UGSV Lite). | |
Sets multiple filters (not supported in UGSV Lite). | |
Sets the beautification and brightening strength (not supported in UGSV Lite). | |
Sets the start time for an effect (not supported in UGSV Lite). | |
Sets the end time for an effect (not supported in UGSV Lite). | |
Removes the last effect applied (not supported in UGSV Lite). | |
Removes all effects (not supported in UGSV Lite). |
API | Description |
Sets the start and end time for video clipping. | |
Sets the output video bitrate. | |
Sets the output audio bitrate. | |
Registers a listener for video generation. | |
Generates a video according to the action list. | |
Cancels generating the video. |
API | Description |
Specifies the images that are to be converted to a video (not supported in UGSV Lite). | |
Sets the transition effects (not supported in UGSV Lite). |
API | Description |
Sets the playback speed for multiple video segments (not supported in UGSV Lite). | |
Loops multiple video segments (not supported in UGSV Lite). | |
Plays a video backwards (not supported in UGSV Lite). |
API | Description |
Registers a listener for video preview. | |
Initializes the view for video preview. | |
Plays a video for a specific time period. | |
Pauses playback. | |
Resumes playback. | |
Stops playback (releases the resources). | |
Previews a frame. | |
Refreshes a frame to show the image without ghosting. This is used for the subtitle editing view. | |
Sets the rendering rotation (not supported in UGSV Lite). |
API | Description |
Sets the preprocessing callback. | |
Preprocesses a video. |
API | Description |
Sets the background music (not supported in UGSV Lite). | |
Sets whether to loop the background music (not supported in UGSV Lite). | |
Sets the time point of the video to start playing music (not supported in UGSV Lite). | |
Sets the start and end time of the background music (not supported in UGSV Lite). | |
Sets the volume of the background music (not supported in UGSV Lite). | |
Sets fade-in and fade-out effects for the background music (not supported in UGSV Lite). | |
Sets the audio volume of the video (not supported in UGSV Lite). |
API | Description |
Sets static stickers (not supported in UGSV Lite). | |
Sets animated stickers (not supported in UGSV Lite). | |
Sets speech bubbles (not supported in UGSV Lite). | |
Adds a watermark. | |
Adds a watermark to the closing segment (not supported in UGSV Lite). |
API | Description |
Sets a global watermark (not supported in UGSV Lite). | |
Adds a watermark to the closing segment (not supported in UGSV Lite). |
API | Description |
Gets the thumbnail list. | |
Gets the thumbnail list. | |
Sets the thumbnail output by preprocessing. | |
Sets the callback for thumbnail generation by preprocessing. | |
Gets the number of thumbnails. |
API | Description |
The video generation progress. | |
A video was generated. |
API | Description |
The current preview time, in microseconds. | |
The preview ended. |
API | Description |
An error occurred during video generation. | |
The preview progress, in microseconds. | |
The preview ended. |
API | Description |
The preprocessing progress. | |
The preprocessing was completed. |
API | Description |
The texture callback. You can process the video by yourself in this callback. | |
The texture releasing callback. You can release the OpenGL resources in this callback. |
API | Description |
The thumbnail callback. |
API | Description |
The video information. | |
The preview parameters. | |
The editing result. | |
Preview errors. | |
The generation result. | |
The subtitle information. | |
The static sticker information. | |
The animated sticker information. | |
The speed changing information. | |
The area to which the watermark is applied. | |
The thumbnail information. | |
The looped segment. | |
The position and dimensions of each video. |
Message | Code | Description |
GENERATE_RESULT_OK | 0 | The video was generated successfully. |
GENERATE_RESULT_FAILED | -1 | Failed to generate the video. |
GENERATE_RESULT_LICENCE_VERIFICATION_FAILED | -5 | Failed to generate the video due to a license verification error. |
Message | Code | Description |
PREVIEW_ERROR_VIDEO_DECODE_FAIL | -1 | Failed to preview the video due to a decoding error. |
Was this page helpful?