This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

SVC configuration for H.264 encoder

Hi,

    If I set " Profile =IH264SVC_HIGH_PROFILE (86) ,Level = IH264_LEVEL_51 , svcExtensionFlag =IH264_SVC_EXTENSION_FLAG_ENABLE ,  dependencyID =0,

               qualityID=0,enhancementProfileID =0 ,layerIndex =0  and refLayerDQId =0" , the COM console will show below:

"

 [m3video] 27348:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[192]::INTERNAL ERROR:-1

 [m3video] ALGCONTROL FAILED:CMD:1

 [m3video] ERROR: XDM_UNSUPPORTEDPARAM = 14, 

 [m3video] ERROR: XDM_FATALERROR = 15 

 [m3video] ERROR: IH264ENC_UNSUPPORTED_RATECONTROLPARAMS = 21, 

 [m3video] 27348:ERR::linkID:10000020::channelID:0::errorCode:-5::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1823::errorCondition:(algStatus == XDM_EOK)"

  I use  the H264 encoder version is "REL.500.V.H264AVC.E.IVAHD.02.00.00.09"

 Accessories for detailed in H.264 parameters

 

 [m3video]  36350: IPC_IN_M3   : Create in progress !!!
 [m3vpss ]  36348: MERGE   : Create Done !!!
 [m3video]  36350: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
 [m3vpss ]  36349: IPC_OUT_M3   : Create in progress !!!
 [m3video]  36350: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
 [m3vpss ]  36349: IPC_OUT_M3   : Create Done !!!
 [m3video]  36351: SYSTEM: Opening MsgQ [VPSS-M3_MSGQ] ...
 [m3video]  36352: IPC_IN_M3   : Create Done !!!
 [m3video]  36352: ENCODE: Create in progress ... !!!
 [m3video]  36409: ENCODE: Creating CH0 of 1920 x 1080, pitch = (1920, 1920) [PROGRESSIVE] [NON-TILED  ], bitrate = 4000 Kbps ... 
 [m3video] IVIDENC2_Params:
 [m3video] size: 			312
 [m3video] encodingPreset: 			3
 [m3video] rateControlPreset: 			2
 [m3video] maxHeight: 			1088
 [m3video] maxWidth: 			1920
 [m3video] dataEndianness: 			1
 [m3video] maxInterFrameInterval: 			1
 [m3video] maxBitRate: 			-1
 [m3video] minBitRate: 			0
 [m3video] inputChromaFormat: 			9
 [m3video] inputContentType: 			0
 [m3video] operatingMode: 			1
 [m3video] profile: 			100
 [m3video] level: 			51
 [m3video] inputDataMode: 			3
 [m3video] outputDataMode: 			3
 [m3video] numInputDataUnits: 			1
 [m3video] numOutputDataUnits: 			1
 [m3video] metadataType [0]: 			-1
 [m3video] metadataType [1]: 			-1
 [m3video] metadataType [2]: 			-1
 [m3video] IH264ENC_RateControlParams:
 [m3video] rateControlParamsPreset: 			1
 [m3video] scalingMatrixPreset: 			0
 [m3video] rcAlgo: 			1
 [m3video] qpI: 			40
 [m3video] qpMaxI: 			51
 [m3video] qpMinI: 			10
 [m3video] qpP: 			40
 [m3video] qpMaxP: 			51
 [m3video] qpMinP: 			10
 [m3video] qpOffsetB: 			4
 [m3video] qpMaxB: 			44
 [m3video] allowFrameSkip: 			0
 [m3video] removeExpensiveCoeff: 			0
 [m3video] chromaQPIndexOffset: 			0
 [m3video] IPQualityFactor: 			0
 [m3video] initialBufferLevel: 			4096
 [m3video] HRDBufferSize: 			4096
 [m3video] enablePRC: 			1
 [m3video] enablePartialFrameSkip: 			0
 [m3video] reserved: 			0
 [m3video] reservedRC [0]: 			0
 [m3video] reservedRC [1]: 			0
 [m3video] reservedRC [2]: 			0
 [m3video] IH264ENC_InterCodingParams:
 [m3video] interCodingPreset: 			0
 [m3video] searchRangeHorP: 			144
 [m3video] searchRangeVerP: 			32
 [m3video] searchRangeHorB: 			144
 [m3video] searchRangeVerB: 			16
 [m3video] interCodingBias: 			1
 [m3video] skipMVCodingBias: 			1
 [m3video] minBlockSizeP: 			0
 [m3video] minBlockSizeB: 			0
 [m3video] IH264ENC_IntraCodingParams:
 [m3video] intraCodingPreset: 			0
 [m3video] lumaIntra4x4Enable: 			0
 [m3video] lumaIntra8x8Enable: 			255
 [m3video] lumaIntra16x16Enable: 			15
 [m3video] chromaIntra8x8Enable: 			15
 [m3video] chromaComponentEnable: 			1
 [m3video] intraRefreshMethod: 			0
 [m3video] intraRefreshRate: 			0
 [m3video] constrainedIntraPredEnable: 			0
 [m3video] IH264ENC_NALUControlParams:
 [m3video] naluControlPreset: 			0
 [m3video] naluPresentMaskStartOfSequence: 			416
 [m3video] naluPresentMaskIDRPicture: 			416
 [m3video] naluPresentMaskIntraPicture: 			2
 [m3video] naluPresentMaskNonIntraPicture: 			2
 [m3video] naluPresentMaskEndOfSequence: 			3072
 [m3video] IH264ENC_SliceCodingParams:
 [m3video] sliceMode: 			0
 [m3video] sliceUnitSize: 			0
 [m3video] sliceStartOffset[0]: 			0
 [m3video] sliceStartOffset[1]: 			3
 [m3video] sliceStartOffset[2]: 			0
 [m3video] sliceCodingPreset: 			0
 [m3video] IH264ENC_LoopFilterParams:
 [m3video] loopfilterDisableIDC: 			0
 [m3video] filterOffsetA: 			0
 [m3video] filterOffsetB: 			0
 [m3video] IH264ENC_FMOCodingParams:
 [m3video] numSliceGroups: 			1
 [m3video] sliceGroupMapType: 			4
 [m3video] sliceGroupChangeDirectionFlag: 			0
 [m3video] sliceGroupChangeRate: 			0
 [m3video] sliceGroupChangeCycle: 			0
 [m3video] sliceGroupParams[1]: 			0
 [m3video] sliceGroupParams[0]: 			0
 [m3video] IH264ENC_VUICodingParams:
 [m3video] aspectRatioInfoPresentFlag: 			0
 [m3video] aspectRatioIdc: 			0
 [m3video] videoSignalTypePresentFlag: 			0
 [m3video] videoFormat: 			2
 [m3video] videoFullRangeFlag: 			0
 [m3video] timingInfoPresentFlag: 			0
 [m3video] hrdParamsPresentFlag: 			0
 [m3video] numUnitsInTicks: 			1000
 [m3video] IH264ENC_StereoInfoParams:
 [m3video] topFieldIsLeftViewFlag: 			1
 [m3video] viewSelfContainedFlag: 			0
 [m3video] IH264ENC_FramePackingSEIParams:
 [m3video] framePackingType: 			3
 [m3video] frame0PositionX: 			0
 [m3video] frame0PositionY: 			0
 [m3video] frame1PositionX: 			0
 [m3video] frame1PositionY: 			0
 [m3video] reservedByte: 			0
 [m3video] interlaceCodingType: 			3
 [m3video] bottomFieldIntra: 			0
 [m3video] gopStructure: 			0
 [m3video] entropyCodingMode: 			1
 [m3video] transformBlockSize: 			2
 [m3video] log2MaxFNumMinus4: 			10
 [m3video] picOrderCountType: 			0
 [m3video] IDRFrameInterval: 			0
 [m3video] pConstantMemory: 			0
 [m3video] maxIntraFrameInterval: 			2147483647
 [m3video] debugTraceLevel: 			3
 [m3video] lastNFramesToLog: 			1
 [m3video] lastNFramesToLog: 			1
 [m3video] enableAnalyticinfo: 			0
 [m3video] enableGMVSei: 			0
 [m3video] constraintSetFlags: 			0
 [m3video] enableRCDO: 			0
 [m3video] enableLongTermRefFrame: 			0
 [m3video] reservedParams[0]: 			0
 [m3video] reservedParams[1]: 			0
 [m3video] reservedParams[2]: 			0
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] dependencyID: 			0
 [m3video] enhancementProfileID: 			0
 [m3video] layerIndex: 			0
 [m3video] qualityID: 			0
 [m3video] refLayerDQId: 			0
 [m3video] svcExtensionFlag: 			1
 [m3video] enableWatermark: 			0
 [m3video] LTRPPeriod: 			0
 [m3video] numTemporalLayer: 			1
 [m3video] referencePicMarking: 			1
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] IVIDENC2_DynamicParams:
 [m3video] size: 			236
 [m3video] inputHeight: 			1080
 [m3video] inputWidth: 			1920
 [m3video] refFrameRate: 			30000
 [m3video] targetFrameRate: 			30000
 [m3video] targetBitRate: 			4000000
 [m3video] intraFrameInterval: 			150
 [m3video] generateHeader: 			0
 [m3video] captureWidth: 			1920
 [m3video] forceFrame: 			-1
 [m3video] interFrameInterval: 			1
 [m3video] mvAccuracy: 			2
 [m3video] sampleAspectRatioHeight: 			1
 [m3video] sampleAspectRatioWidth: 			1
 [m3video] ignoreOutbufSizeFlag: 			1
 [m3video] putDataFxn: 			0
 [m3video] putDataHandle: 			0
 [m3video] getDataFxn: 			0
 [m3video] getDataHandle: 			0
 [m3video] getBufferFxn: 			3227145
 [m3video] getBufferHandle: 			0
 [m3video] lateAcquireArg: 			-1
 [m3video] IH264ENC_RateControlParams:
 [m3video] rateControlParamsPreset: 			1
 [m3video] scalingMatrixPreset: 			0
 [m3video] rcAlgo: 			0
 [m3video] qpI: 			0
 [m3video] qpMaxI: 			0
 [m3video] qpMinI: 			0
 [m3video] qpP: 			0
 [m3video] qpMaxP: 			0
 [m3video] qpMinP: 			0
 [m3video] qpOffsetB: 			4
 [m3video] qpMaxB: 			44
 [m3video] allowFrameSkip: 			0
 [m3video] removeExpensiveCoeff: 			0
 [m3video] chromaQPIndexOffset: 			0
 [m3video] IPQualityFactor: 			0
 [m3video] initialBufferLevel: 			8000000
 [m3video] HRDBufferSize: 			8000000
 [m3video] enablePRC: 			1
 [m3video] enablePartialFrameSkip: 			0
 [m3video] reserved: 			0
 [m3video] reservedRC [0]: 			0
 [m3video] reservedRC [1]: 			0
 [m3video] reservedRC [2]: 			0
 [m3video] IH264ENC_InterCodingParams:
 [m3video] interCodingPreset: 			0
 [m3video] searchRangeHorP: 			144
 [m3video] searchRangeVerP: 			32
 [m3video] searchRangeHorB: 			144
 [m3video] searchRangeVerB: 			1deo] minBlockSizeB: 			0
 [m3video] IH264ENC_SliceCodingParams:
 [m3video] sliceMode: 			0
 [m3video] sliceUnitSize: 			0
 [m3video] sliceStartOffset[0]: 			0
 [m3video] sliceStartOffset[1]: 			0
 [m3video] sliceStartOffset[2]: 			0
 [m3video] sliceCodingPreset: 			0
 [m3video] sliceGroupChangeCycle: 			0
 [m3video] searchCenter: 			32767
 [m3video] enableStaticMBCount: 			0
 [m3video] enableStaticMBCount: 			0
 [m3video] reservedDynParams[0]: 			0
 [m3video] reservedDynParams[1]: 			804
 [m3video] reservedDynParams[2]: 			0
 [m3video] reservedDynParams[3]: 			0
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] intraRefreshRateGDRDynamic: 			0
 [m3video] gdrOverlapRowsBtwFramesDynamic: 			0
 [m3video] enableROI: 			0
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] ==========================================================
 [m3video] 111111111111111111111111111111111111111111111111111111111111111111111111
 [m3video] 2222222222222222222222222222222222222222222222222222222222222222222222222
 [m3video] <<<<<<<<<<<<<<<<<<<debug in!!!=2624 , aad50480  ,1
 [m3video] 3333333333333333333333333333333333333333333333333333333333333333
 [m3video] 36464:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[192]::INTERNAL ERROR:-1
 [m3video] ALGCONTROL FAILED:CMD:1
 [m3video] ERROR: XDM_UNSUPPORTEDPARAM = 14, 
 [m3video] ERROR: XDM_FATALERROR = 15 
 [m3video] ERROR: IH264ENC_UNSUPPORTED_RATECONTROLPARAMS = 21, 
 [m3video]  
 [m3video] 36465:ERR::linkID:10000020::channelID:0::errorCode:-5::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1823::errorCondition:(algStatus == XDM_EOK)
 [m3video] 444444444444444444444444444444444444444444444444444444444444444444444
 [m3video] 5555555555555555555555555555555555555555555555555555555555555555555555
 [m3video] 666666666666666666666666666666666666666666666666666666666666666666666
 [m3video] ENCLINK_H264:HEAPID:0	USED:1896
 [m3video]  36466: Assertion @ Line: 822 in links_m3video/iva_enc/encLink_common.c: retVal == ENC_LINK_S_SUCCESS : failed !!!