Re: finding keyframes

Torsten Jager <[email protected]> Thu, 18 May 2017 20:48:51 +0200
Newsgroups gmane.comp.video.xine.devel
Message-ID <[email protected]>
Hello,

> Is there call that would give the next(previous) keyframe for an arbitrary
> position in the stream?

"Dropping message with timestamp 20170504172059 because it is too old 
(diff 13012544)."

OK, sorry for that delay.

The sad answer is: not right now :-(

Currently, xine_play tries to seek to keyframes with the help of the 
demuxer. Otherwise, it just jumps in and plays what the decoders can
deliver.

What can be added without too much effort and performance loss is:
  - query a container supplied keyframe index (mov, mp4)
  - build an index while playing to get previous ones at least
  - add "pause at next keyframe" flag

Not really what you want I guess?

Torsten


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