[Ffmpeg-devel] av_seek_frame with mpeg

Måns Rullgård mru
Fri May 20 12:13:48 CEST 2005


Claude Joseph-Angelique <Claude.Joseph-Angelique at etca.fr> writes:

> hi,
> According to the doc, using av_seek_frame with the
> AVSEEK_FLAG_BACKWARD flag will seek to the last keyframe at the
> timestamp specified. This work wery well with avi file, but not with
> mpeg files. With mpeg, av_seek_frame return a success code but when I
> try to call av_read_frame after, it give me a degraded image. Why?

MPEG files don't indicate where the keyframes are.

-- 
M?ns Rullg?rd
mru at inprovide.com





More information about the ffmpeg-devel mailing list