TuSDKMediaImageComposition Class Reference
Inherits from | NSObject |
---|---|
Conforms to | TuSDKMediaVideoComposition |
Declared in | TuSDKMediaImageComposition.h |
– initWithImage:
根据 UIImage 初始化 Composition
- (instancetype)initWithImage:(UIImage *)image
Parameters
image |
合成项 |
---|
Return Value
TuSDKMediaImageSampleBufferComposition
Declared In
TuSDKMediaImageComposition.h
image
输入的图片数据
@property (nonatomic, readonly) UIImage *image
Availability
v3.4.1
Declared In
TuSDKMediaImageComposition.h
frameInterval
设置或获取帧间隔. 默认:CMTimeMake(1, 30) 该参数会音效输出帧率
@property (nonatomic) CMTime frameInterval
Availability
v3.4.1
Declared In
TuSDKMediaImageComposition.h
maxOutputDuration
最大输出持续时间 默认: CMTimeMakeWithSeconds(1, USEC_PER_SEC)
@property (nonatomic) CMTime maxOutputDuration
Return Value
输出持续时间
Availability
v3.4.1
Declared In
TuSDKMediaImageComposition.h