Group CSpinVideo¶
The functions in this section provide access to video recording capabilities, which include opening, building, and closing video files.
Public Functions¶
| Type | Name |
|---|---|
| spinVideoAppend (spinVideo hSpinVideo, spinImage hImage) |
|
| spinVideoClose (spinVideo hSpinVideo) |
|
| spinVideoOpenH264 (spinVideo * phSpinVideo, const char * pName, spinH264Option option) |
|
| spinVideoOpenMJPG (spinVideo * phSpinVideo, const char * pName, spinMJPGOption option) |
|
| spinVideoOpenUncompressed (spinVideo * phSpinVideo, const char * pName, spinAVIOption option) |
|
| spinVideoSetMaximumFileSize (spinVideo hSpinVideo, unsigned int size) |
Public Functions Documentation¶
function spinVideoAppend¶
function spinVideoClose¶
function spinVideoOpenH264¶
function spinVideoOpenMJPG¶
function spinVideoOpenUncompressed¶
function spinVideoSetMaximumFileSize¶
Set the maximum file size (in megabytes) of a AVI/MP4 file. A new AVI/MP4 file is created automatically when file size limit is reached. Setting a maximum size of 0 indicates no limit on file size.
Parameters:
hSpinVideoThe spin video recorder to append the image tosizeThe maximum video file size in MB.
Returns:
spinError The error code; returns SPINNAKER_ERR_SUCCESS (or 0) for no error