<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div><br></div><div>In general, avcodec_encode_video2() is used to encode each video frame. How to force encoder code current frame as I frame?</div><div><br></div><div>Thanks!</div><div><br></div><div>B.R.</div><div><br></div><div>andrew</div></div><br><br><span title="neteasefooter"><p> </p></span>