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

Christian Aistleitner zaek7q at gmx.net
Fri Apr 13 20:27:01 CEST 2007


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  
to cut. You pause some frames before the cut and step to the next frame  
again and again until you went one frame too far. As I found no way of  
stepping back one frame, the approximate frame count helps to _not_ go a  
frame to far at the next try of setting the edl mark.

Kind regards,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: osd-show-frame-count.diff
Type: application/octet-stream
Size: 3662 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20070413/bba5a216/attachment.obj>

More information about the MPlayer-dev-eng mailing list