Is it acceptable to provide an option for different methods between accuracy seek and fast but inaccurate.
For example, mp3dec having "usetoc" option to seek by toc. 2015-09-24 22:02 GMT+08:00 Hendrik Leppkes <[email protected]>: > On Thu, Sep 24, 2015 at 2:44 PM, Ching-Yi Chan <[email protected]> > wrote: > > I found the generic seek will invoke the flac_read_timestamp function. > > It read exta packet will slow down the seek time > > https://github.com/FFmpeg/FFmpeg/blob/master/libavformat/flacdec.c#L224 > > > > > > It does that to get to an accurate seek position. We do not have a way > to tell avformat to do a fast and inaccurate seek, and accuracy seems > more important to me, if the format allows for it. > Reading the index would however still allow this seek function to be > faster than it is now, since it knows the points in the index as > boundary points. > > - Hendrik > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel > _______________________________________________ ffmpeg-devel mailing list [email protected] http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
