[Libav-user] Why does av_seek_frame() not seek to a keyframe?
Carl Eugen Hoyos
cehoyos at ag.or.at
Thu Jul 19 08:18:54 CEST 2012
Michael Bradshaw <mbradshaw at ...> writes:
> But when I seek, the first packet returned out of the demuxer is
> not a keyframe packet, and I have to read several (~45ish) packets
> until I encounter a keyframe.
Could you provide a sample that does not seek to a keyframe with
ffmpeg -ss x -i input out.png
(I tested this yesterday on random mpeg2video samples and afaict,
it did work.)
More information about the Libav-user