[MPlayer-dev-eng] [PATCH] AB Looping

John Thomas Wile II jwile2 at gmail.com
Thu Oct 11 15:25:45 CEST 2007


On 10/10/07, Ivan Kalvachev <ikalvachev at gmail.com> wrote:
> 2007/10/9, J. Thomas Wile II <jwile2 at gmail.com>:
> > Hi,
> >
> > Always wanted this looping feature.  Select start and end points and
> > then loop continuously.  I don't expect this to be accepted as is, I
> > haven't done the documentation yet and the struct in mpcommon.h is _NOT_
> > what I want (need advice on where to put it).  Just let me know if I'm
> > heading the right way here.
>
> RTFM
>
> mplayer file.avi -ss 1:0 -endpos 10 -loop 0
> _______________________________________________
> MPlayer-dev-eng mailing list
> MPlayer-dev-eng at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/mplayer-dev-eng
>

Lol, I allready knew that.  The issues below are why I think that
solution doesn't work.

1) Starting Time & Ending Time:  How does one get these?  You've got
slave mode, so you can start up a file in slave, throw some commands
at it, then restart with the returned times.  That's a huge barrier to
anyone actually using your solution above.

2) Continuation after Looping:  So I've looped a few times and now I
want to continue watching or maybe go back earlier in the movie???

3) Geometry:  What if you want a different starting geometry.  You've
got command line switches, but again you have the problem of getting
the specific values.  And you can't simply start a video, resize how
you want and expect when the loop ends for those values to be kept.

I ran into all these issues trying to get a video to loop when I want.



More information about the MPlayer-dev-eng mailing list