[MPlayer-users] current position
vinayvinay at gmail.com
Fri Aug 12 07:15:51 CEST 2005
> Hi Vinnay,
> I wrote a front end using popen2 and Python, which gets the time using
> get_percent_pos, the problem is that it has a granularity of 0.01*
> length of file (at best, since you can only seek to a keyframe)
> I remember reading a post about a patch to be added, that incorporate
> the get_time_pos... I wonder if it is in CVS yet.
> I do use -quiet because parsing the output without it is a real PITA
> given the performance of python and buffering.
> Anyway, let me know if you want me to send my script. It is not very
> long and I can send it to the list too...
As of now, even I am using the get_percent_pos, but I can't seek to
the last second even in a 5 minute song. I guess I'll parse the
mplayer output (I'll remove the -quiet option).
More information about the MPlayer-users