[MPlayer-dev-eng] [PATCH] allow -ss xx% syntax

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue Sep 19 01:32:29 CEST 2006


On Tuesday 19 September 2006 02:52, The Wanderer wrote:
> Evgeniy Stepanov wrote:
> > Hi,
> >
> > this patch allows using %% of movie length as -ss argument. This
> > gives an easy way to seek to the middle of the file. Several people
> > on -users asked for it.
>
> While this might be a desirable feature, should it really be piggybacked
> on top of '-ss' (which is 'seek to second') rather than getting its own
> option?

It could be called -sp (seek to percentage). But then people might wrongly 
assume that all three options -ss, -sp, -sb do nearly the same. If fact, -sb 
is very different from the other two.

Btw, the problem is already there, users tend to think that -sb means "seek to 
the first keyframe after given position in file". I think man page should be 
more verbose on this matter.

Anyway, I still like -ss xx% syntax better. Users don't need to memorize yet 
another option, the usage is quite clear and unconfusing. -ss argument format 
is already complex, so parsing %-s does not add much code.

Renaming existing options is out of question, right ? Is there a policy for 
this ?



More information about the MPlayer-dev-eng mailing list