Vuo
0.5.6
|
VuoMovie interface.
Typedefs | |
typedef void * | VuoMovie |
An object for controlling and extracting information from video. | |
Functions | |
VuoMovie | VuoMovie_make (const char *path) |
VuoMovie_make: Creates a new VuoMovieDecoder object and returns itself. | |
bool | VuoMovie_getNextFrame (VuoMovie movie, VuoImage *image, double *nextFrame) |
VuoMovie_getNextFrame gets the next full frame's image and presentation timestamp (in seconds). | |
bool | VuoMovie_getPreviousFrame (VuoMovie movie, VuoImage *image, double *nextFrame) |
Returns the frame prior to the internal currently queued frame, and the presentation timestamp associated. | |
bool | VuoMovie_seekToSecond (VuoMovie movie, double second) |
Seeks the video to the specified second. | |
double | VuoMovie_getCurrentSecond (VuoMovie movie) |
Returns the last successfully decoded timestamp. | |
double | VuoMovie_getDuration (VuoMovie movie) |
Returns the duration of the movie in seconds. | |
bool | VuoMovie_getInfo (const char *path, double *duration) |
Given a path, this will open and close a video stream and return the duration. | |
typedef void* VuoMovie |
An object for controlling and extracting information from video.
double VuoMovie_getCurrentSecond | ( | VuoMovie | movie | ) |
Returns the last successfully decoded timestamp.
double VuoMovie_getDuration | ( | VuoMovie | movie | ) |
Returns the duration of the movie in seconds.
bool VuoMovie_getInfo | ( | const char * | path, |
double * | duration | ||
) |
Given a path, this will open and close a video stream and return the duration.
VuoMovie_getNextFrame gets the next full frame's image and presentation timestamp (in seconds).
Will return true if next frame is found and false if not.
Returns the frame prior to the internal currently queued frame, and the presentation timestamp associated.
VuoMovie VuoMovie_make | ( | const char * | path | ) |
VuoMovie_make: Creates a new VuoMovieDecoder object and returns itself.
path | An absolute path to the video file to open. |
bool VuoMovie_seekToSecond | ( | VuoMovie | movie, |
double | second | ||
) |
Seeks the video to the specified second.