[Libav-user] Packet reading issue after seeking

Ankush wadkes93 at gmail.com
Tue Jul 22 11:41:11 CEST 2014


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" <vtilakece at gmail.com>
Sent: ‎22-‎07-‎2014 02:10 PM
To: "This list is about using libavcodec, libavformat, libavutil, libavdevice and libavfilter." <libav-user at ffmpeg.org>
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 <wadkes93 at gmail.com> 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
Libav-user at ffmpeg.org
http://ffmpeg.org/mailman/listinfo/libav-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://ffmpeg.org/pipermail/libav-user/attachments/20140722/67917a2f/attachment.html>


More information about the Libav-user mailing list