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.

Force I-frame problem in H.264 HP encoder on C6678

Hello,

I used H.264 HP encoder version 1.0.1.4 on C6678 chip and I worked fine.

I upgraded it to version 1.0.2.0 in order to use slice limitation in bytes functionality.

in params I set:

sliceCodingParams.sliceCodingPreset = IH264HP_SLICECODING_USERDEFINED;
sliceCodingParams.sliceMode = IH264HP_SLICEMODE_BYTES;
sliceCodingParams.sliceUnitSize = 1350;

This worked fine and I saw that this limitation works.

But then I found out that forcing I-frame functionality stopped working:

in dynamic params I set:

dynamic_params.videnc2DynamicParams.forceFrame = IVIDEO_IDR_FRAME;

but I has absolutely no effect.

It worked fine with encoder version 1.0.1.4, but stopped working after upgrading to 1.0.2.0 with the described modification (slice size limitation, forcing I-frame code was not modified)

Can you help me with this issue?

Thanks,

Oleg Fomenko