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

Vlad Seryakov vseryakov at gmail.com
Sun Sep 5 08:47:37 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 
> 

No, with -ss it does not work this way, so every next file from playlist or loaded by loadfile command will be started from the same start position. If this is intended then there should be a way to disable it or make it per file or just reset as i propose.




More information about the MPlayer-dev-eng mailing list