美摄SDK For iOS  3.7.2
构造函数 | 类方法 | 属性 | 所有成员列表
NvsSmartCutGenerator类 参考

智能剪辑类 更多...

#import <NvsSmartCutGenerator.h>

类 NvsSmartCutGenerator 继承关系图:

构造函数

(BOOL) - startSmartCut:videoFileList:templatePathList:captionPath:captionLicPath:filterPath:filterLicPath:location:
 开始智能剪辑 更多...
 
(BOOL) - startSmartCut:templatePathList:captionPath:captionLicPath:filterPath:filterLicPath:location:
 
(BOOL) - changeTemplate:
 切换模板 更多...
 

类方法

(instancetype) + sharedInstance:
 对智能剪辑类的单例实例进行初始化 更多...
 
(void) + close
 销毁智能剪辑类实例。注意: 销毁之后可以再次创建及获取 更多...
 

属性

id< SmartCutGeneratorDelegatedelegate
 

详细描述

智能剪辑类

函数文档

◆ changeTemplate:

- (BOOL) changeTemplate: (NSString *)  templatePath

切换模板

参数
templatePath模板路径

◆ close

+ (void) close

销毁智能剪辑类实例。注意: 销毁之后可以再次创建及获取

参见
sharedInstance

◆ sharedInstance:

+ (instancetype) sharedInstance: (int)  flag

对智能剪辑类的单例实例进行初始化

参数
flags标志字段,目前暂时为0
返回
返回智能剪辑类的单例实例对象
自从
2.13.0
参见
+ close

◆ startSmartCut:templatePathList:captionPath:captionLicPath:filterPath:filterLicPath:location:

- (BOOL) startSmartCut: (NSArray< NvsSmartCutSCDInfo * > *)  scdInfoList
templatePathList: (NSArray< NSString * > *)  templatePathList
captionPath: (NSString *)  captionPath
captionLicPath: (NSString *)  captionLicPath
filterPath: (NSString *)  filterPath
filterLicPath: (NSString *)  filterLicPath
location: (NSString *)  location 

◆ startSmartCut:videoFileList:templatePathList:captionPath:captionLicPath:filterPath:filterLicPath:location:

- (BOOL) startSmartCut: (NSMutableArray< NSString * > *)  scdFileList
videoFileList: (NSMutableArray< NSString * > *)  videoFileList
templatePathList: (NSMutableArray< NSString * > *)  templatePathList
captionPath: (NSString *)  captionPath
captionLicPath: (NSString *)  captionLicPath
filterPath: (NSString *)  filterPath
filterLicPath: (NSString *)  filterLicPath
location: (NSString *)  location 

开始智能剪辑

参数
scdFileListscd文件路径列表
videoFileList视频/图片文件路径列表
templatePathList模板路径列表
captionPath字幕文件路径
captionLicPath字幕授权文件路径
filterPath滤镜文件路径
filterLicPath滤镜授权文件路径
location地理位置,将作为地理字幕显示在视频中
返回
返回布尔值。值为true则成功,false则失败。

属性说明

◆ delegate

- (id<SmartCutGeneratorDelegate>) delegate
readwriteatomicweak

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