[Ffmpeg-devel] jump to frame

Rich Felker dalias
Sat Dec 3 21:04:22 CET 2005


On Sat, Dec 03, 2005 at 06:26:50PM +0000, wojciech kosma wrote:
> hello,
> 
> i`m trying to put it into psp media player,
> so i guess it is still dev question,
> 
> for some reason stream_seek() doesn`t work very well
> here, all i need is to jump few frames back or fwd,

jumping a few frames backward is impossible; you have to jump back to
previous keyframe and then decode forward to the point you want.

jumping a few frames forward is just a matter of decoding them and
throwing the result away.

rich





More information about the ffmpeg-devel mailing list