Re: finding keyframes

Torsten Jager <[email protected]> Sat, 27 May 2017 19:07:59 +0200
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
Hello,

Written something.
It's a pure database thing. Apart from a slight slowdown, it has no
effect on the engine.
So far, FLV and QT are enabled.

I'm not sure whether this is of big use. Client part is untested,
and xine_play () need not seek exactly to that keyframe even if
its location was specified exactly (maybe zeroing normpos and
solely relying on time helps).

> You can see that repeated seeks will always seek to the same position,

Well, after all my recent speedups, pulling the stream position slider
yields such a fast stutter in place ;-)

> Another case of seeking to a specific frame. You seek to the nearest
> previous keyframe, build up the subsequent frames without displaying
> them and finally arrive at your frame, display it and continue.

An old rtmp server feature. But I did not implement that yet.

> The scenario you describe above would be fairly easy to implement
> at the application level

What application do you use ??

> but at the the xine library level it would be lightning fast to
> an index for the entire container.

Not if we need to scan whole file for that.

Torsten


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot