[Libav-user] How to read audio/video samples based on timestamp instead of position and timestamp
applemax82 at 163.com
Mon Sep 14 06:13:51 CEST 2015
In mov.c, there is one function, i.e. 'static AVIndexEntry *mov_find_next_sample(AVFormatContext *s, AVStream **st)', which get audio/video samples in terms of position and timestamp. In general, this function will output samples chunk by chunk. 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?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Libav-user