tencent cloud

User Generated Short Video SDK

iOS

Download
포커스 모드
폰트 크기
마지막 업데이트 시간: 2026-05-11 17:46:58
AI 번역

Feature Overview

Through motion effect interfaces, you can add dynamic transition effects to short videos. This document provides motion effect management features, including adding, updating, and removing effects, with support for scaling modes and time parameters.

Related Interface Classes

Interface Class Name
Description
TAVEditor
SDK operation entry class.

Motion Effect Methods

Add Motion Effect

/// Set effect
/// - Parameters:
/// - path: Effect asset path
/// - timeRange: Time range for the effect
/// - return: Effect ID
- (int)addMotionEffect:(NSString *)path timeRange:(CMTimeRange)timeRange;

Adjust Motion Effect Playback Time

/// Update effect playback time
/// - Parameters:
/// - effectId: ID generated when creating the effect
/// - timeRange: Effect display time range
- (void)updateMotionEffect:(int)effectId playRange:(CMTimeRange)timeRange;

Remove Motion Effect

/// Remove effect
/// - Parameter effectId: ID generated when creating the effect
- (void)removeMotionEffect:(int)effectId;

/// Remove all effects
- (void)removeAllMotion;


도움말 및 지원

문제 해결에 도움이 되었나요?

피드백