<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type></HEAD>
<BODY>
<DIV>
<DIV style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Yes the constant delay caused by the continues av_read_frame operation is causing the problem.. Is there a work around to get the frame quickly?</DIV></DIV>
<DIV dir=ltr>
<HR>
<SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">From: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:vtilakece@gmail.com">Tilak Varisetty</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Sent: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">‎22-‎07-‎2014 02:10 PM</SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">To: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><A href="mailto:libav-user@ffmpeg.org">This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter.</A></SPAN><BR><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif; FONT-WEIGHT: bold">Subject: </SPAN><SPAN style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif">Re: [Libav-user] Packet reading issue after seeking</SPAN><BR><BR></DIV>
<DIV dir=ltr>Hi Ankush,  
<DIV><BR></DIV>
<DIV>I am also using ffmpeg and ffserver for streaming. I would like to know what you meant by 170 attempts? There is somehow a delay due to constant reading of read_av_frame function which is called often...In case of streaming, I assume it uses the dynamic buffer.</DIV>
<DIV><BR></DIV>
<DIV>Regards,</DIV>
<DIV>Tilak. </DIV></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Tue, Jul 22, 2014 at 7:41 AM, Ankush <SPAN dir=ltr><<A href="mailto:wadkes93@gmail.com" target=_blank>wadkes93@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE class=gmail_quote style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV>
<DIV style="FONT-SIZE: 11pt; FONT-FAMILY: Calibri,sans-serif"><BR><BR>i am using ffmpeg in my application, everything so far is working fine <BR>except when i flush the buffer after seeking, my av_read_frame function <BR>cant find the video packet for almost 170 attempts which dosent alow the <BR>playing to work real time.<BR>is there any way i can find video packets quicker after a av_seek_frame <BR>and then avcodec_flush_buffers.<BR><BR>Thank you</DIV></DIV></DIV><BR>_______________________________________________<BR>Libav-user mailing list<BR><A href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</A><BR><A href="http://ffmpeg.org/mailman/listinfo/libav-user" target=_blank>http://ffmpeg.org/mailman/listinfo/libav-user</A><BR><BR></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>