TuSDKMediaMovieEditorTranscoder Class Reference
Inherits from | TuSDKMediaMovieAssetExportSession : NSObject |
---|---|
Declared in | TuSDKMediaMovieEditorTranscoder.h |
– initWithInputAsset:videoDecodeOutputSettings:audioDecodeOutputSettings:exportOutputSettings:
初始化视频导出会话
- (instancetype _Nullable)initWithInputAsset:(AVAsset *_Nonnull)inputAsset videoDecodeOutputSettings:(TuSDKMediaDecoderOutputSettings *_Nullable)videoDecodeOutputSettings audioDecodeOutputSettings:(TuSDKMediaDecoderOutputSettings *_Nullable)audioDecodeOutputSettings exportOutputSettings:(nullable TuSDKMediaMovieEditorTranscoderSettings *)exportEncodeOutputSettings
Parameters
inputAsset |
输入的视频资源 |
---|---|
exportEncodeOutputSettings |
输出设置 |
Return Value
TuSDKMediaMovieEditorTranscoder
Declared In
TuSDKMediaMovieEditorTranscoder.h
delegate
转码器事件委托
@property (nonatomic, weak) id<TuSDKMediaEditorTranscoderDelegate> _Nullable delegate
Availability
v3.0
Declared In
TuSDKMediaMovieEditorTranscoder.h