On 5/10/2010 11:53 μμ, Axel Holzinger wrote:
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

Ah thanks :) didn't notice there was a "duration" member there :)
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to