Vuo AV Foundation video writer implementation.
Definition in file VuoAvWriter.h.
Go to the source code of this file.
Typedefs | |
typedef void * | VuoAvWriter |
An object for writing audio and images to a video file. More... | |
Functions | |
VuoAvWriter | VuoAvWriter_make () |
Create a new VuoAvWriter. More... | |
bool | VuoAvWriter_initializeMovie (VuoAvWriter writer, int width, int height, int channels, VuoText url, bool overwrite, VuoMovieFormat format) VuoWarnUnusedResult |
Initialize a new movie, and begin recording. More... | |
bool | VuoAvWriter_isInitialized (VuoAvWriter writer) |
Is this movie initialized already? More... | |
void | VuoAvWriter_appendImage (VuoAvWriter writer, VuoImage image, VuoReal timestamp, bool blockIfNotReady) |
Appends an image to a movie file. More... | |
void | VuoAvWriter_appendAudio (VuoAvWriter writer, VuoList_VuoAudioSamples samples, VuoReal timestamp, bool blockIfNotReady) |
Appends a set of audio samples to movie file. More... | |
void | VuoAvWriter_finalize (VuoAvWriter writer) |
Stop recording and finalize rendering the movie. More... | |
typedef void* VuoAvWriter |
An object for writing audio and images to a video file.
Definition at line 21 of file VuoAvWriter.h.
void VuoAvWriter_appendAudio | ( | VuoAvWriter | writer, |
VuoList_VuoAudioSamples | samples, | ||
VuoReal | timestamp, | ||
bool | blockIfNotReady | ||
) |
Appends a set of audio samples to movie file.
If called prior to VuoAvWriter_initializeMovie, this has no effect.
blockIfNotReady
argument. Definition at line 116 of file VuoAvWriter.mm.
void VuoAvWriter_appendImage | ( | VuoAvWriter | writer, |
VuoImage | image, | ||
VuoReal | timestamp, | ||
bool | blockIfNotReady | ||
) |
Appends an image to a movie file.
If called prior to VuoAvWriter_initializeMovie, this has no effect.
blockIfNotReady
argument. Appends an image to a movie file.
If this is the first frame, the writer object will be initialized for you. Can return false in the event that a movie file already exists at url, or initialization failed for any reason. After the initial call, this method always returns true.
Definition at line 106 of file VuoAvWriter.mm.
void VuoAvWriter_finalize | ( | VuoAvWriter | writer | ) |
Stop recording and finalize rendering the movie.
Definition at line 126 of file VuoAvWriter.mm.
bool VuoAvWriter_initializeMovie | ( | VuoAvWriter | writer, |
int | width, | ||
int | height, | ||
int | channels, | ||
VuoText | url, | ||
bool | overwrite, | ||
VuoMovieFormat | format | ||
) |
Initialize a new movie, and begin recording.
Initialize a new movie, and begin recording.
Must be called before appendX.
Definition at line 42 of file VuoAvWriter.mm.
bool VuoAvWriter_isInitialized | ( | VuoAvWriter | writer | ) |
Is this movie initialized already?
Definition at line 95 of file VuoAvWriter.mm.
VuoAvWriter VuoAvWriter_make | ( | ) |
Create a new VuoAvWriter.
Definition at line 32 of file VuoAvWriter.mm.