MeiCam SDK For iOS  3.16.3
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 
129 typedef NS_ENUM(NSInteger, NvsClipExternFlags) {
130  NvsExternFlags_Force_Decode_Full_Size = 16
131 };
132 
133 @class NvsVideoFx;
134 
151 
152 
153 @property (readonly) NvsVideoClipType videoType;
154 
155 
156 @property (readonly) NvsRoleInTheme roleInTheme;
157 
159 
160 @property (nonatomic) BOOL imageMotionAnimationEnabled;
161 
162 @property (readonly) NvsRect startROI;
163 
164 @property (readonly) NvsRect endROI;
165 
166 @property (readonly) unsigned int audioFxCount;
167 
168 @property (nonatomic, assign) NvsClipRawFilterProcessesMode rawFilterProcessesMode;
169 
190 - (void)setPlayInReverse:(BOOL)playInReverse;
191 
202 - (BOOL)getPlayInReverse;
203 
213 - (void)setExtraVideoRotation:(NvsExtraVideoRotation)rotation;
214 
225 - (void)setExtraVideoRotation:(NvsExtraVideoRotation)rotation rotateROI:(bool)rotateROI;
226 
237 
253 - (void)setPan:(float)pan andScan:(float)scan;
254 
266 - (void)getPan:(float *)pan andScan:(float *)scan;
267 
278 - (void)enableVideoClipROI:(BOOL) enable;
279 
289 - (BOOL)isVideoClipROIEnabled;
290 
300 - (void)setSourceBackgroundMode:(NvsSourceBackgroundMode) sourceBackgroundMode;
301 
312 
323 - (void)setSourceBackgroundColor:(NvsColor *)color;
324 
336 
346 - (void)disableAmbiguousCrop:(BOOL) disable;
347 
358 
375 - (void)setImageMotionROI:(NvsRect *)startROI endROI:(NvsRect *)endROI;
376 
387 - (void)setClipWrapMode:(NvsClipWrapMode)wrapMode;
388 
400 
411 - (void)setAudioFadeInDuration:(int64_t)fadeInDuration;
412 
423 - (int64_t)getAudioFadeInDuration;
424 
435 - (void)setAudioFadeOutDuration:(int64_t)fadeOutDuration;
436 
447 - (int64_t)getAudioFadeOutDuration;
448 
467 - (void)changeVariableSpeed:(double)startSpeed endSpeed:(double)endSpped keepAudioPitch:(BOOL)keepAudioPitch;
468 
483 -(double)getStartSpeed;
484 
499 - (double)getEndSpeed;
500 
512 - (void)setBlendingMode:(NvsClipBlendingMode)blendMode;
513 
526 
538 - (void)setOpacity:(float)opacity;
539 
551 - (float)getOpacity;
552 
564 - (void)setEnableOriginalRender:(BOOL)enable;
565 
577 - (BOOL)isOriginalRender;
578 
591 - (void)enableClipFreezeFrame:(BOOL)enable;
592 
601 
614 - (void)setClipFreezeFrameTrimPosition:(long)trimPos;
615 
624 
649 - (void)enableRawSourceMode:(BOOL) enable;
650 
661 - (BOOL)isRawSourceModeEnabled;
662 
679 - (NvsAudioFx *)appendAudioFx:(NSString *)fxName;
680 
699 - (NvsAudioFx *)insertAudioFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
700 
714 - (NvsAudioFx *)appendCustomAudioFx:(id<NvsCustomAudioFxRenderer>)customAudioFxRender;
715 
731 - (NvsAudioFx *)insertCustomAudioFx:(id<NvsCustomAudioFxRenderer>)customAudioFxRender fxIndex:(unsigned int)fxIndex;
732 
749 - (BOOL)removeAudioFx:(unsigned int)fxIndex;
750 
765 - (NvsAudioFx *)getAudioFxWithIndex:(unsigned int)fxIndex;
766 
780 - (NvsVideoFx *)appendBuiltinFx:(NSString *)fxName;
781 
797 - (NvsVideoFx *)insertBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
798 
812 - (NvsVideoFx *)appendPackagedFx:(NSString *)fxPackageId;
813 
829 - (NvsVideoFx *)insertPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex;
830 
842 - (NvsVideoFx *)appendCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
843 
857 - (NvsVideoFx *)insertCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex;
858 
870 - (NvsVideoFx *)appendRawBuiltinFx:(NSString *)fxName;
871 
885 - (NvsVideoFx *)insertRawBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex;
886 
898 - (NvsVideoFx *)appendRawPackagedFx:(NSString *)fxPackageId;
899 
913 - (NvsVideoFx *)insertRawPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex;
914 
926 - (NvsVideoFx *)appendRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
927 
941 - (NvsVideoFx *)insertRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex;
942 
955 
969 - (NvsVideoFx *)insertBeautyFx:(unsigned int)fxIndex;
970 
987 - (NvsVideoFx *)appendBuiltinFx:(NSString *)fxName inPoint:(int64_t)inPoint duration:(int64_t)duration;
988 
1007 - (NvsVideoFx *)insertBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1008 
1024 - (NvsVideoFx *)appendPackagedFx:(NSString *)fxPackageId inPoint:(int64_t)inPoint duration:(int64_t)duration;
1025 
1043 - (NvsVideoFx *)insertPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1044 
1058 - (NvsVideoFx *)appendCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender inPoint:(int64_t)inPoint duration:(int64_t)duration;
1059 
1075 - (NvsVideoFx *)insertCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1076 
1090 - (NvsVideoFx *)appendRawBuiltinFx:(NSString *)fxName inPoint:(int64_t)inPoint duration:(int64_t)duration;
1091 
1107 - (NvsVideoFx *)insertRawBuiltinFx:(NSString *)fxName fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1108 
1122 - (NvsVideoFx *)appendRawPackagedFx:(NSString *)fxPackageId inPoint:(int64_t)inPoint duration:(int64_t)duration;
1123 
1139 - (NvsVideoFx *)insertRawPackagedFx:(NSString *)fxPackageId fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1140 
1154 - (NvsVideoFx *)appendRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender inPoint:(int64_t)inPoint duration:(int64_t)duration;
1155 
1171 - (NvsVideoFx *)insertRawCustomFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender fxIndex:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1172 
1187 - (NvsVideoFx *)appendBeautyFx:(int64_t)inPoint duration:(int64_t)duration;
1188 
1205 - (NvsVideoFx *)insertBeautyFx:(unsigned int)fxIndex inPoint:(int64_t)inPoint duration:(int64_t)duration;
1206 
1207 
1219 - (BOOL)removeFx:(unsigned int)fxIndex;
1220 
1232 - (BOOL)removeRawFx:(unsigned int)fxIndex;
1233 
1243 - (BOOL)removeAllAudioFx;
1244 
1254 - (BOOL)removeAllVideoFx;
1255 
1265 - (BOOL)removeAllFx;
1266 
1277 - (NvsVideoFx *)getFxWithIndex:(unsigned int)fxIndex;
1278 
1288 - (unsigned int)getRawFxCount;
1289 
1301 - (NvsVideoFx *)getRawFxByIndex:(unsigned int)fxIndex;
1302 
1314 
1325 - (void)setRefImageFillMode:(NvsVariantImageFillMode)variantImageBackgroundMode;
1326 
1338 
1349 - (void)setRefImageSize:(NvsSize)refImageSize;
1350 
1362 
1373 - (void)setRefImageBackgroundMode:(NvsSourceBackgroundMode)variantImageBackgroundMode;
1374 
1386 
1397 - (void)setRefImageBackgroundColor:(NvsColor *)color;
1398 
1410 
1421 - (void)setRefImageBackgroundBlurRadius:(float)radius;
1422 
1423 
1435 
1446 - (void)setRefImageBackgroundBlurNewModeEnable:(BOOL)newModeEnable;
1447 
1448 
1459 - (void)disableClipColorPrimariesConvert:(BOOL)disable;
1460 
1472 
1483 - (void)setExternFlags:(int)flags;
1484 
1495 - (int)getExternFlags;
1496 
1507 
1517 
1528 - (NvsVideoFx *)setCustomPropertyVideoFx:(id<NvsCustomVideoFxRenderer>)customVideoFxRender;
1529 
1544 - (void)enablePropertyVideoFx:(BOOL)enable;
1545 
1558 
1571 
1584 - (NvsClipCaption *)getPrevCaption:(NvsClipCaption *)caption;
1585 
1598 - (NvsClipCaption *)getNextCaption:(NvsClipCaption *)caption;
1599 
1618 - (NSArray *)getCaptionsByClipTimePosition:(int64_t)cliptimePos;
1619 
1644 - (NvsClipCaption *)addCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration captionStylePackageId:(NSString *)captionStylePackageId;
1645 
1670 - (NvsClipCaption *)addPanoramicCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration captionStylePackageId:(NSString *)captionStylePackageId;
1671 
1693 - (NvsClipCaption *)addModularCaption:(NSString *)captionText inPoint:(int64_t)inPoint duration:(int64_t)duration;
1694 
1707 - (NvsClipCaption *)removeCaption:(NvsClipCaption *)caption;
1708 
1721 
1734 
1747 - (NvsClipCompoundCaption *)getPrevCompoundCaption:(NvsClipCompoundCaption *)caption;
1748 
1761 - (NvsClipCompoundCaption *)getNextCompoundCaption:(NvsClipCompoundCaption *)caption;
1762 
1781 - (NSArray<NvsClipCompoundCaption*> *)getCompoundCaptionsByClipTimePosition:(int64_t)cliptimePos;
1782 
1806 - (NvsClipCompoundCaption *)addCompoundCaption:(int64_t)inPoint
1807  duration:(int64_t)duration
1808  compoundCaptionPackageId:(NSString *)compoundCaptionPackageId;
1809 
1822 - (NvsClipCompoundCaption *)removeCompoundCaption:(NvsClipCompoundCaption *)caption;
1823 
1836 
1848 
1861 - (NvsClipAnimatedSticker *)getPrevAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1862 
1875 - (NvsClipAnimatedSticker *)getNextAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
1876 
1895 - (NSArray *)getAnimatedStickersByClipTimePosition:(int64_t)cliptimePos;
1896 
1923 - (NvsClipAnimatedSticker *)addAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId;
1924 
1951 - (NvsClipAnimatedSticker *)addPanoramicAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId;
1952 
1983 - (NvsClipAnimatedSticker *)addCustomAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId customImagePath:(NSString*)customImagePath;
1984 
2015 - (NvsClipAnimatedSticker *)addCustomPanoramicAnimatedSticker:(int64_t)inPoint duration:(int64_t)duration animatedStickerPackageId:(NSString*)animatedStickerPackageId customImagePath:(NSString*)customImagePath;
2016 
2029 - (NvsClipAnimatedSticker *)removeAnimatedSticker:(NvsClipAnimatedSticker *)animatedSticker;
2030 
2042 - (BOOL)isPropertyVideoFxEnabled;
2043 
2053 - (void)setSoftWareDecoding:(BOOL)softwareUsed;
2054 
2066 - (BOOL)isSoftWareDeocedUsed;
2067 
2068 
2069 @end
NvsVideoFx
Video effect.
Definition: NvsVideoFx.h:48
-[NvsVideoClip isClipColorPrimariesConvertDisabled]
BOOL isClipColorPrimariesConvertDisabled()
Get the clip's primary color conversion status..
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:131
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:160
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:372
-[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
-[NvsVideoClip getExternFlags]
int getExternFlags()
Get video clip extern flags.
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:156
-[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:79
NvsVideoClip::endROI
NvsRect endROI
Image clip's ending ROI (Region Of Interesting)
Definition: NvsVideoClip.h:164
NvsVariantImageFillMode
NvsVariantImageFillMode
Definition: NvsVideoClip.h:69
NvsClipBlendingMode_Difference
@ NvsClipBlendingMode_Difference
Difference mode.
Definition: NvsVideoClip.h:113
-[NvsVideoClip isSoftWareDeocedUsed]
BOOL isSoftWareDeocedUsed()
Sets whether the video is decoded using software.
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:429
-[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:162
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:153
-[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:158
NvsVideoClip::rawFilterProcessesMode
NvsClipRawFilterProcessesMode rawFilterProcessesMode
raw filter processes mode
Definition: NvsVideoClip.h:168
-[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:66
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:151
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:361
-[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:166
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