Question regarding IDR patch in vpuenc.c

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Question regarding IDR patch in vpuenc.c

818件の閲覧回数
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 返信

748件の閲覧回数
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 件の賞賛
返信