Hi.

> So in order to get the frame you need, you need to decode all the
> frames since the last keyframe.


I see, so how I do it exactly?


>
> I believe this is where the AVSEEK_FLAG_BACKWARD flag comes in.
>

That exactly what I do today - jumping to key-frame before the time I need,
then iterating over frames until I reach the required one.
When I convert this frame into image via img_convert(), I get a completely
gray result.

Thanks.
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to