MeiCam SDK For iOS
3.14.0
|
Go to the source code of this file.
Classes | |
protocol | <NvsMediaFileConvertorDelegate> |
class | NvsMediaFileConvertor |
Macros | |
Configuration of media convertor | |
#define | NVS_MEDIA_CONVERTOR_CUSTOM_HEIGHT @"custom-video-height" |
Set custom video height,width will be automatic scaled to keep aspect ratio. type:int. More... | |
#define | NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_SAMPLE_RATE @"custom-audio-sample-rate" |
Set custom audio sample rate,type:int. More... | |
#define | NVS_MEDIA_CONVERTOR_NO_VIDEO @"convertor-no-video" |
only convert audio stream,type:bool More... | |
#define | NVS_MEDIA_CONVERTOR_NO_AUDIO @"convertor-no-audio" |
only convert video stream,type:bool More... | |
#define | NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_CHANNEL @"custom-audio-channel" |
Set custom audio channels,type:int. More... | |
#define | NVS_MEDIA_CONVERTOR_REVERSE_AUDIO_STREAM @"convertor-reverse-audio" |
Reverse audio stream,type:bool. More... | |
#define | NVS_MEDIA_CONVERTOR_MAX_CACHE_SIZE_IN_MEMORY @"max_cache_size_in_memory" |
max cache video frame buffer count in host memory,type:int More... | |
#define | NVS_MEDIA_CONVERTOR_CUSTOM_FRAME_RATE @"custom-video-frame-rate" |
Set custom video frame rate, type: int. More... | |
#define | NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_PCM_FILE @"custom-audio-pcm-file" |
Set output audio pcm stream,type:bool. More... | |
#define | NVS_MEDIA_CONVERTOR_COMPILE_GOP_SIZE @"gopsize" |
GOP SIZE for convert video. type:int. More... | |
#define | NVS_MEDIA_CONVERTOR_COMPILE_BITRATE @"bitrate" |
Bitrate for convert video in bps. type:int. More... | |
#define | NVS_MEDIA_CONVERTOR_COMPILE_AUDIO_BITRATE @"audio bitrate" |
Bitrate for convert audio in bps. type:int. More... | |
#define | NVS_EDIA_CONVERTOR_VIDEO_ENCODEC_NAME @"video encoder name" |
Assigned video encoding format, hevc(h.256) is supported, default is h.264. More... | |
#define | NVS_EDIA_CONVERTOR_AUDIO_ENCODEC_NAME @"audio encoder name" |
#define NVS_EDIA_CONVERTOR_AUDIO_ENCODEC_NAME @"audio encoder name" |
Assigned audio encoding format, "amr-wb" and "mp3" are supported, default is "aac"
#define NVS_EDIA_CONVERTOR_VIDEO_ENCODEC_NAME @"video encoder name" |
Assigned video encoding format, hevc(h.256) is supported, default is h.264.
#define NVS_MEDIA_CONVERTOR_COMPILE_AUDIO_BITRATE @"audio bitrate" |
Bitrate for convert audio in bps. type:int.
#define NVS_MEDIA_CONVERTOR_COMPILE_BITRATE @"bitrate" |
Bitrate for convert video in bps. type:int.
#define NVS_MEDIA_CONVERTOR_COMPILE_GOP_SIZE @"gopsize" |
GOP SIZE for convert video. type:int.
#define NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_CHANNEL @"custom-audio-channel" |
Set custom audio channels,type:int.
#define NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_PCM_FILE @"custom-audio-pcm-file" |
Set output audio pcm stream,type:bool.
#define NVS_MEDIA_CONVERTOR_CUSTOM_AUDIO_SAMPLE_RATE @"custom-audio-sample-rate" |
Set custom audio sample rate,type:int.
#define NVS_MEDIA_CONVERTOR_CUSTOM_FRAME_RATE @"custom-video-frame-rate" |
Set custom video frame rate, type: int.
#define NVS_MEDIA_CONVERTOR_CUSTOM_HEIGHT @"custom-video-height" |
Set custom video height,width will be automatic scaled to keep aspect ratio. type:int.
#define NVS_MEDIA_CONVERTOR_MAX_CACHE_SIZE_IN_MEMORY @"max_cache_size_in_memory" |
max cache video frame buffer count in host memory,type:int
#define NVS_MEDIA_CONVERTOR_NO_AUDIO @"convertor-no-audio" |
only convert video stream,type:bool
#define NVS_MEDIA_CONVERTOR_NO_VIDEO @"convertor-no-video" |
only convert audio stream,type:bool
#define NVS_MEDIA_CONVERTOR_REVERSE_AUDIO_STREAM @"convertor-reverse-audio" |
Reverse audio stream,type:bool.
Type of convertor error.