Appends a frame to the Movie. The optional
duration
parameter allows a frame to be inserted for a durationtime other than the
Format
's default duration.
uint32_t
getNumFrames () const
Returns the number of frames in the movie.
void
finish ()
Completes the encoding of the movie and closes the file. Calling
finish()
more than once has no effect. It is an error to call
addFrame()
after calling
finish()
.
Presents the user with the standard compression options dialog. Optional
previewImage
provides a still image as a preview (currently ignored on Mac OS X). Returns
false
if user cancelled.