TI中文支持网
TI专业的中文技术问题搜集分享网站

264 enc link create失败

create 264 enclink失败,调用System_linkCreate的打印如下,请问是什么参数错误?怎么看这些打印信息?谢谢!

root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#  [m3video]  38909: IPC_BITS_IN   : Create in progress !!!
 [m3video]  38909: SYSTEM: Opening ListMP [HOST_IPC_OUT_24] …
 [m3video]  38909: SYSTEM: Opening ListMP [HOST_IPC_IN_24] …
 [m3video]  38910: SYSTEM: Opening MsgQ [HOST_MSGQ] …
 [m3video]  38913: IPC_BITS_IN   : Create Done !!!
 [m3video]  38913: DECODE: Create in progress … !!!
 [m3video] DECLINK_H264:HEAPID:0 USED:4264
 [m3video] DECLINK_H264:HEAPID:3 USED:29278208
 [m3video]  39279: DECODE: Creating CH0 of 1920 x 1088 [PROGRESSIVE] [NON-TILED  ],target bitrate = 2097 Kbps … [m3video]  39281: DECODE: All CH Create … DONE !!!
 [m3video] DECLINK:HEAPID:0 USED:4304
 [m3video] DECLINK:HEAPID:3 USED:57270272
 [m3video]  39285: DECODE: Create … DONE !!!
 [m3video]  39286: IPC_OUT_M3   : Create in progress !!!
 [m3video]  39287: IPC_OUT_M3   : Create Done !!!
 [m3video]  39287: IPC_IN_M3   : Create in progress !!!
 [m3video]  39288: SYSTEM: Opening ListMP [VIDEO-M3_IPC_OUT_0] …
 [m3video]  39288: SYSTEM: Opening ListMP [VIDEO-M3_IPC_IN_0] …
 [m3video]  39289: IPC_IN_M3   : Create Done !!!
 [m3video]  39289: ENCODE: Create in progress … !!!
 [m3video]  39347: ENCODE: Creating CH0 of 1920 x 1088, pitch = (2176, 2176) [PROGRESSIVE] [NON-TILED  ], bitrate = 2097 Kbps, I-P Interval 1… [m3video] 39394:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[576]::INTERNAL ERROR:-1
 [m3video] ALGCONTROL FAILED:CMD:6
 [m3video] ERROR: XDM_UNSUPPORTEDPARAM = 14, [m3video] ERROR: XDM_FATALERROR = 15 [m3video] ERROR: IH264ENC_UNSUPPORTED_VIDENC2PARAMS = 20, [m3video] 39394:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :0
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_PRESET_ENC_RATECTRL_LVL                                                                                      = 94   [m3video] EXT_ERROR: IH264ENC_EXTERROR_PROFILE_DATASYNC_INPCONTENT_RES                                                                              = 96   [m3video] 39395:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :0
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_LEVEL_MODE                                                                                             = 62   [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_REFRESHMETHOD                                                                                          = 64   [m3video] EXT_ERROR: IH264ENC_EXTERROR_STEREO_PRESET                                                                                                = 130  [m3video] EXT_ERROR: IH264ENC_EXTERROR_VERSION_BUFFER_NULL_OR_SIZE                                                                                  = 131  [m3video] EXT_ERROR: IH264ENC_EXTERROR_VUI_NUMUNITSINTICKS                                                                                          = 132  [m3video] EXT_ERROR: IH264ENC_EXTERROR_VUI_PRESET                                                                                                   = 133  [m3video] EXT_ERROR: <?? [m3video] 39397:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :40000000
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_DYNAMICPARAMS_PTRNULL                                                                                        = 30   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FIFO_EMPTY_NOPROCESS                                                                                         = 32   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_BFRAMEPICSIZE                                                                                       = 98   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_CBCRQPINDEX_INITBUFLVL                                                                              = 99   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_HRDBUFFER_LVLEXCEED                                                                                 = 100  [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_IFRAME_QP                                                                                           = 101  [m3video] EXT_ERROR: IH264ENC_EXTERROR_SCLMATRIX_METADATA                                                                                           = 104  [m3video] EXT_ERROR: IH264ENC_EXTERROR_STATUS_SIZE                                                                                                  = 128  [m3video] 39399:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :1
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_ACTIVEREGION                                                                                                 = 0    [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_REFRESHRATE                                                                                            = 66   [m3video] EXT_ERROR: IH264ENC_EXTERROR_IVAHD_BADRESET                                                                                               = 67   [m3video] EXT_ERROR: IH264ENC_EXTERROR_IVAHD_BADSTATE                                                                                               = 68   [m3video] EXT_ERROR: IH264ENC_EXTERROR_IVAHD_RELEASE                                                                                                = 69   [m3video] EXT_ERROR: IH264ENC_EXTERROR_LOOPFILTER_OFFST_LFIDC                                                                                       = 72   [m3video] EXT_ERROR: IH264ENC_EXTERROR_PROFILE_DATASYNC_INPCONTENT_RES                                                                              = 96   [m3video] EXT_ERROR: IH264ENC_EXTERROR_STATUS_SIZE                                                                                                  = 128  [m3video] EXT_ERROR: IH264ENC_EXTERROR_STEREO_PRESET                                                                                                = 130  [m3video] 39401:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :0
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_FMO_PRESET                                                                                                   = 34   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FRMPACKING_PRESET                                                                                            = 35   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FRMPACKING_TYPE_INPCONTENT                                                                                   = 36   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FRMRATE_NUMUNITSINTICKS                                                                                      = 37   [m3video] EXT_ERROR: IH264ENC_EXTERROR_HIGHSPEED_BFARME                                                                                             = 40   [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_REFRESHMETHOD                                                                                          = 64   [m3video] EXT_ERROR: IH264ENC_EXTERROR_PROFILE_DATASYNC_INPCONTENT_RES                                                                              = 96   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_BFRAMEPICSIZE                                                                                       = 98   [m3video] EXT_ERROR: IH264ENC_NUM_OUTPUT_BUFS_ANALYTICINFO                                                                                          = 134  [m3video] EXT_ERROR: [m3video]  [m3video] ——— CH 0 : H264 ENC : Dynamic Params ——-
 [m3video]  [m3video] videnc2DynamicParams -> inputHeight             : 1088
 [m3video] videnc2DynamicParams -> inputWidth              : 1920
 [m3video] videnc2DynamicParams -> refFrameRate            : 30000
 [m3video] videnc2DynamicParams -> targetFrameRate         : 30000
 [m3video] videnc2DynamicParams -> targetBitRate           : 2097152
 [m3video] videnc2DynamicParams -> intraFrameInterval      : 300
 [m3video] videnc2DynamicParams -> generateHeader          : 0
 [m3video] videnc2DynamicParams -> captureWidth            : 2176
 [m3video] videnc2DynamicParams -> forceFrame              : -1
 [m3video] videnc2DynamicParams -> interFrameInterval      : 1
 [m3video] videnc2DynamicParams -> mvAccuracy              : 2
 [m3video] videnc2DynamicParams -> sampleAspectRatioHeight : 1
 [m3video] videnc2DynamicParams -> sampleAspectRatioWidth  : 1
 [m3video] videnc2DynamicParams -> ignoreOutbufSizeFlag    : 1
 [m3video] videnc2DynamicParams -> lateAcquireArg          : -1
 [m3video]  [m3video] rateControlParams -> rateControlParamsPreset        : 1
 [m3video] rateControlParams -> scalingMatrixPreset            : 1
 [m3video] rateControlParams -> rcAlgo                         : 1
 [m3video] rateControlParams -> qpI                            : -1
 [m3video] rateControlParams -> qpMaxI                         : 50
 [m3video] rateControlParams -> qpMinI                         : 10
 [m3video] rateControlParams -> qpP                            : -1
 [m3video] rateControlParams -> qpMaxP                         : 50
 [m3video] rateControlParams -> qpMinP                         : 10
 [m3video] rateControlParams -> qpOffsetB                      : 4
 [m3video] rateControlParams -> qpMaxB                         : 44
 [m3video] rateControlParams -> qpMinB                         : 10
 [m3video] rateControlParams -> allowFrameSkip                 : 0
 [m3video] rateControlParams -> removeExpensiveCoeff           : 0
 [m3video] rateControlParams -> chromaQPIndexOffset            : 0
 [m3video] rateControlParams -> IPQualityFactor                : 0
 [m3video] rateControlParams -> initialBufferLevel             : 2097152
 [m3video] rateControlParams -> HRDBufferSize                  : 2097152
 [m3video] rateControlParams -> minPicSizeRatioI               : 0
 [m3video] rateControlParams -> maxPicSizeRatioI               : 640
 [m3video] rateControlParams -> minPicSizeRatioP               : 0
 [m3video] rateControlParams -> maxPicSizeRatioP               : 0
 [m3video] rateControlParams -> minPicSizeRatioB               : 0
 [m3video] rateControlParams -> maxPicSizeRatioB               : 0
 [m3video] rateControlParams -> enablePRC                      : 0
 [m3video] rateControlParams -> enablePartialFrameSkip         : 0
 [m3video] rateControlParams -> discardSavedBits               : 1
 [m3video] rateControlParams -> VBRDuration                    : 8
 [m3video] rateControlParams -> VBRsensitivity                 : 0
 [m3video] rateControlParams -> skipDistributionWindowLength   : 5
 [m3video] rateControlParams -> numSkipInDistributionWindow    : 2
 [m3video] rateControlParams -> enableHRDComplianceMode        : 1
 [m3video] rateControlParams -> frameSkipThMulQ5               : 0
 [m3video] rateControlParams -> vbvUseLevelThQ5                : 0
 [m3video]  [m3video] interCodingParams -> interCodingPreset  : 0
 [m3video] interCodingParams -> searchRangeHorP    : 144
 [m3video] interCodingParams -> searchRangeVerP    : 32
 [m3video] interCodingParams -> searchRangeHorB    : 144
 [m3video] interCodingParams -> searchRangeVerB    : 16
 [m3video] interCodingParams -> interCodingBias    : 1
 [m3video] interCodingParams -> skipMVCodingBias   : 1
 [m3video] interCodingParams -> minBlockSizeP      : 0
 [m3video] interCodingParams -> minBlockSizeB      : 0
 [m3video] interCodingParams -> meAlgoMode         : 0
 [m3video]  [m3video] intraCodingParams -> intraCodingPreset          : 0
 [m3video] intraCodingParams -> lumaIntra4x4Enable         : 0
 [m3video] intraCodingParams -> lumaIntra8x8Enable         : 255
 [m3video] intraCodingParams -> lumaIntra16x16Enable       : 15
 [m3video] intraCodingParams -> chromaIntra8x8Enable       : 15
 [m3video] intraCodingParams -> chromaComponentEnable      : 1
 [m3video] intraCodingParams -> intraRefreshMethod         : 0
 [m3video] intraCodingParams -> intraRefreshRate           : 0
 [m3video] intraCodingParams -> gdrOverlapRowsBtwFrames    : 0
 [m3video] intraCodingParams -> constrainedIntraPredEnable : 0
 [m3video] intraCodingParams -> intraCodingBias            : 0
 [m3video]  [m3video] sliceCodingParams -> sliceCodingPreset  : 0
 [m3video] sliceCodingParams -> sliceMode          : 0
 [m3video] sliceCodingParams -> sliceUnitSize      : 0
 [m3video] sliceCodingParams -> sliceStartOffset   : [0 0 0]
 [m3video] sliceCodingParams -> streamFormat       : 0
 [m3video]  [m3video] sliceGroupChangeCycle           : 0
 [m3video] searchCenter                    : 32767
 [m3video] enableStaticMBCount             : 0
 [m3video] enableROI                       : 0
 [m3video]  [m3video]  [m3video] 39412:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[576]::INTERNAL ERROR:-1
 [m3video] ALGCONTROL FAILED:CMD:3
 [m3video] ERROR: XDM_UNSUPPORTEDPARAM = 14, [m3video] ERROR: XDM_FATALERROR = 15 [m3video] ERROR: IH264ENC_UNSUPPORTED_VIDENC2PARAMS = 20, [m3video] 39412:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :0
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_PRESET_ENC_RATECTRL_LVL                                                                                      = 94   [m3video] EXT_ERROR: IH264ENC_EXTERROR_PROFILE_DATASYNC_INPCONTENT_RES                                                                              = 96   [m3video] 39413:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :0
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_LEVEL_MODE                                                                                             = 62   [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_REFRESHMETHOD                                                                                          = 64   [m3video] EXT_ERROR: IH264ENC_EXTERROR_STEREO_PRESET                                                                                                = 130  [m3video] EXT_ERROR: IH264ENC_EXTERROR_VERSION_BUFFER_NULL_OR_SIZE                                                                                  = 131  [m3video] EXT_ERROR: IH264ENC_EXTERROR_VUI_NUMUNITSINTICKS                                                                                          = 132  [m3video] EXT_ERROR: IH264ENC_EXTERROR_VUI_PRESET                                                                                                   = 133  [m3video] EXT_ERROR: <?? [m3video] 39415:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :40000000
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_DYNAMICPARAMS_PTRNULL                                                                                        = 30   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FIFO_EMPTY_NOPROCESS                                                                                         = 32   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_BFRAMEPICSIZE                                                                                       = 98   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_CBCRQPINDEX_INITBUFLVL                                                                              = 99   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_HRDBUFFER_LVLEXCEED                                                                                 = 100  [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_IFRAME_QP                                                                                           = 101  [m3video] EXT_ERROR: IH264ENC_EXTERROR_SCLMATRIX_METADATA                                                                                           = 104  [m3video] EXT_ERROR: IH264ENC_EXTERROR_STATUS_SIZE                                                                                                  = 128  [m3video] 39417:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :1
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_ACTIVEREGION                                                                                                 = 0    [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_REFRESHRATE                                                                                            = 66   [m3video] EXT_ERROR: IH264ENC_EXTERROR_IVAHD_BADRESET                                                                                               = 67   [m3video] EXT_ERROR: IH264ENC_EXTERROR_IVAHD_BADSTATE                                                                                               = 68   [m3video] EXT_ERROR: IH264ENC_EXTERROR_IVAHD_RELEASE                                                                                                = 69   [m3video] EXT_ERROR: IH264ENC_EXTERROR_LOOPFILTER_OFFST_LFIDC                                                                                       = 72   [m3video] EXT_ERROR: IH264ENC_EXTERROR_PROFILE_DATASYNC_INPCONTENT_RES                                                                              = 96   [m3video] EXT_ERROR: IH264ENC_EXTERROR_STATUS_SIZE                                                                                                  = 128  [m3video] EXT_ERROR: IH264ENC_EXTERROR_STEREO_PRESET                                                                                                = 130  [m3video] 39419:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[587]::INTERNAL ERROR:-1
 [m3video] Ext Error :0
 [m3video] EXT_ERROR: IH264ENC_EXTERROR_FMO_PRESET                                                                                                   = 34   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FRMPACKING_PRESET                                                                                            = 35   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FRMPACKING_TYPE_INPCONTENT                                                                                   = 36   [m3video] EXT_ERROR: IH264ENC_EXTERROR_FRMRATE_NUMUNITSINTICKS                                                                                      = 37   [m3video] EXT_ERROR: IH264ENC_EXTERROR_HIGHSPEED_BFARME                                                                                             = 40   [m3video] EXT_ERROR: IH264ENC_EXTERROR_INTRA_REFRESHMETHOD                                                                                          = 64   [m3video] EXT_ERROR: IH264ENC_EXTERROR_PROFILE_DATASYNC_INPCONTENT_RES                                                                              = 96   [m3video] EXT_ERROR: IH264ENC_EXTERROR_RATECTRL_BFRAMEPICSIZE                                                                                       = 98   [m3video] EXT_ERROR: IH264ENC_NUM_OUTPUT_BUFS_ANALYTICINFO                                                                                          = 134  [m3video] EXT_ERROR: [m3video]  [m3video] ——— CH 0 : H264 ENC : Dynamic Params ——-
 [m3video]  [m3video] videnc2DynamicParams -> inputHeight             : 1088
 [m3video] videnc2DynamicParams -> inputWidth              : 1920
 [m3video] videnc2DynamicParams -> refFrameRate            : 30000
 [m3video] videnc2DynamicParams -> targetFrameRate         : 30000
 [m3video] videnc2DynamicParams -> targetBitRate           : 2097152
 [m3video] videnc2DynamicParams -> intraFrameInterval      : 300
 [m3video] videnc2DynamicParams -> generateHeader          : 0
 [m3video] videnc2DynamicParams -> captureWidth            : 2176
 [m3video] videnc2DynamicParams -> forceFrame              : -1
 [m3video] videnc2DynamicParams -> interFrameInterval      : 1
 [m3video] videnc2DynamicParams -> mvAccuracy              : 2
 [m3video] videnc2DynamicParams -> sampleAspectRatioHeight : 1
 [m3video] videnc2DynamicParams -> sampleAspectRatioWidth  : 1
 [m3video] videnc2DynamicParams -> ignoreOutbufSizeFlag    : 1
 [m3video] videnc2DynamicParams -> lateAcquireArg          : -1
 [m3video]  [m3video] rateControlParams -> rateControlParamsPreset        : 1
 [m3video] rateControlParams -> scalingMatrixPreset            : 1
 [m3video] rateControlParams -> rcAlgo                         : 1
 [m3video] rateControlParams -> qpI                            : -1
 [m3video] rateControlParams -> qpMaxI                         : 50
 [m3video] rateControlParams -> qpMinI                         : 10
 [m3video] rateControlParams -> qpP                            : -1
 [m3video] rateControlParams -> qpMaxP                         : 50
 [m3video] rateControlParams -> qpMinP                         : 10
 [m3video] rateControlParams -> qpOffsetB                      : 4
 [m3video] rateControlParams -> qpMaxB                         : 44
 [m3video] rateControlParams -> qpMinB                         : 10
 [m3video] rateControlParams -> allowFrameSkip                 : 0
 [m3video] rateControlParams -> removeExpensiveCoeff           : 0
 [m3video] rateControlParams -> chromaQPIndexOffset            : 0
 [m3video] rateControlParams -> IPQualityFactor                : 0
 [m3video] rateControlParams -> initialBufferLevel             : 2097152
 [m3video] rateControlParams -> HRDBufferSize                  : 2097152
 [m3video] rateControlParams -> minPicSizeRatioI               : 0
 [m3video] rateControlParams -> maxPicSizeRatioI               : 640
 [m3video] rateControlParams -> minPicSizeRatioP               : 0
 [m3video] rateControlParams -> maxPicSizeRatioP               : 0
 [m3video] rateControlParams -> minPicSizeRatioB               : 0
 [m3video] rateControlParams -> maxPicSizeRatioB               : 0
 [m3video] rateControlParams -> enablePRC                      : 0
 [m3video] rateControlParams -> enablePartialFrameSkip         : 0
 [m3video] rateControlParams -> discardSavedBits               : 1
 [m3video] rateControlParams -> VBRDuration                    : 8
 [m3video] rateControlParams -> VBRsensitivity                 : 0
 [m3video] rateControlParams -> skipDistributionWindowLength   : 5
 [m3video] rateControlParams -> numSkipInDistributionWindow    : 2
 [m3video] rateControlParams -> enableHRDComplianceMode        : 1
 [m3video] rateControlParams -> frameSkipThMulQ5               : 0
 [m3video] rateControlParams -> vbvUseLevelThQ5                : 0
 [m3video]  [m3video] interCodingParams -> interCodingPreset  : 0
 [m3video] interCodingParams -> searchRangeHorP    : 144
 [m3video] interCodingParams -> searchRangeVerP    : 32
 [m3video] interCodingParams -> searchRangeHorB    : 144
 [m3video] interCodingParams -> searchRangeVerB    : 16
 [m3video] interCodingParams -> interCodingBias    : 1
 [m3video] interCodingParams -> skipMVCodingBias   : 1
 [m3video] interCodingParams -> minBlockSizeP      : 0
 [m3video] interCodingParams -> minBlockSizeB      : 0
 [m3video] interCodingParams -> meAlgoMode         : 0
 [m3video]  [m3video] intraCodingParams -> intraCodingPreset          : 0
 [m3video] intraCodingParams -> lumaIntra4x4Enable         : 0
 [m3video] intraCodingParams -> lumaIntra8x8Enable         : 255
 [m3video] intraCodingParams -> lumaIntra16x16Enable       : 15
 [m3video] intraCodingParams -> chromaIntra8x8Enable       : 15
 [m3video] intraCodingParams -> chromaComponentEnable      : 1
 [m3video] intraCodingParams -> intraRefreshMethod         : 0
 [m3video] intraCodingParams -> intraRefreshRate           : 0
 [m3video] intraCodingParams -> gdrOverlapRowsBtwFrames    : 0
 [m3video] intraCodingParams -> constrainedIntraPredEnable : 0
 [m3video] intraCodingParams -> intraCodingBias            : 0
 [m3video]  [m3video] sliceCodingParams -> sliceCodingPreset  : 0
 [m3video] sliceCodingParams -> sliceMode          : 0
 [m3video] sliceCodingParams -> sliceUnitSize      : 0
 [m3video] sliceCodingParams -> sliceStartOffset   : [0 0 0]
 [m3video] sliceCodingParams -> streamFormat       : 0
 [m3video]  [m3video] sliceGroupChangeCycle           : 0
 [m3video] searchCenter                    : 32767
 [m3video] enableStaticMBCount             : 0
 [m3video] enableROI                       : 0
 [m3video]  [m3video]  [m3video]  [m3video] 39430:ERR::linkID:10000021::channelID:0::errorCode:-5::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1673::errorCondition:(algStatus == XDM_EOK)
 [m3video]  39430: Assertion @ Line: 1011 in links_m3video/iva_enc/encLink_common.c: retVal == ENC_LINK_S_SUCCESS : failed !!!

root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#root@dm814x-evm:/media/net/8148/ti814x#

create link代码
 {
  EncLink_CreateParams tParam;
  
  LINK_CREATE_PARAM_INIT(EncLink_CreateParams, tParam);
  for (i=0; i<VIDEO_CHNS; i++)
  {
         EncLink_ChCreateParams *pLinkChPrm;
         EncLink_ChDynamicParams *pLinkDynPrm;
           
            pLinkChPrm  = &(tParam.chCreateParams[i]);
            pLinkDynPrm = &(pLinkChPrm->defaultDynamicParams);
                       pLinkChPrm->format                  = IVIDEO_H264HP;
            pLinkChPrm->profile                 = IH264_HIGH_PROFILE;
            pLinkChPrm->dataLayout              = IVIDEO_FIELD_SEPARATED;
            pLinkChPrm->fieldMergeEncodeEnable  = FALSE;
            pLinkChPrm->enableAnalyticinfo      = FALSE;
            pLinkChPrm->enableWaterMarking      = FALSE;
            pLinkChPrm->maxBitRate              = 3<<20;
            pLinkChPrm->encodingPreset          = XDM_HIGH_QUALITY;
            pLinkChPrm->rateControlPreset       = IVIDEO_LOW_DELAY;
            pLinkChPrm->enableSVCExtensionFlag  = FALSE;
            pLinkChPrm->numTemporalLayer        = 1;

            pLinkDynPrm->intraFrameInterval     = 300;
            pLinkDynPrm->targetBitRate          = 2<<20;
            pLinkDynPrm->interFrameInterval     = 1;
            pLinkDynPrm->mvAccuracy             = IVIDENC2_MOTIONVECTOR_QUARTERPEL;
            pLinkDynPrm->inputFrameRate         = 25;
            pLinkDynPrm->rcAlg                  = 1/*pDynPrm->rcAlg*/;
            pLinkDynPrm->qpMin                  = 10;
            pLinkDynPrm->qpMax                  = 50;
            pLinkDynPrm->qpInit                 = -1;
            pLinkDynPrm->vbrDuration            = 8;
            pLinkDynPrm->vbrSensitivity         = 0;
  }
  tParam.numBufPerCh[0] = 4;
  tParam.numBufPerCh[1] = 4;
  tParam.inQueParams.prevLinkId    = gipcM3InId;
  tParam.inQueParams.prevLinkQueId = 0;
        tParam.outQueParams.nextLink     = gipcBitsOutRTOSId;
        RUN_LINK_WRAP(System_linkCreate(gencId, &tParam, sizeof(tParam)));
 }

Ternence_Hsu:

你好;

      你这是在dm8148上面调试吗?

      你是用的什么版本的SDK ? RDK的那个版本 ?

Ternence_Hsu:

回复 Ternence_Hsu:

你可以简单的画出你的usecase 的框架吗?

贴出更完整的 log 信息 ;

赞(0)
未经允许不得转载:TI中文支持网 » 264 enc link create失败
分享到: 更多 (0)