[Libav-user] How to read audio/video samples based on timestamp instead of position and timestamp

Gonzalo ggarra13 at gmail.com
Tue Sep 15 16:34:26 CEST 2015

El 14/09/15 a las 01:13, qw escribió:
> But I want ffmpeg output samples only based on timestamp, where sample 
> with the smallest dts will be output first. How to set parameter to 
> make ffmpeg output samples only based on timestamp?
> ___________________________________________
> Libav-user mailing list
> Libav-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/libav-user
Is there any reason av_read_packet() does not work for you?  That 
returns both video and audio packets, usually with timestamp information.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ffmpeg.org/pipermail/libav-user/attachments/20150915/bdd5b450/attachment.html>

More information about the Libav-user mailing list