[MPlayer-dev-eng] [PATCH] "frame stepping"

Ville Saari 114263 at vs.iki.fi
Wed Oct 13 02:21:11 CEST 2004


On Tue, Oct 12, 2004 at 04:57:12PM -0400, D Richard Felker III wrote:

> your method also means it's impossible to seek the normal +/- 10
> seconds while paused without unpausing first..

Unless pgup/pgdown seeks 10 seconds.

It would be quite logical to use "smaller gear" for the
seeks while paused, like 1 frame, 1 second, 10 seconds instead
of 10 s, 1 min, 10 min. If you want to make long seeks, you
would probably unpause anyway because finding some exact
spot is easier by playing than by binary search.

That way there would be lots of different seek distances with
relatively few keys to learn.


On Wed, Oct 13, 2004 at 12:23:31AM +0200, Reimar Döffinger wrote:

> >- The left arrow would then be a natural key for frame-stepping backwards,
...
> at least 99% percent sure to never happen I'd say... ;-)

Perhaps only 90% sure if defined as "seek backwards to nearest keyframe".
Very smooth with editable codecs like mjpeg or DV. Somewhat more coarse
but still usable for videos with frequent keyframes like dvds and quite
annoying with sparcely keyframed stuff.

The ability to do frame accurate -ss for any format would be very useful
for mencoder, so there would be some motivation for implementing it and
if it is done, then mplayer could use the same code for frame accurate
seeks. At that point it would be trivial to add frame stepping backwards
even without keyframes. F*cking slow, but probably won't happen next
week so computers will be a lot faster than now ;-)

-- 
 Ville




More information about the MPlayer-dev-eng mailing list