[MPlayer-users] ss and endpos

Konstantinos Karydas kkar at intracom.gr
Mon Nov 24 11:23:03 CET 2003


> > >
> > >>changing -endpos 00:03:05 by -frame 185*25 ?
> > >>3:05 = 185 seconds and 25 frames per second ?
> > >
> > >
> > > Almost - don't forget to add the start time.  -endpos tells you
> where to
> > stop,
> > > -frames tells you the number of frames to encode.  So -frames 25
> will
> > encode
> > > one second of PAL, regardless of where you start.
> > >
> > > Cheers,
> > > Adam.
> >
> > Bravo ! it's working.
> >
> >
> 
> Is there any way to tell the encoder to encode e.g. from the 01:40
until
> at exactly the 03:05??? I am asking because if you give in our
example:
> $ mencoder -ovc copy -oac copy -ss 100 -endpos 185
> 
> which is by the way a simple cutting procedure of a clip, then the
> mencoder will encode (copy at this case) 185 seconds after the 100th
> second of the clip, i.e. it will stop at the 285th second=04:45 of the
> video clip, which is not correct since I want to encode until the
185th
> second=03:05. I hope you understand the issue.
> 
> Thanks,
> regards,
> 
> Kostas
> 
> 

By the way, I want to use the -endpos without having to calculate each
time how many frames should be encoded, i.e. I DON'T want to use the
-frames.


Thanks,
regards,

Kostas





More information about the MPlayer-users mailing list