tencent cloud

User Generated Short Video SDK

iOS

Download
Focus Mode
Font Size
Last updated: 2026-05-11 17:46:57
AI-Translated

Feature Overview

Filters can change the style and color of video frames. This document introduces how to add and use filters.

Related Interface Classes

Interface Class Name
Description
TAVEditor
SDK operation entry class.

Filter Methods

Add Filter

/// Set filter
/// - Parameters:
/// - lutPath: Filter asset path
/// - strength: Filter intensity
/// - timeRange: Filter effective time range
/// - return: Unique ID generated when creating the filter
- (int)addFilter:(NSString *)lutPath strength:(float)strength timeRange:(CMTimeRange)timeRange;

Adjust Filter Intensity

/// Adjust filter intensity and time range
/// - Parameters:
/// - lutId: Unique ID generated when creating the filter
/// - strength: Filter intensity
/// - timeRange: Filter effective time range
- (void)setFilter:(int)lutId Strength:(float)strength timeRange:(CMTimeRange)timeRange;

Remove Filter

/// Remove filter
/// - Parameter lutId: Unique ID generated when creating the filter
- (void)removeFilter:(int)lutId;

/// Remove all filter effects
- (void)removeAllFilter;


Help and Support

Was this page helpful?

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

Feedback