<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi,</div><div><br></div><div>In mov.c, there is one function, i.e. '<span style="line-height: 1.7;">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?</span></div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">Thanks!</span></div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">B.R.</span></div><div><span style="line-height: 1.7;"><br></span></div><div><span style="line-height: 1.7;">Andrew</span></div><div><br></div></div><br><br><span title="neteasefooter"><p> </p></span>