MeiCam SDK For iOS
3.13.5
|
Go to the documentation of this file.
15 #import <UIKit/UIImage.h>
45 #define NVS_MEDIA_CONVERTOR_CUSTOM_HEIGHT @"custom-video-height"
47 #define NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_SAMPLE_RATE @"custom-audio-sample-rate"
48 #define NVS_MEDIA_CONVERTOR_NO_VIDEO @"convertor-no-video"
49 #define NVS_MEDIA_CONVERTOR_NO_AUDIO @"convertor-no-audio"
50 #define NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_CHANNEL @"custom-audio-channel"
51 #define NVS_MEDIA_CONVERTOR_REVERSE_AUDIO_STREAM @"convertor-reverse-audio"
52 #define NVS_MEDIA_CONVERTOR_MAX_CACHE_SIZE_IN_MEMORY @"max_cache_size_in_memory"
53 #define NVS_MEDIA_CONVERTOR_CUSTOM_FRAME_RATE @"custom-video-frame-rate"
54 #define NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_PCM_FILE @"custom-audio-pcm-file"
55 #define NVS_MEDIA_CONVERTOR_COMPILE_GOP_SIZE @"gopsize"
56 #define NVS_MEDIA_CONVERTOR_COMPILE_BITRATE @"bitrate"
57 #define NVS_MEDIA_CONVERTOR_COMPILE_AUDIO_BITRATE @"audio bitrate"
58 #define NVS_EDIA_CONVERTOR_VIDEO_ENCODEC_NAME @"video encoder name"
59 #define NVS_EDIA_CONVERTOR_AUDIO_ENCODEC_NAME @"audio encoder name"
64 - (void)didConvertorProgress:(int64_t)taskId progress:(
float)progress;
66 - (void)didConvertorFinish:(int64_t)taskId sourceFile:(NSString*)src outputFile:(NSString*)dst errorCode:(
NvsMediaConvertorErrorType)error;
68 - (void)didAudioMuteRage:(int64_t)taskId muteStart:(int64_t)start muteEnd:(int64_t)end;
75 @property (nonatomic, weak) id<NvsMediaFileConvertorDelegate>
delegate;
99 - (int64_t)convertMeidaFile:(NSString *)srcFilePath
100 outputFile:(NSString *)outputFilePath
101 isReverseConvert:(
bool)isReverse
102 fromPosition:(int64_t)from
103 toPosition:(int64_t)to
104 options:(NSMutableDictionary *)options;
114 - (void)cancelTask:(int64_t)taskId;
#define NVS_EXPORT
Definition: NvsCommonDef.h:20