<html><head><meta http-equiv="Content-Type" content="text/html charset=iso-8859-1"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Hi,<div><br></div><div>You request seems odd to me since if you encode P or B frames as I frame you will get... P or B frame, hence partial image.</div><div>I've never done this, I can't tell you how to do this, sorry.</div><div><br></div><div>Good luck!<br><div><div><div>Le 2 sept. 2015 à 10:33, qw <<a href="mailto:applemax82@163.com">applemax82@163.com</a>> a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height: 1.7; 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"> <br class="webkit-block-placeholder"></span>_______________________________________________<br>Libav-user mailing list<br><a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>http://ffmpeg.org/mailman/listinfo/libav-user<br></blockquote></div><br></div></div></body></html>