[MPlayer-users] SEEK Bug report

Nico Sabbi Nicola.Sabbi at poste.it
Tue May 19 12:32:31 CEST 2009


On Tuesday 19 May 2009 12:25:54 Alexander Roalter wrote:

>
> It is not possible seeking to an exact position if at this position
> isn't a keyframe. Seeking can only be performed to a keyframe, a
> different approach would be -- and this would have to be
> implemented and is not done by inserting one line or two -- to seek
> to the nearest previous keyframe and decode all frames until the
> desired position is found.
>
> If you use DVDs, there are much more frequent keyframes (IIRC one
> every 2 or 3 seconds,

almost always 2 per second.

> but I might be mistaken on that), while on 
> divx and other codecs keyframes can occur every 10 seconds or even
> less, which means you only can seek with a very low precision.
>
> If you need exact positioning on a per second basis, you'd have to
> reencode the video with keyframes every second. This of course
> requires more bandwidth, as keyframes take up much more frames than
> the frames in between.


or post a patch


More information about the MPlayer-users mailing list