[Libav-user] how to read av packet based on time stamp

qw applemax82 at 163.com
Fri Sep 11 09:52:51 CEST 2015


Below is the description of av_read_frame(), which returns the next frame of a stream.


And I have one question about av_read_frame(). I expect av_read_frame() returns av packet with smaller timestamp, and then returns av packet with larger timestamp. Can the function return av packets strictly based on timestamp?

If not, does ffmpeg provide other functions to do it?



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150911/998f34f6/attachment.html>

More information about the Libav-user mailing list