<div dir="ltr"><div dir="ltr"><br></div><div class="gmail_quote"><div class="gmail_attr">Thanks for responding.</div><div class="gmail_attr">I call avcodec_send_packet() with complete frame so 1 packet==1 frame. </div><div class="gmail_attr">Input is not the concern, I want to understand what is ffmpeg buffer management logic which seems to be inconsistent or untill I understand the logic :( </div><div class="gmail_attr">For few streams it makes 1st I frame available immediately after decdoing and for some it doesn't. While both carry similar type of frame sequence and num of ref frames.</div><div class="gmail_attr"><br></div><div class="gmail_attr">Regards,</div><div class="gmail_attr">Rohit Khali</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
</blockquote></div></div>