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.
>


Can anyone advice here? The operation that I'm looking to do is very similar
to what video player does - I need to be able to take any image from the
video stream, and not only the key-frames.

I'm pretty stuck on this one, and any help would be appreciated.

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

Reply via email to