美摄SDK For iOS
3.14.0
|
视频特效 更多...
#import <NvsVideoFx.h>
属性 | |
NvsVideoFxType | videoFxType |
视频特效类型 更多... | |
NSString * | bultinVideoFxName |
内嵌视频特效名字。如果不是内嵌视频特效,返回nil 更多... | |
NSString * | videoFxPackageId |
视频特效资源包ID。如果不是资源包视频特效,返回nil 更多... | |
unsigned int | index |
视频特效索引 更多... | |
int64_t | inPoint |
视频特效在片段上显示的入点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。 更多... | |
int64_t | outPoint |
视频特效在片段显示上的出点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。 更多... | |
![]() | |
NvsFxDescription * | description |
特效描述 更多... | |
视频特效
视频特效是显示在视频片段上的特效,能够改变视频图像整体或者局部的颜色、亮度、透明度等,使视频显示出特殊的效果。在视频片段(Video Clip)上,可以添加、移除、获取多个视频特效。
- (int64_t) changeInPoint: | (int64_t) | newInPoint |
改变视频特效在片段上显示的入点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
newInPoint | 视频特效在片段上的新的入点(单位微秒) |
- (int64_t) changeOutPoint: | (int64_t) | newOutPoint |
改变视频特效在片段上显示的出点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
newOutPoint | 视频特效在时间线上的新的出点(单位微秒) |
- (bool) getAbsoluteTimeUsed |
获取特效入出点是否为绝对时间。
- (CGPoint) mapPointFromCanonicalToParticleSystem: | (CGPoint) | ptCononical |
Converts timeline coordinates to particle system coordinates.
ptCononical | Timeline coordinates. |
- (void) movePosition: | (int64_t) | offset |
改变视频特效在片段上的显示位置(入点和出点同时偏移offset值),相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
offset | 入点和出点改变的偏移值(单位微秒) |
- (void) setAbsoluteTimeUsed: | (bool) | enable |
设置特效入出点为绝对时间。
enable | 检测开关 |
|
readatomicassign |
内嵌视频特效名字。如果不是内嵌视频特效,返回nil
|
readatomicassign |
视频特效索引
|
readatomicassign |
视频特效在片段上显示的入点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
|
readatomicassign |
视频特效在片段显示上的出点,相对于每个片段的时间段,以当前片段的起始时间为时间起始点。
|
readatomicassign |
视频特效资源包ID。如果不是资源包视频特效,返回nil
|
readatomicassign |
视频特效类型