[MPlayer-dev-eng] How to get current video frame number?

Somnath Banerjee somnath.banerjee at gmail.com
Tue Jul 18 07:12:04 CEST 2006


>
> *No. MPlayer doesn't know the current frame number either, because it is
> impossible to determine after seeking in any container that supports
> variable framerate.
> Your video filter should not depend on frame number. What are you trying
> to do, that doesn't work with timestamps instead?*

*--Loren Merritt*



Hi,

   Thanks for the reply. I need to display keyframes which are determined by
the frame numbers. Looks like that is a wrong thing to do. Instead keyframe
generator should output timestamps.

 BTW, how to get proper timestamp in video filter (sh-video->pts ?).

Thanks,
Somnath



More information about the MPlayer-dev-eng mailing list