TuSDKMediaMovieFilmEditSaver Class Reference
Inherits from | TuSDKMediaMovieAssetExportSession : NSObject |
---|---|
Declared in | TuSDKMediaMovieFilmEditSaver.h |
Other Methods
– initWithInputAsset:mediaEffects:exportOutputSettings:
初始化视频导出会话
- (instancetype _Nullable)initWithInputAsset:(AVAsset *_Nonnull)inputAsset mediaEffects:(NSArray<id<TuSDKMediaEffect> > *_Nullable)mediaEffects exportOutputSettings:(nullable TuSDKMediaMovieFilmEditSaverSettings *)exportOutputSettings
Parameters
mediaEffects |
导出的特效信息 |
---|---|
exportOutputSettings |
输出设置 |
asset |
输入的视频资源 |
Return Value
TuSDKMovieEditorExportSession
Declared In
TuSDKMediaMovieFilmEditSaver.h
inputAssetInfo
获取视频信息,视频加载完成后可用
@property (nonatomic, readonly) TuSDKMediaAssetInfo *inputAssetInfo
Availability
v3.0
Declared In
TuSDKMediaMovieFilmEditSaver.h
videoRender
视频外部渲染接口
@property (nonatomic, weak) id<TuSDKMediaVideoRender> _Nullable videoRender
Availability
v3.0
Declared In
TuSDKMediaMovieFilmEditSaver.h
audioRender
音频外部渲染接口
@property (nonatomic, weak) id<TuSDKMediaAudioRender> _Nullable audioRender
Availability
v3.0
Declared In
TuSDKMediaMovieFilmEditSaver.h
delegate
TuSDKMovieEditorExportSession 进度委托
@property (nonatomic, weak) id<TuSDKMediaMovieFilmEditSaverDelegate> _Nullable delegate
Availability
v3.0
Declared In
TuSDKMediaMovieFilmEditSaver.h
MediaTimelineSlice Methods
– appendSlice:
在原有特效后追加新的特效
- (BOOL)appendSlice:(TuSDKMediaTimelineSlice *_Nonnull)timelineSlice
Parameters
timelineSlice |
特效片段z |
---|
Availability
v3.0
Declared In
TuSDKMediaMovieFilmEditSaver.h