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