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.

add B frame enc error

hi all ,when i add 1 B frame from below configure,the enc has error,so how to fix that ?

pLinkDynPrm->interFrameInterval = 2;

[m3vpss ] CAPTURE::HEAPID:0 USED:520
[m3vpss ] CAPTURE::HEAPID:4 USED:103680000
[m3vpss ] 271451: CAPTURE: Create Done !!!
[m3vpss ] 271456: DUP : Create Done !!!
[m3vpss ] 271456: DEI : Create in progress !!!
[m3vpss ] 271725: DEI : Loading Down-scaling Co-effs
[m3vpss ] 271725: DEI : Co-effs Loading ... DONE !!!
[m3vpss ] 271725:DEI:Resolution LinkId[0x20000026],ChId[0],inW[1920],inH[1080],outW[1920],outH[1080]
[m3vpss ] 271726:DEI:Resolution LinkId[0x20000026],ChId[1],inW[1920],inH[1080],outW[1920],outH[1080]
[m3vpss ] 271726:DEI:ScalerCoeff LinkId[0x20000026],DEI_SC :HorzCoeff:VPS_SC_SET_1_1,VertCoeff:VPS_SC_SET_1_1
[m3vpss ] DEI:HEAPID:0 USED:64
[m3vpss ] DEI:HEAPID:1 USED:5280
[m3vpss ] DEI:HEAPID:4 USED:58060800
[m3vpss ] 271726: DEI : Create Done !!!
[m3vpss ] 271727: NSF: Create in progress !!!
[m3vpss ] NSF::HEAPID:0 USED:128
[m3vpss ] NSF::HEAPID:1 USED:6336
[m3vpss ] 271729: NSF: Create Done !!!
[m3vpss ] 271729: IPC_OUT_M3 : Create in progress !!!
[m3vpss ] 271730: IPC_OUT_M3 : Create Done !!!
[m3vpss ] 271731: CAPTURE: Start in progress !!!
[m3vpss ] 271831: CAPTURE: Enabled Time Stamping !!!
[m3vpss ] 271832: CAPTURE: Enabled Time Stamping !!!
[m3video] 271840: IPC_IN_M3 : Create in progress !!!
[m3vpss ] 271840: CAPTURE: Start Done !!!
[m3video] 271841: SYSTEM: Opening ListMP [VPSS-M3_IPC_OUT_0] ...
[m3video] 271841: SYSTEM: Opening ListMP [VPSS-M3_IPC_IN_0] ...
[m3video] 271843: IPC_IN_M3 : Create Done !!!
[m3video] 271843: ENCODE: Create in progress ... !!!
[m3video] 271904: ENCODE: Creating CH0 of 1920 x 1080, pitch = (16384, 32768) [PROGRESSIVE] [TILED ], bitrate = 2000 Kbps ...
[m3video] 271907:!ERROR!:ENCLINK::links_m3video/iva_enc/encLink_h264.c:[232]::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] 271907:ERR::linkID:10000021::channelID:0::errorCode:-5::FileName:links_m3video/iva_enc/encLink_h264.c::linuNum:1270::errorCondition:(algStatus == XDM_EOK)
[m3video] 271910: Assertion @ Line: 937 in links_m3video/iva_enc/encLink_common.c: retVal == ENC_LINK_S_SUCCESS : failed !!!