<div dir="ltr"><div class="gmail_extra"> I guess you can only get the frame rate but calculating the max/min needs to be done by you explicitly by keeping a separate variable to monitor those values and keep on updating them while traversing the complete stream.<br><br><br></div><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 1, 2016 at 7:37 AM, YIRAN LI <span dir="ltr"><<a href="mailto:mrfun.china@gmail.com" target="_blank">mrfun.china@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">AVFormatContext</blockquote></div><br><br></div></div>