TuSDKMediaAssetExtractorPitch Class Reference

Inherits from NSObject
Declared in TuSDKMediaAssetExtractorPitch.h

Overview

低帧率视频补帧补丁

  preOutputPresentationTimeStamp

上一帧视频输出时间

@property (nonatomic) CMTime preOutputPresentationTimeStamp

Availability

v3.4.2

Declared In

TuSDKMediaAssetExtractorPitch.h

  frameDuration

最小帧间隔,使用此字段确定输出帧率

@property (nonatomic) CMTime frameDuration

Availability

v3.4.2

Declared In

TuSDKMediaAssetExtractorPitch.h

  naturalFrameDuration

原视频的平均帧间隔时长,用于对第一帧时长过长时的补帧

@property (nonatomic) CMTime naturalFrameDuration

Availability

v3.4.6

Declared In

TuSDKMediaAssetExtractorPitch.h

  needPitch

是否需要该补丁

@property (nonatomic, readonly) BOOL needPitch

Availability

v3.4.2

Declared In

TuSDKMediaAssetExtractorPitch.h

  outputSampleBuffer

设置当前输出视频帧 会与 preOutputPresentationTimeStamp 比较确定是否需要补帧

@property (nonatomic) CMSampleBufferRef outputSampleBuffer

Availability

v3.4.2

Declared In

TuSDKMediaAssetExtractorPitch.h

– reset

重置补丁

- (void)reset

Availability

v3.4.2

Declared In

TuSDKMediaAssetExtractorPitch.h