TuSDKMediaAssetReverseExtractor Class Reference
Inherits from | NSObject |
---|---|
Conforms to | TuSDKMediaReverseExtractor |
Declared in | TuSDKMediaAssetReverseExtractor.h |
– initWithAsset:outputTrackMediaType:outputSettings:
初始化数据分离器
- (instancetype _Nullable)initWithAsset:(AVAsset *_Nonnull)asset outputTrackMediaType:(AVMediaType _Nonnull)mediaType outputSettings:(TuSDKMediaAssetExtractorSettings *_Nullable)outputSettings
Parameters
asset |
媒体资产 |
---|---|
outputSettings |
输出设置 An NSDictionary of output settings to be used for sample output. See AVAudioSettings.h for available output settings for audio tracks or AVVideoSettings.h for available output settings for video tracks and also for more information about how to construct an output settings dictionary. |
Return Value
Declared In
TuSDKMediaAssetReverseExtractor.h
timeRange
设置当前时间裁剪区间
@property (nonatomic) CMTimeRange timeRange
Availability
v3.0
Declared In
TuSDKMediaAssetReverseExtractor.h
resetOutputPresentationTimeToZero
是否将基准时间重置为 kCMTimeZero 默认:NO
@property (nonatomic) BOOL resetOutputPresentationTimeToZero
Availability
v3.0
Declared In
TuSDKMediaAssetReverseExtractor.h