[MPlayer-dev-eng] [PATCH] Reset -ss after first seek

Vlad Seryakov vseryakov at gmail.com
Mon Aug 30 18:15:02 CEST 2010


On Aug 30, 2010, at 4:08 AM, Nicolas George <nicolas.george at normalesup.org> wrote:

> Le tridi 13 fructidor, an CCXVIII, Vlad Seryakov a écrit :
>> This is one liner to reset start seek position after first file, so
>> subsequent files will not seek to the same position.
> 
> What exactly is your command line? MPlayer is slightly peculiar in the way
> it handles options:
> 
> mplayer -o1 -o2 -o3 fileA -o4 -o5 fileB -o6 -o7
> 
> o1, o2, o3 apply to all files, o4 and o5 apply to fileA, o6 and o7 apply to
> fileB.
> 
> Therefore:
> 
> mplayer -ss 42 fileA fileB
> 
> should start both fileA and fileB at 42 (maybe skipping the opening) while
> 
> mplayer fileA -ss 42 fileB
> 
> should skip the opening only for fileA.
> 
> I just checked, and it seems to work. Is your patch still necessary with
> regards to that particular behavior 

Oh, I forgot to mention, loadfile command in slave mode what gives me this trouble.

Also, for above behavior, if I give several files as a playlist, and want to seek just in the first one, -ss will be global, so I think reseting it iscthe right way, it is global anyway, not per file


More information about the MPlayer-dev-eng mailing list