[MPlayer-dev-eng] Re: Slave Mode Protocol seek command

Alban Bedel albeu at free.fr
Fri Nov 7 10:32:17 CET 2003


Hi Konstantinos Karydas,

on Fri, 7 Nov 2003 11:06:33 +0200 you wrote:

> > 
> > All I could find in the docs was this:
> > 
> > seek <value> [type=<0/\:1/\:2>]
> >         Seek to some place in the movie.
> >         Type 0 is a relative seek of +/\:- <value> seconds.
> >         Type 1 seek to <value> % in the movie.
> >         Type 2 is a seek to an absolute position of <value> seconds.
> > 
> > Now, seek type 0 is the only one that seems to work correctly.
> > 
> > Running a command such as "seek +10 type=0" works correctly
> > but nothing else. Every time I perform a seek of type 1 it seems to
> > behave as type 0; also for type 2.

try "seek +10 1" or "seek 10 2"

The name like type= in the docs are only used as reference. So one
can easily guess what this argument do. However the command sent should
only contain the argument values separated by spaces.
The doc should probably be looked at by a specialist to at least make
this clear.

> > Any help would be much appreciated, as this is causing problems with
> > my current mplayer front end, mplayerd.
> > -- 
> > 
> 
> Is this possible to declare the type of the seeking from command line???
> I.e., can I give a command like:
> mplayer -ss 15 -type=2 ???
I don't think it's possible atm but you can still send a patch to add such
option.
	Albeu
-- 

Everything is controlled by a small evil group
to which, unfortunately, no one we know belongs.




More information about the MPlayer-dev-eng mailing list