TuSDKMovieClipper Class Reference

Inherits from NSObject
Declared in TuSDKMovieClipper.h

Overview

视频裁剪器

1、移除一个视频中的某个时间段的内容 2、移除一个视频中的多个时间段的内容 3、消除一个视频的音轨

– initWithMovieURL:

初始化TuSDKMovieClipper

- (instancetype)initWithMovieURL:(NSURL *)movieURL

Parameters

movieURL

视频地址

Return Value

TuSDKMovieClipper

Declared In

TuSDKMovieClipper.h

– startClipping

开始裁剪视频

- (void)startClipping

Declared In

TuSDKMovieClipper.h

– startClippingWithCompletionHandler:

开始裁剪视频 block回调

- (void)startClippingWithCompletionHandler:(void ( ^ ) ( NSString *outputFilePath , lsqMovieClipperSessionStatus status ))handler

Parameters

handler

完成回调处理

Declared In

TuSDKMovieClipper.h

– cancelClipper

取消裁剪操作

- (void)cancelClipper

Declared In

TuSDKMovieClipper.h