首页 > 代码库 > VideoToolbox硬件编解码H.264视频流错误码
VideoToolbox硬件编解码H.264视频流错误码
如果你不能找到在VTD中的错误代码我决定只包括他们在这里。 (同样,所有这些错误,并更可以在里面VideoToolbox在Project Navigator中找到。本身)。 您将获得无论是在VTD中解码回调,或当您创建VTD会话,如果你做了错误,这些错误代码之一。
kVTPropertyNotSupportedErr = -12900,kVTPropertyReadOnlyErr = -12901,kVTParameterErr = -12902,kVTInvalidSessionErr = -12903,kVTAllocationFailedErr = -12904,kVTPixelTransferNotSupportedErr = -12905, // c.f. -8961kVTCouldNotFindVideoDecoderErr = -12906,kVTCouldNotCreateInstanceErr = -12907,kVTCouldNotFindVideoEncoderErr = -12908,kVTVideoDecoderBadDataErr = -12909, // c.f. -8969kVTVideoDecoderUnsupportedDataFormatErr = -12910, // c.f. -8970kVTVideoDecoderMalfunctionErr = -12911, // c.f. -8960kVTVideoEncoderMalfunctionErr = -12912,kVTVideoDecoderNotAvailableNowErr = -12913,kVTImageRotationNotSupportedErr = -12914,kVTVideoEncoderNotAvailableNowErr = -12915,kVTFormatDescriptionChangeNotSupportedErr = -12916,kVTInsufficientSourceColorDataErr = -12917,kVTCouldNotCreateColorCorrectionDataErr = -12918,kVTColorSyncTransformConvertFailedErr = -12919,kVTVideoDecoderAuthorizationErr = -12210,kVTVideoEncoderAuthorizationErr = -12211,kVTColorCorrectionPixelTransferFailedErr = -12212,kVTMultiPassStorageIdentifierMismatchErr = -12213,kVTMultiPassStorageInvalidErr = -12214,kVTFrameSiloInvalidTimeStampErr = -12215,kVTFrameSiloInvalidTimeRangeErr = -12216,kVTCouldNotFindTemporalFilterErr = -12217,kVTPixelTransferNotPermittedErr = -12218,
除了上述VTErrors,我认为这是值得补充说,则在尝试李维的例子遇到CMFormatDescription,CMBlockBuffer,CMSampleBuffer错误。
kCMFormatDescriptionError_InvalidParameter = -12710,kCMFormatDescriptionError_AllocationFailed = -12711,kCMFormatDescriptionError_ValueNotAvailable = -12718,kCMBlockBufferNoErr = 0,kCMBlockBufferStructureAllocationFailedErr = -12700,kCMBlockBufferBlockAllocationFailedErr = -12701,kCMBlockBufferBadCustomBlockSourceErr = -12702,kCMBlockBufferBadOffsetParameterErr = -12703,kCMBlockBufferBadLengthParameterErr = -12704,kCMBlockBufferBadPointerParameterErr = -12705,kCMBlockBufferEmptyBBufErr = -12706,kCMBlockBufferUnallocatedBlockErr = -12707,kCMBlockBufferInsufficientSpaceErr = -12708,kCMSampleBufferError_AllocationFailed = -12730,kCMSampleBufferError_RequiredParameterMissing = -12731,kCMSampleBufferError_AlreadyHasDataBuffer = -12732,kCMSampleBufferError_BufferNotReady = -12733,kCMSampleBufferError_SampleIndexOutOfRange = -12734,kCMSampleBufferError_BufferHasNoSampleSizes = -12735,kCMSampleBufferError_BufferHasNoSampleTimingInfo = -12736,kCMSampleBufferError_ArrayTooSmall = -12737,kCMSampleBufferError_InvalidEntryCount = -12738,kCMSampleBufferError_CannotSubdivide = -12739,kCMSampleBufferError_SampleTimingInfoInvalid = -12740,kCMSampleBufferError_InvalidMediaTypeForOperation = -12741,kCMSampleBufferError_InvalidSampleData = http://www.mamicode.com/-12742,>
===================================================================
参考:http://qanda.ren/15-1303
VideoToolbox硬件编解码H.264视频流错误码
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。