TuSDKMovieSpeedComposition Class Reference

Inherits from NSObject
Declared in TuSDKMovieSpeedComposition.h

Overview

视频快慢速编辑工具

功能 1、将一个视频的一个或多个多个片段进行快慢速编辑 2、移除视频中的一个或多个片段

– initWithMoviePath:

初始化TuSDKMovieSpeedComposition

- (instancetype)initWithMoviePath:(NSString *)moviePath

Parameters

moviePath

视频地址

Return Value

TuSDKMovieSpeedComposition

Declared In

TuSDKMovieSpeedComposition.h

– startComposition

开始变速合成

- (void)startComposition

Declared In

TuSDKMovieSpeedComposition.h

– startCompositionWithCompletionHandler:

开始变速合成视频 block回调

- (void)startCompositionWithCompletionHandler:(void ( ^ ) ( NSString *outputFilePath , CGFloat progress , lsqMovieSpeedCompositionStatus status ))handler

Parameters

handler

完成回调处理

Declared In

TuSDKMovieSpeedComposition.h

– cancelComposition

取消操作

- (void)cancelComposition

Declared In

TuSDKMovieSpeedComposition.h

– startAudioCompositionWithCompletionHandler:

开始裁剪音频

- (void)startAudioCompositionWithCompletionHandler:(void ( ^ ) ( NSString *outputFilePath , CGFloat progress , lsqMovieSpeedCompositionStatus status ))handler

Declared In

TuSDKMovieSpeedComposition.h