Hi,
In vpuenc.c file
if (!(vpuenc->gop_frm_cnt % vpuenc->options.gopsize)) {
vpuenc->context.params.nForceIPicture= 1;
}
the above code is ued to force the IDR indication in th H.264 protocol.
But if we use this code what we have observed is the size of I slice less than next P-slice.
could you please give me the reason for the same.
Hi Asmita,
Apparently If there is no I frame in the stream, the decoder waits for a I (IDR) frame, the decoder seeks the (n + 1)th I (IDR) frame, problably this the reason of P-slice size is bigger, for case of i.mx6 chunksize or skipframe can not be used.
hope this helps