KSYTranscodeErrorCode Constants Reference
Declared in | KSYTranscoder.h |
---|
KSYTranscodeErrorCode
Definition
typedef NS_ENUM(NSInteger, KSYTranscodeErrorCode ) {
KSYTranscodeErrorCode_None = 0,
KSYTranscodeErrorCode_InvalidAddress = -1,
KSYTranscodeErrorCode_InputFile_OpenFailed = -2,
KSYTranscodeErrorCode_InvalidData = -3,
KSYTranscodeErrorCode_OutputFile_UnsupportedFormat = -4,
KSYTranscodeErrorCode_OutputFile_OpenFailed = -5,
KSYTranscodeErrorCode_OutputFile_AddStreamFailed = -6,
KSYTranscodeErrorCode_OutputFile_StartWriteFailed = -7,
KSYTranscodeErrorCode_Transcoding_Failed = -8,
};
Constants
KSYTranscodeErrorCode_None
-
正常无错误
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_InvalidAddress
-
无效的文件地址(输入或输出地址为空)
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_InputFile_OpenFailed
-
打开输入文件失败
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_InvalidData
-
无效的媒体数据
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_OutputFile_UnsupportedFormat
-
不支持的输出文件格式
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_OutputFile_OpenFailed
-
打开输出文件失败
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_OutputFile_AddStreamFailed
-
输出文件添加流失败
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_OutputFile_StartWriteFailed
-
输出文件头写入失败(通常为不支持的codec)
Declared In
KSYTranscoder.h
. KSYTranscodeErrorCode_Transcoding_Failed
-
转码过程中出现错误
Declared In
KSYTranscoder.h
.
Declared In
KSYTranscoder.h