[MPlayer-users] playing, stopping, seeking
Georg Prager
georg.prager at wing.at
Thu Jul 11 12:30:02 CEST 2002
> > > You can only seek to positions where the file has keyframes. So let's
> > > assume your file has keyframes in 5s-intervals, let's say at 33s, 38s,
> > > 43s, 48s, 53s and so on
> > > then -ss 40 will end up at the closest keyframe, which is in this
> > > example 38s
> > > with -ss 42 the closest keyframe will be 43s, so you'll end up at 43s
> >
> > From my experience, it actually starts from the next keyframe after the
> > specified time. In one file I was using, -ss 10 would start at 10s, but
> > -ss 10.5 would start at 20s. Especially annoying as I was trying to chop
> > the beginning 11s in mencoder. Does anyone know of some way to start the
> > encoding at a given frameno, even though the decoding will have to start
> > earlier?
>
> Just a guess: using -ni ?
>
No, I don't think this will solve this problem.
But I have a suggestion for the developers: If you want to jump to position
-ss 11 but the last keyframe is on 10, then mplayer/mencoder could calculate
the video/audio up to 11s and start playing/encoding there.
What do you make of it?
Georg
More information about the MPlayer-users
mailing list