Lynkeos
Instance Methods | List of all members
FFmpegReader(Private) Category Reference

Internals of the FFmpeg reader. More...

Instance Methods

(BOOL) - nextFrame
 Access the next frame in the movie. More...
 
(AVFrame *) - getFrame:
 Get and convert the needed frame. More...
 

Detailed Description

Internals of the FFmpeg reader.

This code is supposed to seek to the nearest previous key frame if needed, then to step through the frames up to the required frame. Due to some unpredictable behaviour in the key frames reporting and their time tagging : when a problem is detected, the key frame control structure is filled with only the first sequence frame. It is much slower, but (knock on wood) works.

Method Documentation

- (AVFrame *) getFrame: (u_long)  index

Get and convert the needed frame.

Parameters
indexThe index of the frame to get

References MyAVFrameContainer::_frame, LynkeosObjectCache::movieCache, nextFrame, and LynkeosObjectCache::setObject:forKey:.

- (BOOL) nextFrame

Access the next frame in the movie.

Returns
Wether a frame was succesfully read

Referenced by getFrame:.


The documentation for this category was generated from the following file: