On Thu, 29 May 2014 11:49:07 +1000 YIRAN LI <[email protected]> wrote:
> Hi friends, here I have a question for av_seek_frame function. > > Say if I have a stream whose duration is 10s, and > avformatcontext.start_time != 0 (let's assume it's 5s). > > So now if I want to seek to the start of the video, > should I call av_seek_frame(0) or av_seek_frame(5s) ? Seeking uses timestamps as stored in the file, so you should use the start_time value. _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
