[MPlayer-dev-eng] [PATCH] Adding frame count to time stamps in OSD

Uoti Urpala uoti.urpala at pp1.inet.fi
Fri Apr 13 20:33:40 CEST 2007

On Fri, 2007-04-13 at 20:27 +0200, Christian Aistleitner wrote:
> the attached patch allows to add a frame count to the timestamps of OSD,  
> by passing the option "-osd-show-frame-count".
> However, this frame count is only an approximate frame count, because of  
> mplayer's use of floats for pts and rounding errors.
> But even this approximate frame count is usefull, because when creating  
> edls using mplayer, I found it quite hard to get to the exact frame, where  

sh_video->fps isn't necessarily reliable (and certainly isn't for
variable frame rate videos). Even in the case where frame rate is
constant how would this be any better than showing the current pts with
more decimals?

More information about the MPlayer-dev-eng mailing list