TuSDKMediaMovieEditorSaver Class Reference

Inherits from TuSDKMediaMovieAssetExportSession : NSObject
Declared in TuSDKMediaMovieEditorSaver.h

Overview

特效导出

Other Methods

– initWithInputAsset:mediaEffects:exportOutputSettings:

初始化视频导出会话

- (instancetype _Nullable)initWithInputAsset:(AVAsset *_Nonnull)inputAsset mediaEffects:(NSArray<id<TuSDKMediaEffect> > *_Nullable)mediaEffects exportOutputSettings:(nullable TuSDKMediaMovieEditorSaverSettings *)exportOutputSettings

Parameters

inputAsset

输入的视频资源

mediaEffects

导出的特效信息

exportOutputSettings

输出设置

Return Value

TuSDKMovieEditorExportSession

Declared In

TuSDKMediaMovieEditorSaver.h

  inputAssetInfo

获取视频信息,视频加载完成后可用

@property (nonatomic, readonly) TuSDKMediaAssetInfo *inputAssetInfo

Availability

v3.0

Declared In

TuSDKMediaMovieEditorSaver.h

  videoRender

视频外部渲染接口

@property (nonatomic, weak) id<TuSDKMediaVideoRender> _Nullable videoRender

Availability

v3.0

Declared In

TuSDKMediaMovieEditorSaver.h

  audioRender

音频外部渲染接口

@property (nonatomic, weak) id<TuSDKMediaAudioRender> _Nullable audioRender

Availability

v3.0

Declared In

TuSDKMediaMovieEditorSaver.h

  mediaEffectSync

特效同步器

@property (nonatomic, weak) id<TuSDKMediaEffectSync> _Nullable mediaEffectSync

Availability

v3.0.1

Declared In

TuSDKMediaMovieEditorSaver.h

  delegate

TuSDKMovieEditorExportSession 进度委托

@property (nonatomic, weak) id<TuSDKMediaMovieEditorSaverDelegate> _Nullable delegate

Availability

v3.0

Declared In

TuSDKMediaMovieEditorSaver.h

MediaTimelineSlice Methods

– appendSlice:

在原有特效后追加新的特效

- (BOOL)appendSlice:(TuSDKMediaTimelineSlice *_Nonnull)timelineSlice

Parameters

timelineSlice

特效片段

Availability

v3.0

Declared In

TuSDKMediaMovieEditorSaver.h