MeiCam SDK For iOS
3.11.2
|
#import <Foundation/Foundation.h>
#import "NvsTimeline.h"
#import "NvsAssetPackageManager.h"
#import "NvsAVFileInfo.h"
#import "NvsVideoFrameRetriever.h"
#import "NvsVideoFrameReceiver.h"
#import "NvsCustomVideoFx.h"
#import "NvsCommonDef.h"
#import "NvsCaptureAnimatedSticker.h"
#import "NvsCaptureCompoundCaption.h"
#import "NvsCaptureCaption.h"
#import "NvsCaptureAudioFx.h"
#import "NvsCaptureSceneInfo.h"
#import <CoreMedia/CMSampleBuffer.h>
Go to the source code of this file.
Classes | |
protocol | <NvsStreamingContextDelegate> |
protocol | <NvsImageGrabberDelegate> |
class | NvsTemplateFootageInfo |
information of template footage More... | |
class | NvsStreamingContext |
Streaming context. More... | |
class | NvsCaptureDeviceCapability |
Description of capture device capability. More... | |
Macros | |
Configuration of recording video | |
#define | NVS_RECORD_BITRATE @"bitrate" |
Record bitrate,type: int, such as 3000000 for 3M biterate. More... | |
#define | NVS_RECORD_GOP_SIZE @"gopsize" |
Record GOP size, type: int, default is 30. More... | |
#define | NVS_RECORD_VIDEO_ENCODEC_NAME @"video encoder name" |
Assigned video encoding format, hevc(h.256) is supported, default is h.264. More... | |
#define | NVS_RECORD_HDR_VIDEO_COLOR_TRANSFER @"encorder color transfer" |
Configuration of Compilation Timeline | |
#define | NVS_COMPILE_BITRATE @"bitrate" |
Compile bitrate,type: int, such as 3000000 for 3M biterate. More... | |
#define | NVS_COMPILE_GOP_SIZE @"gopsize" |
Compile GOP size, type: int, default is 30. More... | |
#define | NVS_COMPILE_AUDIO_BITRATE @"audio bitrate" |
Compile audio bitrate, type: int, such as 128000 for 128k bitrate. More... | |
#define | NVS_COMPILE_LOSSLESS_AUDIO @"lossless audio" |
Whether to compile lossless audio, type: boolean. More... | |
#define | NVS_COMPILE_OPTIMIZE_FOR_NETWORK_USE @"optimize-for-network-use" |
Whether to prepose the index table, type: boolean. More... | |
#define | NVS_COMPILE_VIDEO_ENCODEC_NAME @"video encoder name" |
Assigned video encoding format, hevc(h.256) is supported, default is h.264. More... | |
#define | NVS_COMPILE_AUDIO_ENCODEC_NAME @"audio encoder name" |
Assigned audio encoding format, "amr-wb" and "mp3" are supported, default is "aac". More... | |
#define | NVS_COMPILE_VIDEO_FPS @"fps" |
frames per second when compiling, type: NSData, such as NvsRational videoFps = {30, 1},[NSData dataWithBytes:&videoFps length:sizeof(NvsRational)] forKey:NVS_COMPILE_VIDEO_FPS] More... | |
#define | NVS_COMPILE_DONT_USE_VIDEO_TOOLBOX @"dont-use-video-toolbox" |
Whether to use video toolbox, type: boolean. More... | |
#define | NVS_COMPILE_HDR_VIDEO_COLOR_TRANSFER @"encorder color transfer" |
Set color transfer for HDR to encode, curve: string, default is "none", can support "st2084" and "hlg",. More... | |
#define | NVS_COMPILE_ENABLE_BREAKPOINT_CONTINUATION @"enable breakpoint continuation" |
Set whether enable breakpoint continuation. More... | |
#define | NVS_COMPILE_CACHE_FILE_PATH @"cache file path" |
Breakpoint continuation cache file path. More... | |
#define | NVS_COMPILE_CACHE_FILE_DURATION @"cache file duration" |
Breakpoint continuation cache file duration. More... | |
#define | NVS_COMPILE_SOFTWARE_ENCODER_CRF @"software encorder crf" |
Preset crf parameters for software encoder, type: int, range is [1, 99], less is better,default is 23. More... | |
#define | NVS_COMPILE_SOFTWARE_ENCODER_CRF_BITRATE_MAX @"software encorder crf bitrate max" |
Preset maximum bitrate for software encoder in crf mode, type: int. More... | |
#define | NVS_COMPILE_SOFTWARE_ENCODER_MODE @"software encorder mode" |
Software encoder mode, type: string, support “abr”、“crf”,default is crf. More... | |
#define | NVS_COMPILE_CREATION_TIME @"creation time" |
Set creation time for this file. Foramt:"YYYY-MM-DDTHH:MM:SS",eg:2010-12-24T12:00:00(use location time) More... | |
#define | NVS_COMPILE_METADATADESCRIPTION @"metadata description" |
Corresponding AVMetadataCommonKeyDescription, sets the metadata description of the video files. More... | |
#define | NVS_COMPILE_AUDIO_SAMPLE_RATE @"audio sample rate" |
Set the audio sampling rate, currently supporting a minimum of 16K and a maximum of 128K. More... | |
#define | NVS_COMPILE_AUDIO_CHANNELS_MODE @"audio channels mode" |
Set up audio channels, currently supporting "mixtomono", with default and timeline settings consistent. More... | |
#define | NVS_COMPILE_FILE_META_DATA @"file metadata" |
Set meta data, for example:"creation-time=xxxxx;location=17.641347+160.931648;". More... | |
#define | NVS_COMPILE_GIF_STATS_MODE @"gif stats mode" |
#define NVS_COMPILE_AUDIO_BITRATE @"audio bitrate" |
Compile audio bitrate, type: int, such as 128000 for 128k bitrate.
#define NVS_COMPILE_AUDIO_CHANNELS_MODE @"audio channels mode" |
Set up audio channels, currently supporting "mixtomono", with default and timeline settings consistent.
#define NVS_COMPILE_AUDIO_ENCODEC_NAME @"audio encoder name" |
Assigned audio encoding format, "amr-wb" and "mp3" are supported, default is "aac".
#define NVS_COMPILE_AUDIO_SAMPLE_RATE @"audio sample rate" |
Set the audio sampling rate, currently supporting a minimum of 16K and a maximum of 128K.
#define NVS_COMPILE_BITRATE @"bitrate" |
Compile bitrate,type: int, such as 3000000 for 3M biterate.
#define NVS_COMPILE_CACHE_FILE_DURATION @"cache file duration" |
Breakpoint continuation cache file duration.
#define NVS_COMPILE_CACHE_FILE_PATH @"cache file path" |
Breakpoint continuation cache file path.
#define NVS_COMPILE_CREATION_TIME @"creation time" |
Set creation time for this file. Foramt:"YYYY-MM-DDTHH:MM:SS",eg:2010-12-24T12:00:00(use location time)
#define NVS_COMPILE_DONT_USE_VIDEO_TOOLBOX @"dont-use-video-toolbox" |
Whether to use video toolbox, type: boolean.
#define NVS_COMPILE_ENABLE_BREAKPOINT_CONTINUATION @"enable breakpoint continuation" |
Set whether enable breakpoint continuation.
#define NVS_COMPILE_FILE_META_DATA @"file metadata" |
Set meta data, for example:"creation-time=xxxxx;location=17.641347+160.931648;".
#define NVS_COMPILE_GIF_STATS_MODE @"gif stats mode" |
Set the statistical mode for GIF export. Currently, it supports diff, single, and defaults to single mode. If set to diff mode, it is best to export GIF for no more than 10 seconds. In this mode, memory requirements are relatively high
#define NVS_COMPILE_GOP_SIZE @"gopsize" |
Compile GOP size, type: int, default is 30.
#define NVS_COMPILE_HDR_VIDEO_COLOR_TRANSFER @"encorder color transfer" |
Set color transfer for HDR to encode, curve: string, default is "none", can support "st2084" and "hlg",.
#define NVS_COMPILE_LOSSLESS_AUDIO @"lossless audio" |
Whether to compile lossless audio, type: boolean.
#define NVS_COMPILE_METADATADESCRIPTION @"metadata description" |
Corresponding AVMetadataCommonKeyDescription, sets the metadata description of the video files.
#define NVS_COMPILE_OPTIMIZE_FOR_NETWORK_USE @"optimize-for-network-use" |
Whether to prepose the index table, type: boolean.
#define NVS_COMPILE_SOFTWARE_ENCODER_CRF @"software encorder crf" |
Preset crf parameters for software encoder, type: int, range is [1, 99], less is better,default is 23.
#define NVS_COMPILE_SOFTWARE_ENCODER_CRF_BITRATE_MAX @"software encorder crf bitrate max" |
Preset maximum bitrate for software encoder in crf mode, type: int.
#define NVS_COMPILE_SOFTWARE_ENCODER_MODE @"software encorder mode" |
Software encoder mode, type: string, support “abr”、“crf”,default is crf.
#define NVS_COMPILE_VIDEO_ENCODEC_NAME @"video encoder name" |
Assigned video encoding format, hevc(h.256) is supported, default is h.264.
#define NVS_COMPILE_VIDEO_FPS @"fps" |
frames per second when compiling, type: NSData, such as NvsRational videoFps = {30, 1},[NSData dataWithBytes:&videoFps length:sizeof(NvsRational)] forKey:NVS_COMPILE_VIDEO_FPS]
#define NVS_RECORD_BITRATE @"bitrate" |
Record bitrate,type: int, such as 3000000 for 3M biterate.
#define NVS_RECORD_GOP_SIZE @"gopsize" |
Record GOP size, type: int, default is 30.
#define NVS_RECORD_HDR_VIDEO_COLOR_TRANSFER @"encorder color transfer" |
Set color transfer for HDR to encode, curve: string, default is "none", can support "st2084" and "hlg",
#define NVS_RECORD_VIDEO_ENCODEC_NAME @"video encoder name" |
Assigned video encoding format, hevc(h.256) is supported, default is h.264.
enum BufferImageRotation |
enum NvsCameraFlashMode |
enum NvsClearCacheFlag |
Clear cache flags.
Resolution level for compiling video (define video resolution at time of createTimeline. Automatically defining rendering video width in according to output video height).
Create timeline flag.
enum NvsDebugLevel |
enum NvsHDRCapabilityFlag |
Flag of human detection.
Streaming context creation flag.
Flag of capturing.
Flag of compiling video.
Flag of playing engine.
Flag of Recording.
Flag of seeking engine.
Streaming engine status.
Resolution level for capturing video.