Hello Michael,

Michael Georgoulopoulos wrote:
> Hello
> 
> Does anyone know how to seek to the last frame of a video? 
> Can I do that using av_seek_frame?

Good question.

If the lavformatcontext has a valid duration field you can use this to
position to one frame pre the duration.

But who knows what to do if duration is AV_NO_PTS_VALUE?

Regards
Axel

> Thank you in advance
> 
> -Michael

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

Reply via email to