美摄SDK For iOS  3.13.5
构造函数 | 属性 | 所有成员列表
NvsDetectShotParser类 参考

转场帧检测类 更多...

#import <NvsDetectShotParser.h>

类 NvsDetectShotParser 继承关系图:

构造函数

(instancetype) - init
 
(Boolean) - detect:
 检测视频转场帧 更多...
 
(Boolean) - detect:startTime:endTime:
 检测视频转场帧 更多...
 
(void) - cancelTask:
 取消检测任务 更多...
 

属性

id< NvsDetectShotParserDelegatedelegate
 

详细描述

转场帧检测类

警告
NvsDetectShotParser类中,所有public API不仅可以在UI线程使用,也可以跨线程使用!!!

函数文档

◆ cancelTask:

- (void) cancelTask: (int64_t)  taskId

取消检测任务

参数
taskId任务序号

◆ detect:

- (Boolean) detect: (NSString *)  videoPath

检测视频转场帧

参数
videoPath资源列表
返回
返回布尔值。值为true则成功,false则失败。

◆ detect:startTime:endTime:

- (Boolean) detect: (NSString *)  videoPath
startTime: (int64_t)  startTime
endTime: (int64_t)  endTime 

检测视频转场帧

参数
videoPath资源列表 \startTime 开始时间 \endTime 截止时间,-1表示检测到视频结尾
返回
返回布尔值。值为true则成功,false则失败。

◆ init

- (instancetype) init

属性说明

◆ delegate

- (id<NvsDetectShotParserDelegate>) delegate
readwriteatomicweak

该类的文档由以下文件生成: