On Tue, Dec 16, 2008 at 2:13 PM, Michael Conrad <[email protected]> wrote: >> Does anyone know where the timestamp for a decoded frame is stored? > > Unfortunately it isn't. You have to do some tricky logic to match a frame > to the packet that generated it, and then use the packet's timestamp. See > ffplay.c for how they do this. or: AVFormatContext->coded_frame->pts
It's not always correct, you have to adjust it to the container time base, but it might help. _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
