Vuo  1.2.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Typedefs | Functions
VuoAvWriter.h File Reference

Description

Vuo AV Foundation video writer implementation.

Typedefs

typedef void * VuoAvWriter
 An object for writing audio and images to a video file.
 

Functions

VuoAvWriter VuoAvWriter_make ()
 Create a new VuoAvWriter.
 
bool VuoAvWriter_initializeMovie (VuoAvWriter writer, int width, int height, int channels, VuoText url, bool overwrite, VuoMovieFormat format)
 Initialize a new movie, and begin recording.
 
bool VuoAvWriter_isInitialized (VuoAvWriter writer)
 Is this movie initialized already?
 
void VuoAvWriter_appendImage (VuoAvWriter writer, VuoImage image, VuoReal timestamp)
 Appends an image to a movie file.
 
void VuoAvWriter_appendAudio (VuoAvWriter writer, VuoList_VuoAudioSamples samples, VuoReal timestamp)
 Appends a set of audio samples to movie file.
 
void VuoAvWriter_finalize (VuoAvWriter writer)
 Stop recording and finalize rendering the movie.
 

Typedef Documentation

typedef void* VuoAvWriter

An object for writing audio and images to a video file.

Function Documentation

void VuoAvWriter_appendAudio ( VuoAvWriter  writer,
VuoList_VuoAudioSamples  samples,
VuoReal  timestamp 
)

Appends a set of audio samples to movie file.

If called prior to VuoAvWriter_initializeMovie, this has no effect.

void VuoAvWriter_appendImage ( VuoAvWriter  writer,
VuoImage  image,
VuoReal  timestamp 
)

Appends an image to a movie file.

If called prior to VuoAvWriter_initializeMovie, this has no effect.

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.

void VuoAvWriter_finalize ( VuoAvWriter  writer)

Stop recording and finalize rendering the movie.

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.

bool VuoAvWriter_isInitialized ( VuoAvWriter  writer)

Is this movie initialized already?

VuoAvWriter VuoAvWriter_make ( )

Create a new VuoAvWriter.