(gfx:cache-movie movie [start] [end])
Decompresses the supplied movie and caches the result into a movie-cache that is returned to the user. You can then pass movie-cache to gfx:get-cached-frame to retrieve a movie frame just as you would normarlly use gfx:get-movie-frame. You can supply start and end values in seconds if you only want to cache a part of the movie.
movie -- the movie you want to cache
end -- the time in the movie you want to stolp caching at (defaults to the end)
start -- the time in the movie you want to start caching from (defaults to the start)
Returns: movie-cache (NSArray)
Back to index