MeiCam SDK For iOS  3.14.0
NvsVideoClip.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright Meishe Co. Ltd, 2016. All rights reserved.
4 //
5 // This code and information is provided "as is" without warranty of any kind,
6 // either expressed or implied, including but not limited to the implied
7 // warranties of merchantability and/or fitness for a particular purpose.
8 //
9 //--------------------------------------------------------------------------------
10 // Birth Date: Dec 29. 2016
11 // Author: Meishe video team
12 //================================================================================
15 #pragma once
16 
17 #import "NvsCommonDef.h"
18 #import "NvsClip.h"
19 #import "NvsCustomAudioFx.h"
20 #import "NvsCustomVideoFx.h"
21 #import "NvsClipCaption.h"
24 #import <CoreGraphics/CGGeometry.h>
25 
32 typedef enum NvsVideoClipType {
36 
44 typedef enum {
50 
61 
74 
75 typedef enum NvsClipWrapMode {
80 
81 typedef enum NvsExtraVideoRotation {
87 
94 typedef enum NvsClipBlendingMode {
115 
116 typedef NS_ENUM(NSInteger, NvsClipRawFilterProcessesMode) {
117  NvsClipRawFilterProcessesModeNone = 0,
118  NvsClipRawFilterProcessesModeVarSize,
119  NvsClipRawFilterProcessesModeVarSizeWithFillModeUsed
120 };
121 
122 @class NvsVideoFx;
123 
140 
141 
142 @property (readonly) NvsVideoClipType videoType;
143 
144 
145 @property (readonly) NvsRoleInTheme roleInTheme;
146 
148 
149 @property (nonatomic) BOOL imageMotionAnimationEnabled;
150 
151 @property (readonly) NvsRect startROI;
152 
153 @property (readonly) NvsRect endROI;
154 
155 @property (readonly) unsigned int audioFxCount;
156 
157 @property (nonatomic, assign) NvsClipRawFilterProcessesMode rawFilterProcessesMode;
158 
179 - (void)setPlayInReverse:(BOOL)playInReverse;
180 
191 - (BOOL)getPlayInReverse;
192 
202 - (void)setExtraVideoRotation:(NvsExtraVideoRotation)rotation;
203 
214 - (void)setExtraVideoRotation:(NvsExtraVideoRotation)rotation rotateROI:(bool)rotateROI;
215 
226 
242 - (void)setPan:(float)pan andScan:(float)scan;
243 
255 - (void)getPan:(float *)pan andScan:(float *)scan;
256 
267 - (void)enableVideoClipROI:(BOOL) enable;
268 
278 - (BOOL)isVideoClipROIEnabled;
279 
289 - (void)setSourceBackgroundMode:(NvsSourceBackgroundMode) sourceBackgroundMode;
290 
301 
312 - (void)setSourceBackgroundColor:(NvsColor *)color;
313 
325 
335 - (void)disableAmbiguousCrop:(BOOL) disable;
336 
347 
364 - (void)setImageMotionROI:(NvsRect *)startROI endROI:(NvsRect *)endROI;
365 
376 - (void)setClipWrapMode:(NvsClipWrapMode)wrapMode;
377 
389 
400 - (void)setAudioFadeInDuration:(int64_t)fadeInDuration;
401 
412 - (int64_t)getAudioFadeInDuration;
413 
424 - (void)setAudioFadeOutDuration:(int64_t)fadeOutDuration;
425 
436 - (int64_t)getAudioFadeOutDuration;
437 
456 - (void)changeVariableSpeed:(double)startSpeed endSpeed:(double)endSpped keepAudioPitch:(BOOL)keepAudioPitch;
457 
472 -(double)getStartSpeed;
473 
488 - (double)getEndSpeed;
489 
501 - (void)setBlendingMode:(NvsClipBlendingMode)blendMode;
502 
515 
527 - (void)setOpacity:(float)opacity;
528 
540 - (float)getOpacity;
541 
553 - (void)setEnableOriginalRender:(BOOL)enable;
554 
566 - (BOOL)isOriginalRender;
567 
580 - (void)enableClipFreezeFrame:(BOOL)enable;
581 
590 
603 - (void)setClipFreezeFrameTrimPosition:(long)trimPos;
604 
613 
638 - (void)enableRawSourceMode:(BOOL) enable;
639 
650 - (BOOL)isRawSourceModeEnabled;
651 
668 - (NvsAudioFx *)appendAudioFx:(NSString *)fxName;
669 
688 - (NvsAudioFx *)insertAudioFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
689 
703 - (NvsAudioFx *)appendCustomAudioFx:(id<NvsCustomAudioFxRenderer>)customAudioFxRender;
704 
720 - (NvsAudioFx *)insertCustomAudioFx:(id<NvsCustomAudioFxRenderer>)customAudioFxRender fxIndex:(unsigned int)fxIndex;
721 
738 - (BOOL)removeAudioFx:(unsigned int)fxIndex;
739 
754 - (NvsAudioFx *)getAudioFxWithIndex:(unsigned int)fxIndex;
755 
769 - (NvsVideoFx *)appendBuiltinFx:(NSString *)fxName;
770 
786 - (NvsVideoFx *)insertBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
787 
801 - (NvsVideoFx *)appendPackagedFx:(NSString *)fxPackageId;
802 
818 - (NvsVideoFx *)insertPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex;
819 
831 - (NvsVideoFx *)appendCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
832 
846 - (NvsVideoFx *)insertCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex;
847 
859 - (NvsVideoFx *)appendRawBuiltinFx:(NSString *)fxName;
860 
874 - (NvsVideoFx *)insertRawBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
875 
887 - (NvsVideoFx *)appendRawPackagedFx:(NSString *)fxPackageId;
888 
902 - (NvsVideoFx *)insertRawPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex;
903 
915 - (NvsVideoFx *)appendRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
916 
930 - (NvsVideoFx *)insertRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex;
931 
944 
958 - (NvsVideoFx *)insertBeautyFx:(unsigned int)fxIndex;
959 
976 - (NvsVideoFx *)appendBuiltinFx:(NSString *)fxName inPoint:(int64_t)inPoint duration:(int64_t)duration;
977 
996 - (NvsVideoFx *)insertBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
997 
1013 - (NvsVideoFx *)appendPackagedFx:(NSString *)fxPackageId inPoint:(int64_t)inPoint duration:(int64_t)duration;
1014 
1032 - (NvsVideoFx *)insertPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1033 
1047 - (NvsVideoFx *)appendCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender inPoint:(int64_t)inPoint duration:(int64_t)duration;
1048 
1064 - (NvsVideoFx *)insertCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1065 
1079 - (NvsVideoFx *)appendRawBuiltinFx:(NSString *)fxName inPoint:(int64_t)inPoint duration:(int64_t)duration;
1080 
1096 - (NvsVideoFx *)insertRawBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1097 
1111 - (NvsVideoFx *)appendRawPackagedFx:(NSString *)fxPackageId inPoint:(int64_t)inPoint duration:(int64_t)duration;
1112 
1128 - (NvsVideoFx *)insertRawPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1129 
1143 - (NvsVideoFx *)appendRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender inPoint:(int64_t)inPoint duration:(int64_t)duration;
1144 
1160 - (NvsVideoFx *)insertRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1161 
1176 - (NvsVideoFx *)appendBeautyFx:(int64_t)inPoint duration:(int64_t)duration;
1177 
1194 - (NvsVideoFx *)insertBeautyFx:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1195 
1196 
1208 - (BOOL)removeFx:(unsigned int)fxIndex;
1209 
1221 - (BOOL)removeRawFx:(unsigned int)fxIndex;
1222 
1232 - (BOOL)removeAllAudioFx;
1233 
1243 - (BOOL)removeAllVideoFx;
1244 
1254 - (BOOL)removeAllFx;
1255 
1266 - (NvsVideoFx *)getFxWithIndex:(unsigned int)fxIndex;
1267 
1277 - (unsigned int)getRawFxCount;
1278 
1290 - (NvsVideoFx *)getRawFxByIndex:(unsigned int)fxIndex;
1291 
1303 
1314 - (void)setRefImageFillMode:(NvsVariantImageFillMode)variantImageBackgroundMode;
1315 
1327 
1338 - (void)setRefImageSize:(NvsSize)refImageSize;
1339 
1351 
1362 - (void)setRefImageBackgroundMode:(NvsSourceBackgroundMode)variantImageBackgroundMode;
1363 
1375 
1386 - (void)setRefImageBackgroundColor:(NvsColor *)color;
1387 
1399 
1410 - (void)setRefImageBackgroundBlurRadius:(float)radius;
1411 
1412 
1424 
1435 - (void)setRefImageBackgroundBlurNewModeEnable:(BOOL)newModeEnable;
1436 
1447 
1457 
1468 - (NvsVideoFx *)setCustomPropertyVideoFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
1469 
1484 - (void)enablePropertyVideoFx:(BOOL)enable;
1485 
1498 
1511 
1524 - (NvsClipCaption *)getPrevCaption:(NvsClipCaption *)caption;
1525 
1538 - (NvsClipCaption *)getNextCaption:(NvsClipCaption *)caption;
1539 
1558 - (NSArray *)getCaptionsByClipTimePosition:(int64_t)cliptimePos;
1559 
1584 - (NvsClipCaption *)addCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration captionStylePackageId:(NSString *)captionStylePackageId;
1585 
1610 - (NvsClipCaption *)addPanoramicCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration captionStylePackageId:(NSString *)captionStylePackageId;
1611 
1633 - (NvsClipCaption *)addModularCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration;
1634 
1647 - (NvsClipCaption *)removeCaption:(NvsClipCaption *)caption;
1648 
1661 
1674 
1687 - (NvsClipCompoundCaption *)getPrevCompoundCaption:(NvsClipCompoundCaption *)caption;
1688 
1701 - (NvsClipCompoundCaption *)getNextCompoundCaption:(NvsClipCompoundCaption *)caption;
1702 
1721 - (NSArray<NvsClipCompoundCaption*> *)getCompoundCaptionsByClipTimePosition:(int64_t)cliptimePos;
1722 
1746 - (NvsClipCompoundCaption *)addCompoundCaption:(int64_t)inPoint
1747  duration:(int64_t)duration
1748  compoundCaptionPackageId:(NSString *)compoundCaptionPackageId;
1749 
1762 - (NvsClipCompoundCaption *)removeCompoundCaption:(NvsClipCompoundCaption *)caption;
1763 
1776 
1788 
1801 - (NvsClipAnimatedSticker *)getPrevAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1802 
1815 - (NvsClipAnimatedSticker *)getNextAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1816 
1835 - (NSArray *)getAnimatedStickersByClipTimePosition:(int64_t)cliptimePos;
1836 
1863 - (NvsClipAnimatedSticker *)addAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId;
1864 
1891 - (NvsClipAnimatedSticker *)addPanoramicAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId;
1892 
1923 - (NvsClipAnimatedSticker *)addCustomAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId customImagePath:(NSString*)customImagePath;
1924 
1955 - (NvsClipAnimatedSticker *)addCustomPanoramicAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId customImagePath:(NSString*)customImagePath;
1956 
1969 - (NvsClipAnimatedSticker *)removeAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1970 
1982 - (BOOL)isPropertyVideoFxEnabled;
1983 
1984 
1985 @end
NvsVideoFx
Video effect.
Definition: NvsVideoFx.h:48
NvsCustomAudioFx.h
NvsClipAnimatedSticker
Clip animated sticker class.
Definition: NvsClipAnimatedSticker.h:37
NvsClipCompoundCaption.h
NvsRoleInTheme
NvsRoleInTheme
The role of the clip in the theme.
Definition: NvsCommonDef.h:121
NvsClipAnimatedSticker.h
NS_ENUM
typedef NS_ENUM(NSInteger, NvsClipRawFilterProcessesMode)
Definition: NvsVideoClip.h:116
NvsSourceBackgroundModeBlur
@ NvsSourceBackgroundModeBlur
Blur.
Definition: NvsVideoClip.h:59
NvsVideoClip::imageMotionAnimationEnabled
BOOL imageMotionAnimationEnabled
Whether it supports animation of images.
Definition: NvsVideoClip.h:149
NvsVariantImageFillModeAspectFit
@ NvsVariantImageFillModeAspectFit
Select one of the long sides of the length and width as the basis to fill in equal proportions.
Definition: NvsVideoClip.h:70
NvsExtraVideoRotation_90
@ NvsExtraVideoRotation_90
Definition: NvsVideoClip.h:83
NvsClipBlendingMode_LinearBurn
@ NvsClipBlendingMode_LinearBurn
Linear Burn mode.
Definition: NvsVideoClip.h:103
NvsStreamingEngineImageClipMotionMode_LetterBoxZoomOut
@ NvsStreamingEngineImageClipMotionMode_LetterBoxZoomOut
Zoom out.
Definition: NvsVideoClip.h:46
NvsExtraVideoRotation_270
@ NvsExtraVideoRotation_270
Definition: NvsVideoClip.h:85
NvsClipWrapMode
NvsClipWrapMode
Definition: NvsVideoClip.h:75
NvsRect
Rectangle.
Definition: NvsCommonDef.h:361
-[NvsVideoClip getPlayInReverse]
BOOL getPlayInReverse()
Gets whether the clip is reversed.
-[NvsVideoClip getLastCaption]
NvsClipCaption * getLastCaption()
Get the last caption on the clip.
NvsClipWrapMode_Repeat
@ NvsClipWrapMode_Repeat
Definition: NvsVideoClip.h:78
NvsStreamingEngineImageClipMotionMode_ROI
@ NvsStreamingEngineImageClipMotionMode_ROI
The image clip's ROI(Region Of Interesting) //!< 图片片段ROI(Region Of Interesting)
Definition: NvsVideoClip.h:47
-[NvsVideoClip getSourceBackgroundMode]
NvsSourceBackgroundMode getSourceBackgroundMode()
Gets the background mode.
NvsClipBlendingMode_Subtract
@ NvsClipBlendingMode_Subtract
Subtract mode.
Definition: NvsVideoClip.h:97
NvsClip.h
NvsClipBlendingMode_Overlay
@ NvsClipBlendingMode_Overlay
Overlay mode.
Definition: NvsVideoClip.h:106
NvsClipBlendingMode_SoftLight
@ NvsClipBlendingMode_SoftLight
SoftLight mode.
Definition: NvsVideoClip.h:107
NvsClipWrapMode_Repeat_FirstFrame
@ NvsClipWrapMode_Repeat_FirstFrame
Definition: NvsVideoClip.h:77
-[NvsVideoClip getFirstCompoundCaption]
NvsClipCompoundCaption * getFirstCompoundCaption()
Get the first compound caption on the Clip.
NvsClipBlendingMode_Screen
@ NvsClipBlendingMode_Screen
Screen mode.
Definition: NvsVideoClip.h:98
NvsCustomAudioFxRenderer-p
Custom audio effects renderer interface.
Definition: NvsCustomAudioFx.h:39
NvsVideoClip::roleInTheme
NvsRoleInTheme roleInTheme
The clip's role in themes (General, title and trailer).
Definition: NvsVideoClip.h:145
-[NvsVideoClip getSourceBackgroundColor]
NvsColor getSourceBackgroundColor()
Gets the background color.
-[NvsVideoClip getLastAnimatedSticker]
NvsClipAnimatedSticker * getLastAnimatedSticker()
Get the last animated sticker on the Clip.
-[NvsVideoClip getClipFreezeFrameTrimPosition]
long getClipFreezeFrameTrimPosition()
Gets video freeze trim position(in microseconds).
NvsStreamingEngineImageClipMotionMode
NvsStreamingEngineImageClipMotionMode
The motion mode of the clip.
Definition: NvsVideoClip.h:44
NvsClipBlendingMode_VividLight
@ NvsClipBlendingMode_VividLight
VividLight mode.
Definition: NvsVideoClip.h:109
NvsClipBlendingMode_Darken
@ NvsClipBlendingMode_Darken
Darken mode.
Definition: NvsVideoClip.h:101
-[NvsVideoClip getRawFxCount]
unsigned int getRawFxCount()
Gets the number of effects on the raw input on the clip. Note: The effect index on the clip starts fr...
-[NvsVideoClip getExtraVideoRotation]
NvsExtraVideoRotation getExtraVideoRotation()
Gets the video's extra rotation angle.
NvsCustomVideoFxRenderer-p
Custom video effects renderer interface.
Definition: NvsCustomVideoFx.h:52
NvsVideoClip::endROI
NvsRect endROI
Image clip's ending ROI (Region Of Interesting)
Definition: NvsVideoClip.h:153
NvsVariantImageFillMode
NvsVariantImageFillMode
Definition: NvsVideoClip.h:69
NvsClipBlendingMode_Difference
@ NvsClipBlendingMode_Difference
Difference mode.
Definition: NvsVideoClip.h:113
NvsClipCaption.h
NvsExtraVideoRotation_0
@ NvsExtraVideoRotation_0
Definition: NvsVideoClip.h:82
-[NvsVideoClip getRefImageBackgroundBlurRadius]
float getRefImageBackgroundBlurRadius()
Gets ref image background blur radius.
NvsColor
Self-defined color.
Definition: NvsCommonDef.h:403
-[NvsVideoClip getBlendingMode]
NvsClipBlendingMode getBlendingMode()
get blending mode from video clip.
NvsSourceBackgroundMode
NvsSourceBackgroundMode
Background mode.
Definition: NvsVideoClip.h:57
-[NvsVideoClip isVideoClipROIEnabled]
BOOL isVideoClipROIEnabled()
Gets whether to enable ROI mode on video clip.
-[NvsVideoClip removeAllAudioFx]
BOOL removeAllAudioFx()
Remove all the audio effects.
-[NvsVideoClip getRefImageBackgroundMode]
NvsSourceBackgroundMode getRefImageBackgroundMode()
Gets ref image background mode.
NvsVideoClip::startROI
NvsRect startROI
Image clip's starting ROI (Region Of Interesting)
Definition: NvsVideoClip.h:151
NvsVideoClipType_AV
@ NvsVideoClipType_AV
Audio and video.
Definition: NvsVideoClip.h:33
-[NvsVideoClip getClipWrapMode]
NvsClipWrapMode getClipWrapMode()
Gets the clip's loop mode.
-[NvsVideoClip getPropertyVideoFx]
NvsVideoFx * getPropertyVideoFx()
Gets the property effect of the video clip.
NvsClipBlendingMode_Lighten
@ NvsClipBlendingMode_Lighten
Lighten mode.
Definition: NvsVideoClip.h:104
NvsClipBlendingMode_HardLight
@ NvsClipBlendingMode_HardLight
HardLight mode.
Definition: NvsVideoClip.h:108
-[NvsVideoClip removeAllVideoFx]
BOOL removeAllVideoFx()
Remove all the video effects.
-[NvsVideoClip getAudioFadeOutDuration]
int64_t getAudioFadeOutDuration()
Get Audio Fade-Out Duration.
-[NvsVideoClip getEndSpeed]
double getEndSpeed()
Get the playback speed of the clip.
-[NvsVideoClip getRefImageBackgroundBlurNewModeEnable]
BOOL getRefImageBackgroundBlurNewModeEnable()
Gets ref image background blur new mode enable.
NvsVideoClipType
NvsVideoClipType
The type of the video clip.
Definition: NvsVideoClip.h:32
NvsVideoClip::videoType
NvsVideoClipType videoType
Type of the video clip.
Definition: NvsVideoClip.h:142
-[NvsVideoClip isAmbiguousCropDisabled]
BOOL isAmbiguousCropDisabled()
Gets whether the video disables the approximate scale cropping of the screen.
NvsClipBlendingMode_PinLight
@ NvsClipBlendingMode_PinLight
PinLight mode.
Definition: NvsVideoClip.h:110
-[NvsVideoClip updateAudioForClipVideoFx]
void updateAudioForClipVideoFx()
Update the audio information in the current clip effect.
NvsClipBlendingMode_HardMix
@ NvsClipBlendingMode_HardMix
HardMix mode.
Definition: NvsVideoClip.h:112
NvsClipBlendingMode_Add
@ NvsClipBlendingMode_Add
Add mode.
Definition: NvsVideoClip.h:99
NVS_EXPORT
#define NVS_EXPORT
Definition: NvsCommonDef.h:20
-[NvsVideoClip appendBeautyFx]
NvsVideoFx * appendBeautyFx()
Appends the beauty effect on the clip.
NvsStreamingEngineImageClipMotionMode_Crop
@ NvsStreamingEngineImageClipMotionMode_Crop
Image clip's crop.
Definition: NvsVideoClip.h:48
NvsClipCompoundCaption
Clip compound caption.
Definition: NvsClipCompoundCaption.h:36
NvsClipBlendingMode_Normal
@ NvsClipBlendingMode_Normal
Normal mode.
Definition: NvsVideoClip.h:95
NvsClipBlendingMode_Burn
@ NvsClipBlendingMode_Burn
Burn mode.
Definition: NvsVideoClip.h:102
-[NvsVideoClip isClipFreezeFrameEnabled]
BOOL isClipFreezeFrameEnabled()
Gets video freeze frame enabled.
NvsVideoClip::imageMotionMode
NvsStreamingEngineImageClipMotionMode imageMotionMode
The motion mode of the image clip.
Definition: NvsVideoClip.h:147
NvsVideoClip::rawFilterProcessesMode
NvsClipRawFilterProcessesMode rawFilterProcessesMode
raw filter processes mode
Definition: NvsVideoClip.h:157
-[NvsVideoClip removeAllFx]
BOOL removeAllFx()
Remove all the effects.
NvsClipCaption
Clip captions.
Definition: NvsClipCaption.h:33
NvsClip
Clips are specific description of audio and video files.
Definition: NvsClip.h:47
NvsCommonDef.h
-[NvsVideoClip getRefImageSize]
NvsSize getRefImageSize()
Gets ref image size.
NvsCustomVideoFx.h
NvsClipWrapMode_Repeat_LastFrame
@ NvsClipWrapMode_Repeat_LastFrame
Definition: NvsVideoClip.h:76
-[NvsVideoClip isPropertyVideoFxEnabled]
BOOL isPropertyVideoFxEnabled()
Gets whether the original scale rendering mode is turned on.
NvsExtraVideoRotation
NvsExtraVideoRotation
Definition: NvsVideoClip.h:81
NvsVideoClipType_Image
@ NvsVideoClipType_Image
Image.
Definition: NvsVideoClip.h:34
-[NvsVideoClip getRefImageBackgroundColor]
NvsColor getRefImageBackgroundColor()
Gets the ref image background color.
-[NvsVideoClip getAudioFadeInDuration]
int64_t getAudioFadeInDuration()
Get Audio Fade-In Duration.
NvsVideoClip
The video clip is description of the video file.
Definition: NvsVideoClip.h:140
NvsClipBlendingMode_Multiplay
@ NvsClipBlendingMode_Multiplay
multiplay mode
Definition: NvsVideoClip.h:96
NvsClipBlendingMode
NvsClipBlendingMode
Track blending mode.
Definition: NvsVideoClip.h:94
-[NvsVideoClip getStartSpeed]
double getStartSpeed()
Get the playback speed of the clip.
-[NvsVideoClip getFirstAnimatedSticker]
NvsClipAnimatedSticker * getFirstAnimatedSticker()
Get the first animated sticker on the Clip.
NvsVariantImageFillModeAspectFill
@ NvsVariantImageFillModeAspectFill
Select one of the short sides of the length and width as the basis to fill in equal proportions.
Definition: NvsVideoClip.h:71
-[NvsVideoClip getFirstCaption]
NvsClipCaption * getFirstCaption()
Get the first caption on the clip.
-[NvsVideoClip getRefImageFillMode]
NvsVariantImageFillMode getRefImageFillMode()
Gets ref image fill mode.
NvsExtraVideoRotation_180
@ NvsExtraVideoRotation_180
Definition: NvsVideoClip.h:84
-[NvsVideoClip getLastCompoundCaption]
NvsClipCompoundCaption * getLastCompoundCaption()
Get the last compound caption on the Clip.
NvsAudioFx
Audio effects.
Definition: NvsAudioFx.h:31
-[NvsVideoClip isOriginalRender]
BOOL isOriginalRender()
Gets whether the original scale rendering mode is turned on.
NvsClipBlendingMode_Exclusion
@ NvsClipBlendingMode_Exclusion
Exclusion mode.
Definition: NvsVideoClip.h:100
NvsSize
Size.
Definition: NvsCommonDef.h:350
-[NvsVideoClip isRawSourceModeEnabled]
BOOL isRawSourceModeEnabled()
The raw source mode is enabled.
NvsClipBlendingMode_Dodge
@ NvsClipBlendingMode_Dodge
Dodge mode.
Definition: NvsVideoClip.h:105
-[NvsVideoClip getOpacity]
float getOpacity()
set opacity value from video clip.
NvsVideoClip::audioFxCount
unsigned int audioFxCount
The count of audio effects on the clip.
Definition: NvsVideoClip.h:155
NvsClipBlendingMode_LinearLight
@ NvsClipBlendingMode_LinearLight
LinearLight mode.
Definition: NvsVideoClip.h:111
NvsStreamingEngineImageClipMotionMode_LetterBoxZoomIn
@ NvsStreamingEngineImageClipMotionMode_LetterBoxZoomIn
Zoom in.
Definition: NvsVideoClip.h:45
NvsVariantImageFillModeFill
@ NvsVariantImageFillModeFill
fill
Definition: NvsVideoClip.h:72
NvsSourceBackgroundModeColorSolid
@ NvsSourceBackgroundModeColorSolid
Solid color.
Definition: NvsVideoClip.h:58