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.

Integration of H264 codec version 02.00.09.00

Hi,

   I am using DM816x and EZSDK 5.05.02.00. We have identified that we need to use the latest H264 encoder 02.00.09.00 in order to grab the latest improvements provided by TI. I am currently using:

bios_6_33_05_46
codec_engine_3_22_01_06
framework_components_3_40_01_04
ivahd_hdvicp20api_01_00_00_23_production
ipc_1_24_03_32
syslink_2_21_03_11

  I was able to generate a good .xem3 binary if I update the H264 DECODER and other codecs. However, I am having troubles witht the H264 ENCODER. As soon as the update the H264 encoder from 02.00.02.02 to 02.00.09.00 the encode-display demo stops working. I the following error:

DEI outport buffers allocated
got eventState changed to: OMX_StateIdle
DEI is in IDLE state
Before CommandStateSet
After CommandStateSet
got event*** unrecoverable error: OMX_ErrorInsufficientResources (0x80001000)
Press a key to proceed
encoder input port use buffer done

If you check the M3 logs you get:

N:Video P:1 #:00121 T:00000006cbd73bf9 M:xdc.runtime.Main S:OMX_TI_VIDENC_CommandNotifyFromBase::Line 3533::VENC->Loaded to Idle Transition Begin
N:Video P:1 #:00122 T:00000006cbd7f889 M:xdc.runtime.Main S:OMX_TI_VIDENC_CommandNotifyFromBase::Line 3537::VENC->Before VIDENC2_Create
N:Video P:1 #:00123 T:00000006cbd899c1 M:xdc.runtime.Main S:Calling VIDENC2_create for ivahd_h264enc_0
N:Video P:1 #:00124 T:00000006cbddd46b M:xdc.runtime.Main S:Calling VIDENC2_create for ivahd_h264enc_0 failed
N:Video P:1 #:00125 T:00000006cbde7ae3 M:xdc.runtime.Main S: OMX Error in OMX_TI_VIDENC_SetCodecReady :: line 666
N:Video P:1 #:00126 T:00000006cbdf0d57 M:xdc.runtime.Main S: OMX Error in OMX_TI_VIDENC_CommandNotifyFromBase :: line 3540

Inside of the M3 code what you would see if the normal call to codec engine to create the codec: VIDENC2_create including the static parameters, I wonder if the new codec uses different static parameters and therefore it is not happy with the old ones. Do you know if that is the case?

I heard that version 02_00_04_01 can be easily integrated, what is different on the latest version?

Maybe  knows?

Thanks in advance,

-David