<div dir="ltr"><div class="gmail_default" style="font-family:georgia,serif">Hi, </div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">I have a question about read frame,</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Suppose I've just opened a file, so the readpointer is at the beginning of the file.</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Compare these two methods:</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">1. call av_read_frame + avcode_decode_video2 to decode 100 video packets( suppose each packet can decode into a frame)</div><div class="gmail_default" style="font-family:georgia,serif">2. call av_read_frame, but only decode the 100th packet (all previous 99 packets are just discarded)</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Will the 100th frame from method 1 and the frame from method 2 have same content, timestamp, etc?</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif">Thanks</div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif"><br></div><div class="gmail_default" style="font-family:georgia,serif"><br></div></div>