Vuo  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Instance Methods | List of all members
VuoMovieExporter Class Reference

Description

Runs an Image Generator composition in a separate process, saving each output image to a movie file.

Example:
while (e.exportNextFrame());

Instance Methods

() - VuoMovieExporter
 Initializes a movie exporter instance with a composition file.
 
() - VuoMovieExporter
 Initializes a movie exporter instance with a composition in a string.
 
() - ~VuoMovieExporter
 Finalizes the movie.
 
(unsigned int) - getTotalFrameCount
 Returns the total number of frames to export.
 
(bool) - exportNextFrame
 Exports 1 frame.
 

Constructor & Destructor Documentation

- VuoMovieExporter: (std::string)  compositionFile
(std::string)  outputMovieFile
(VuoMovieExporterParameters parameters 

Initializes a movie exporter instance with a composition file.

- VuoMovieExporter: (std::string)  compositionString
(std::string)  name
(std::string)  sourcePath
(std::string)  outputMovieFile
(VuoMovieExporterParameters parameters 

Initializes a movie exporter instance with a composition in a string.

- VuoMovieExporter:

Finalizes the movie.

Exceptions
std::runtime_errorCouldn't finalize the movie.
Todo:
Replace with -finishWritingWithCompletionHandler: when we drop Mac OS 10.8 support.

Method Documentation

- (bool) exportNextFrame (void) 

Exports 1 frame.

Returns false if exporting failed, or if enough frames have already been exported.

Exceptions
std::runtime_errorCouldn't convert the frame for export.
- (unsigned int) getTotalFrameCount (void) 

Returns the total number of frames to export.


The documentation for this class was generated from the following files: