Question regarding IDR patch in vpuenc.c

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Question regarding IDR patch in vpuenc.c

739 次查看
asmitaamonkar
Contributor I

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.

标签 (1)
0 项奖励
回复
1 回复

669 次查看
Bio_TICFSL
NXP TechSupport
NXP TechSupport

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

0 项奖励
回复