On Thu, Jul 19, 2012 at 8:18 AM, Carl Eugen Hoyos <[email protected]> wrote:

> Michael Bradshaw <mbradshaw@...> 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.)
>
>
This test is somewhat meaningless because it'll skip non-keyframes in the
decoder until it finds one.
But the idea is to ensure that you can decode as of time X, which means you
need to seek to the last keyframe *before* time X, which is something that
is not supported currently.
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to