#import <NvsMediaFileConvertor.h>
◆ cancelTask:
| - (void) cancelTask: |
|
(int64_t) |
taskId |
|
◆ convertMeidaFile:outputFile:isReverseConvert:fromPosition:toPosition:options:
| - (int64_t) convertMeidaFile: |
|
(NSString *) |
srcFilePath |
| outputFile: |
|
(NSString *) |
outputFilePath |
| isReverseConvert: |
|
(bool) |
isReverse |
| fromPosition: |
|
(int64_t) |
from |
| toPosition: |
|
(int64_t) |
to |
| options: |
|
(NSMutableDictionary *) |
options |
|
|
| |
开始转码
- 参数
-
| srcFilePath | 源文件 |
| outputFilePath | 目标文件 |
| isReverse | 是否倒放转码 |
| from | 转码的起点时间 |
| to | 转码的止点时间 |
| options | 转码参数集合 |
- 返回
- 转码任务ID
◆ init
◆ delegate
该类的文档由以下文件生成: