gotKeyFrame

format

boolean gotKeyFrame(int position) throws EveException

description

Determines the visual similarity between the specified frame and the previous frame in a video file. If the visual similarity is greater than the value defined for the frameGrabberMinimumDistance parameter in the eve.properties file, then the current frame is considered a keyframe.

parameters

  position — the number of the frame whose visual similarity to the previous frame you want to check

returns

  TRUE —if there was enough visual difference between frames to indicate that the current frame is a keyframe

 

  FALSE — if the current frame is not considered a keyframe

throws

The gotKeyFrame() method throws an EveException if the retrieval fails.