Lynkeos
|
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... | |
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.
- (AVFrame *) getFrame: | (u_long) | index |
Get and convert the needed frame.
index | The 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.
Referenced by getFrame:.