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

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


Hi,


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


http://ffmpeg.org/doxygen/2.6/group__lavf__decoding.html#ga4fdb3084415a82e3810de6ee60e46a61


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?


Thanks!


Andrew

-------------- 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