[Ffmpeg-devel] av_seek_frame() units

Ian Gowen ian.gowen
Wed Jul 6 21:04:44 CEST 2005


On 7/6/05, Andy Parkins <andyparkins at gmail.com> wrote:
> I'm not sure why you would need to do this.  What source for frame_number are
> you using - it's not in any of the AV structures.

I'm working on a video editing application. If the user wants to
preview frame 320, I
need it to seek to frame 320, not the nearest keyframe or a frame in
the general
vicinity of frame 320.

Anyway, I've seen a lot of helpful suggestions here so far. I'll try
rescaling the
calculated timestamp by the time base and check back here if it doesn't work.

thanks
--Ian





More information about the ffmpeg-devel mailing list