[MPlayer-users] problem seeking in videos
bugfood-ml at fatooh.org
Sun Jan 25 04:01:40 CET 2004
dave giffin wrote:
> I have a wrapper script that runs mplayer.
> When I tell mplayer (via the 'slave protocol') to seek
> to a certain time, using "seek [seconds] 2" on certain
> AVIs, it doesn't work right.
> For example, if I tell mplayer to seek to 2 minutes 0
> seconds, it will go to 1 minute 35 seconds.
> I know that the error is not with my wrapper script.
> what should i try to fix this problem.
> I'm using mplayer-1.0pre3 on an athlon-xp with Debian
> sarge, XFree86-4.3 and a 2.4.22 linux kernel
What is the exact slave command you're sending to mplayer?
If I run:
$ cat | mplayer -slave somemovie.avi
...and then type:
seek 120 2
mplayer seeks to 120 seconds, no problem.
However, be aware that seeking precisely in any type of video other than
avi (and perhaps mpeg) can be problematic.
More information about the MPlayer-users