Runs an Image Generator composition in a separate process, saving each output image to a movie file.
Public Member Functions | |
VuoMovieExporter (std::string compositionFile, std::string outputMovieFile, VuoMovieExporterParameters parameters) | |
Initializes a movie exporter instance with a composition file. More... | |
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. More... | |
~VuoMovieExporter () | |
Finalizes the movie. More... | |
unsigned int | getTotalFrameCount (void) |
Returns the total number of frames to export. More... | |
bool | exportNextFrame (void) |
Exports 1 frame. More... | |
VuoMovieExporter::VuoMovieExporter | ( | std::string | compositionFile, |
std::string | outputMovieFile, | ||
VuoMovieExporterParameters | parameters | ||
) |
Initializes a movie exporter instance with a composition file.
VuoMovieExporter::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::~VuoMovieExporter | ( | ) |
Finalizes the movie.
std::runtime_error | Couldn't finalize the movie. |
bool VuoMovieExporter::exportNextFrame | ( | void | ) |
Exports 1 frame.
Returns false if enough frames have already been exported.
std::runtime_error | Couldn't generate the image. |
std::runtime_error | Couldn't convert the frame for export. |
unsigned int VuoMovieExporter::getTotalFrameCount | ( | void | ) |
Returns the total number of frames to export.