On Sat, 07 Mar 2009 18:45:45 -0500, cyril comparon
<[email protected]> wrote:
> Is there a concept of "frame index" within an AVStream?
> How to pick a frame given its index within a frame?
> How to compute the frame count of a given stream when libavformat gives
> me nb_frame==0?
> Is all of this possible in constant time, if possible at all? If it is
> not possible, why is it so?
The short answer is that seeking is not terribly reliable in libav, and so
someone went and created a library to do seeking to specific frames. Do a
search on the archives of this list for discussion about "FAS" or "Frame
Accurate Seek".
In particular
http://www.mail-archive.com/[email protected]/msg02048.html
--
Michael Conrad
IntelliTree Solutions llc.
513-552-6362
[email protected]
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user