[Ffmpeg-devel] av_seek_frame() units

Ian Gowen ian.gowen
Tue Jul 5 00:46:05 CEST 2005


Hi, how would I find the correct timestamp to pass to av_seek_frame() if I know 
the number of the frame I want to seek to? I tried
(AVStream.r_frame_rate/frames)*AV_TIME_BASE
but that doesn't appear to work.

TIA
--Ian





More information about the ffmpeg-devel mailing list