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?

-----Original Message-----
From: "Tilak Varisetty" <[email protected]>
Sent: ‎22-‎07-‎2014 02:10 PM
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice 
and libavfilter." <[email protected]>
Subject: Re: [Libav-user] Packet reading issue after seeking

Hi Ankush, 


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.


Regards,
Tilak. 



On Tue, Jul 22, 2014 at 7:41 AM, Ankush <[email protected]> wrote:



i am using ffmpeg in my application, everything so far is working fine 
except when i flush the buffer after seeking, my av_read_frame function 
cant find the video packet for almost 170 attempts which dosent alow the 
playing to work real time.
is there any way i can find video packets quicker after a av_seek_frame 
and then avcodec_flush_buffers.

Thank you

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to