智能剪辑类
更多...
#import <NvsSmartCutGenerator.h>
◆ changeTemplate:
| - (BOOL) changeTemplate: |
|
(NSString *) |
templatePath |
|
◆ close
销毁智能剪辑类实例。注意: 销毁之后可以再次创建及获取
- 参见
- sharedInstance
◆ sharedInstance:
| + (instancetype) sharedInstance: |
|
(int) |
flag |
|
对智能剪辑类的单例实例进行初始化
- 参数
-
- 返回
- 返回智能剪辑类的单例实例对象
- 自从
- 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 |
|
|
| |
开始智能剪辑
- 参数
-
| scdFileList | scd文件路径列表 |
| videoFileList | 视频/图片文件路径列表 |
| templatePathList | 模板路径列表 |
| captionPath | 字幕文件路径 |
| captionLicPath | 字幕授权文件路径 |
| filterPath | 滤镜文件路径 |
| filterLicPath | 滤镜授权文件路径 |
| location | 地理位置,将作为地理字幕显示在视频中 |
- 返回
- 返回布尔值。值为true则成功,false则失败。
◆ delegate
该类的文档由以下文件生成: