MeiCam SDK For iOS  3.10.0
NvsVideoClip.h
Go to the documentation of this file.
1 //================================================================================
2 //
3 // (c) Copyright China Digital Video (Beijing) Limited, 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: NewAuto 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 @class NvsVideoFx;
117 
134 
135 
136 @property (readonly) NvsVideoClipType videoType;
137 
138 
139 @property (readonly) NvsRoleInTheme roleInTheme;
140 
142 
143 @property (nonatomic) BOOL imageMotionAnimationEnabled;
144 
145 @property (readonly) NvsRect startROI;
146 
147 @property (readonly) NvsRect endROI;
148 
149 @property (readonly) unsigned int audioFxCount;
150 
171 - (void)setPlayInReverse:(BOOL)playInReverse;
172 
183 - (BOOL)getPlayInReverse;
184 
194 - (void)setExtraVideoRotation:(NvsExtraVideoRotation)rotation;
195 
206 - (void)setExtraVideoRotation:(NvsExtraVideoRotation)rotation rotateROI:(bool)rotateROI;
207 
218 
234 - (void)setPan:(float)pan andScan:(float)scan;
235 
247 - (void)getPan:(float *)pan andScan:(float *)scan;
248 
259 - (void)enableVideoClipROI:(BOOL) enable;
260 
270 - (BOOL)isVideoClipROIEnabled;
271 
281 - (void)setSourceBackgroundMode:(NvsSourceBackgroundMode) sourceBackgroundMode;
282 
293 
304 - (void)setSourceBackgroundColor:(NvsColor *)color;
305 
317 
327 - (void)disableAmbiguousCrop:(BOOL) disable;
328 
339 
356 - (void)setImageMotionROI:(NvsRect *)startROI endROI:(NvsRect *)endROI;
357 
368 - (void)setClipWrapMode:(NvsClipWrapMode)wrapMode;
369 
381 
392 - (void)setAudioFadeInDuration:(int64_t)fadeInDuration;
393 
404 - (int64_t)getAudioFadeInDuration;
405 
416 - (void)setAudioFadeOutDuration:(int64_t)fadeOutDuration;
417 
428 - (int64_t)getAudioFadeOutDuration;
429 
448 - (void)changeVariableSpeed:(double)startSpeed endSpeed:(double)endSpped keepAudioPitch:(BOOL)keepAudioPitch;
449 
464 -(double)getStartSpeed;
465 
480 - (double)getEndSpeed;
481 
493 - (void)setBlendingMode:(NvsClipBlendingMode)blendMode;
494 
507 
519 - (void)setOpacity:(float)opacity;
520 
532 - (float)getOpacity;
533 
545 - (void)setEnableOriginalRender:(BOOL)enable;
546 
558 - (BOOL)isOriginalRender;
559 
572 - (void)enableClipFreezeFrame:(BOOL)enable;
573 
582 
595 - (void)setClipFreezeFrameTrimPosition:(long)trimPos;
596 
605 
630 - (void)enableRawSourceMode:(BOOL) enable;
631 
642 - (BOOL)isRawSourceModeEnabled;
643 
660 - (NvsAudioFx *)appendAudioFx:(NSString *)fxName;
661 
680 - (NvsAudioFx *)insertAudioFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
681 
695 - (NvsAudioFx *)appendCustomAudioFx:(id<NvsCustomAudioFxRenderer>)customAudioFxRender;
696 
712 - (NvsAudioFx *)insertCustomAudioFx:(id<NvsCustomAudioFxRenderer>)customAudioFxRender fxIndex:(unsigned int)fxIndex;
713 
730 - (BOOL)removeAudioFx:(unsigned int)fxIndex;
731 
746 - (NvsAudioFx *)getAudioFxWithIndex:(unsigned int)fxIndex;
747 
761 - (NvsVideoFx *)appendBuiltinFx:(NSString *)fxName;
762 
778 - (NvsVideoFx *)insertBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
779 
793 - (NvsVideoFx *)appendPackagedFx:(NSString *)fxPackageId;
794 
810 - (NvsVideoFx *)insertPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex;
811 
823 - (NvsVideoFx *)appendCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
824 
838 - (NvsVideoFx *)insertCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex;
839 
851 - (NvsVideoFx *)appendRawBuiltinFx:(NSString *)fxName;
852 
866 - (NvsVideoFx *)insertRawBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
867 
879 - (NvsVideoFx *)appendRawPackagedFx:(NSString *)fxPackageId;
880 
894 - (NvsVideoFx *)insertRawPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex;
895 
907 - (NvsVideoFx *)appendRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
908 
922 - (NvsVideoFx *)insertRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex;
923 
936 
950 - (NvsVideoFx *)insertBeautyFx:(unsigned int)fxIndex;
951 
968 - (NvsVideoFx *)appendBuiltinFx:(NSString *)fxName inPoint:(int64_t)inPoint duration:(int64_t)duration;
969 
988 - (NvsVideoFx *)insertBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
989 
1005 - (NvsVideoFx *)appendPackagedFx:(NSString *)fxPackageId inPoint:(int64_t)inPoint duration:(int64_t)duration;
1006 
1024 - (NvsVideoFx *)insertPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1025 
1039 - (NvsVideoFx *)appendCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender inPoint:(int64_t)inPoint duration:(int64_t)duration;
1040 
1056 - (NvsVideoFx *)insertCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1057 
1071 - (NvsVideoFx *)appendRawBuiltinFx:(NSString *)fxName inPoint:(int64_t)inPoint duration:(int64_t)duration;
1072 
1088 - (NvsVideoFx *)insertRawBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1089 
1103 - (NvsVideoFx *)appendRawPackagedFx:(NSString *)fxPackageId inPoint:(int64_t)inPoint duration:(int64_t)duration;
1104 
1120 - (NvsVideoFx *)insertRawPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1121 
1135 - (NvsVideoFx *)appendRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender inPoint:(int64_t)inPoint duration:(int64_t)duration;
1136 
1152 - (NvsVideoFx *)insertRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1153 
1168 - (NvsVideoFx *)appendBeautyFx:(int64_t)inPoint duration:(int64_t)duration;
1169 
1186 - (NvsVideoFx *)insertBeautyFx:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1187 
1188 
1200 - (BOOL)removeFx:(unsigned int)fxIndex;
1201 
1213 - (BOOL)removeRawFx:(unsigned int)fxIndex;
1214 
1224 - (BOOL)removeAllAudioFx;
1225 
1235 - (BOOL)removeAllVideoFx;
1236 
1246 - (BOOL)removeAllFx;
1247 
1258 - (NvsVideoFx *)getFxWithIndex:(unsigned int)fxIndex;
1259 
1269 - (unsigned int)getRawFxCount;
1270 
1282 - (NvsVideoFx *)getRawFxByIndex:(unsigned int)fxIndex;
1283 
1295 
1306 - (void)setRefImageFillMode:(NvsVariantImageFillMode)variantImageBackgroundMode;
1307 
1319 
1330 - (void)setRefImageSize:(NvsSize)refImageSize;
1331 
1343 
1354 - (void)setRefImageBackgroundMode:(NvsSourceBackgroundMode)variantImageBackgroundMode;
1355 
1367 
1378 - (void)setRefImageBackgroundColor:(NvsColor *)color;
1379 
1391 
1402 - (void)setRefImageBackgroundBlurRadius:(float)radius;
1403 
1404 
1416 
1427 - (void)setRefImageBackgroundBlurNewModeEnable:(BOOL)newModeEnable;
1428 
1439 
1449 
1460 - (NvsVideoFx *)setCustomPropertyVideoFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
1461 
1476 - (void)enablePropertyVideoFx:(BOOL)enable;
1477 
1490 
1503 
1516 - (NvsClipCaption *)getPrevCaption:(NvsClipCaption *)caption;
1517 
1530 - (NvsClipCaption *)getNextCaption:(NvsClipCaption *)caption;
1531 
1550 - (NSArray *)getCaptionsByClipTimePosition:(int64_t)cliptimePos;
1551 
1576 - (NvsClipCaption *)addCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration captionStylePackageId:(NSString *)captionStylePackageId;
1577 
1602 - (NvsClipCaption *)addPanoramicCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration captionStylePackageId:(NSString *)captionStylePackageId;
1603 
1625 - (NvsClipCaption *)addModularCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration;
1626 
1639 - (NvsClipCaption *)removeCaption:(NvsClipCaption *)caption;
1640 
1653 
1666 
1679 - (NvsClipCompoundCaption *)getPrevCompoundCaption:(NvsClipCompoundCaption *)caption;
1680 
1693 - (NvsClipCompoundCaption *)getNextCompoundCaption:(NvsClipCompoundCaption *)caption;
1694 
1713 - (NSArray<NvsClipCompoundCaption*> *)getCompoundCaptionsByClipTimePosition:(int64_t)cliptimePos;
1714 
1738 - (NvsClipCompoundCaption *)addCompoundCaption:(int64_t)inPoint
1739  duration:(int64_t)duration
1740  compoundCaptionPackageId:(NSString *)compoundCaptionPackageId;
1741 
1754 - (NvsClipCompoundCaption *)removeCompoundCaption:(NvsClipCompoundCaption *)caption;
1755 
1768 
1780 
1793 - (NvsClipAnimatedSticker *)getPrevAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1794 
1807 - (NvsClipAnimatedSticker *)getNextAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1808 
1827 - (NSArray *)getAnimatedStickersByClipTimePosition:(int64_t)cliptimePos;
1828 
1855 - (NvsClipAnimatedSticker *)addAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId;
1856 
1883 - (NvsClipAnimatedSticker *)addPanoramicAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId;
1884 
1915 - (NvsClipAnimatedSticker *)addCustomAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId customImagePath:(NSString*)customImagePath;
1916 
1947 - (NvsClipAnimatedSticker *)addCustomPanoramicAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId customImagePath:(NSString*)customImagePath;
1948 
1961 - (NvsClipAnimatedSticker *)removeAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1962 
1974 - (BOOL)isPropertyVideoFxEnabled;
1975 
1976 
1977 @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
NvsSourceBackgroundModeBlur
@ NvsSourceBackgroundModeBlur
Blur.
Definition: NvsVideoClip.h:59
NvsVideoClip::imageMotionAnimationEnabled
BOOL imageMotionAnimationEnabled
Whether it supports animation of images.
Definition: NvsVideoClip.h:143
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:292
-[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:139
-[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:47
NvsVideoClip::endROI
NvsRect endROI
Image clip's ending ROI (Region Of Interesting)
Definition: NvsVideoClip.h:147
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:334
-[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:145
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:136
-[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:24
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:141
-[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:134
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:281
-[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:149
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