zoukankan      html  css  js  c++  java
  • VideoToolbox硬件编解码H.264视频流错误码

    如果你不能找到在VTD中的错误代码我决定只包括他们在这里。 (同样,所有这些错误,并更可以在里面VideoToolbox在Project Navigator中找到。本身)。
     您将获得无论是在VTD中解码回调,或当您创建VTD会话,如果你做了错误,这些错误代码之一。
    kVTPropertyNotSupportedErr    = -12900,
    kVTPropertyReadOnlyErr     = -12901,
    kVTParameterErr       = -12902,
    kVTInvalidSessionErr     = -12903,
    kVTAllocationFailedErr     = -12904,
    kVTPixelTransferNotSupportedErr   = -12905, // c.f. -8961
    kVTCouldNotFindVideoDecoderErr   = -12906,
    kVTCouldNotCreateInstanceErr   = -12907,
    kVTCouldNotFindVideoEncoderErr   = -12908,
    kVTVideoDecoderBadDataErr    = -12909, // c.f. -8969
    kVTVideoDecoderUnsupportedDataFormatErr = -12910, // c.f. -8970
    kVTVideoDecoderMalfunctionErr   = -12911, // c.f. -8960
    kVTVideoEncoderMalfunctionErr   = -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   = -12742,
    kCMSampleBufferError_InvalidMediaFormat   = -12743,
    kCMSampleBufferError_Invalidated     = -12744,
    kCMSampleBufferError_DataFailed     = -16750,
    kCMSampleBufferError_DataCanceled     = -16751,

    ===================================================================
    参考:http://qanda.ren/15-1303
  • 相关阅读:
    5的阶乘以及任意输入一个数的阶乘
    继入门程序后的第一篇函数调用的小程序 比较两数大小
    计算机网络01-计算机网络与因特网
    2021春招冲刺-1227 数组去重 | 响应式布局 | 媒体查询 |浏览器帧
    2021春招冲刺-1225 TCP与UDP | 单例模式 | 回流与重绘
    2021春招冲刺-1223 进程线程的通信 | 字符串是否有效 | 数组转换与展平
    2021春招冲刺-1221 进程与线程的区别 | 进程的切换 | 单链表是否相交 | 元素水平/垂直居中的方式
    左边固定,右边自适应解决方案
    mock 模拟数据在框架中的简单使用
    一个页面从输入url到加载到内容,这个过程经历了什么
  • 原文地址:https://www.cnblogs.com/wainiwann/p/6212151.html
Copyright © 2011-2022 走看看