[MPlayer-dev-eng] [PATCH] mencoder precised/exact seeking

Trent Piepho xyzzy at speakeasy.org
Thu Apr 12 14:46:27 CEST 2007


On Wed, 11 Apr 2007, Rich Felker wrote:
> > Of course this is very slow, and most filters don't care about missing
> > frames, so your patch is an improvement in almost all cases.
>
> It's not. There's a correct way to do skipping involving vfctls, where
> the softskip filter is inserted after all the filters that need to see
> all frames. Copy that code.

There is still the problem of decoding every frame during a skip, instead
of just seeking over them.  If softskip is the first filter it is still
very slow to decode every frame just to drop it without using it.

There is also a difference between dropping fames during a seek and
dropping frames while encoding video.

Suppose I have a two hour recoding from a digital broadcast and want to
encode the second hour.  I want my inverse telecine filter to see every
frames when encoding, so I put softskip after it.  But when skipping the
first hour, why does the filter need to see every frame?  After all, there
were hours of broadcasting before this recording started and the inverse
telecine filter doesn't see that.  Why does it need to see the hour of
material before what I want to encode?



More information about the MPlayer-dev-eng mailing list