[MPlayer-users] Skew between seek and get_time_pos

Peter Seibel peter at gigamonkeys.com
Thu Aug 16 18:48:26 CEST 2007


Hi, I'm using mplayer in -slave mode to play a WMA file and am noticing 
a bit of skew between the times I seek to and the times reported via 
get_time_pos. I've tried the following experiment on both Linux and OS X:

1) Create a file 'commands' with the content:

  seek 120.0 2
  get_time_pos

2) Launch mplayer as follows where file.wma is some .wma file. (Mine is 
about an hour long, in case that matters)

  mplayer -quiet -slave file.wma < commands

When I run it I see:

  ANS_TIME_POSITION=115.4

I'd expect it to be at least 120.0.

As I seek farther and farther into the file the get_time_pos value gets 
more and more behind the seek value.

Is this a bug or am I misunderstanding how things are supposed to work?

-Peter

-- 
Peter Seibel                     : peter at gigamonkeys.com
A Billion Monkeys Can't be Wrong : http://www.gigamonkeys.com/blog/
Practical Common Lisp            : http://www.gigamonkeys.com/book/
Coders at Work                   : http://www.codersatwork.com/



More information about the MPlayer-users mailing list