15 #import <Foundation/Foundation.h>
28 @property (nonatomic, assign) uint64_t
trimIn;
29 @property (nonatomic, assign) uint64_t
trimOut;
30 @property (nonatomic, assign) BOOL
nospeed;
31 @property (nonatomic, assign) BOOL
isImage;
39 @property (nonatomic, copy) NSString* text;
40 @property (nonatomic, copy) NSString* style;
41 @property (nonatomic, assign) uint64_t duration;
42 @property (nonatomic, assign) uint64_t startOffset;
49 @property (nonatomic, copy) NSString* name;
50 @property (nonatomic, assign) uint64_t duration;
57 @property (nonatomic, copy) NSString* name;
58 @property (nonatomic, assign) uint64_t duration;
64 @property (nonatomic, assign) uint64_t duration;
65 @property (nonatomic, assign)
float speed0;
66 @property (nonatomic, assign)
float speed1;
73 @property (nonatomic, strong) NSMutableArray<NvsSmartCutSpeedInfo*>* speeds;
79 @property (nonatomic, assign) uint64_t frameIndex;
80 @property (nonatomic, assign) int8_t sceneType;
81 @property (nonatomic, assign) int8_t environment;
82 @property (nonatomic, assign) int8_t location;
83 @property (nonatomic, assign) int8_t placeTypeL1;
84 @property (nonatomic, assign) int8_t placeTypeL2;
91 @property (nonatomic, copy) NSArray<NvsSmartCutSCDData*>* scdDataArray;
98 @property (nonatomic, strong) NSString *templatePath;
99 @property (nonatomic, strong) NSString *videoDate;
100 @property (nonatomic, strong) NSMutableArray <NvsSmartCutClipData *>*smartCutClips;
101 @property (nonatomic, strong) NSString *titleFilePath;
102 @property (nonatomic, strong) NSString *endingFilePath;
103 @property (nonatomic, strong) NSMutableArray <NvsSmartCutCaptionInfo *>*smartCutCaptions;
104 @property (nonatomic, strong) NSMutableArray <NvsSmartCutTransitionInfo *>*smartCutTransitions;
105 @property (nonatomic, strong) NSMutableArray <NvsSmartCutFilterInfo *>*smartCutClipFilters;
106 @property (nonatomic, strong) NSMutableArray <NvsSmartCutSpeedList *>*smartCutSpeeds;
108 @property (nonatomic, strong) NSString *musicFilePath;
109 @property (nonatomic, strong) NSMutableArray <NSString *>*timelineFilters;
110 @property (nonatomic, strong) NSString *smartFilter;
144 - (void)didSmartCutError:(
int) errorType;
154 - (void)didSmartCutProgress:(
float) progress;
167 @property (weak, atomic) id<SmartCutGeneratorDelegate> delegate;
181 + (instancetype)sharedInstance:(
int)flag;
218 - (BOOL)startSmartCut:(NSMutableArray<NSString*>*)scdFileList
219 videoFileList:(NSMutableArray<NSString*>*)videoFileList
220 templatePathList:(NSMutableArray<NSString*>*)templatePathList
221 captionPath:(NSString*)captionPath captionLicPath:(NSString*)captionLicPath
222 filterPath:(NSString*)filterPath filterLicPath:(NSString*)filterLicPath
223 location:(NSString*)location;
225 -(BOOL)startSmartCut:(NSArray<NvsSmartCutSCDInfo*>*)scdInfoList
226 templatePathList:(NSArray<NSString*>*)templatePathList
227 captionPath:(NSString*)captionPath
228 captionLicPath:(NSString*)captionLicPath
229 filterPath:(NSString*)filterPath
230 filterLicPath:(NSString*)filterLicPath
231 location:(NSString*)location;
241 - (BOOL)changeTemplate:(NSString*)templatePath;