Back to Adaptive Vision Library websiteYou are here:
Start »
Function Reference »
Image IO »
OpenOutputVideoStream
Creates a video stream which will be saved to a selected file.
Syntax
C++
C#
void avl::OpenOutputVideoStream
(
const atl::File& inFile,
const avl::VideoEncoder::Type inVideoEncoder,
const float inFPS,
const int inFrameWidth,
const int inFrameHeight,
avl::OutputVideoStream& outOutputVideoStream
)
void OpenOutputVideoStream
(
System.String inFile,
VideoEncoder inVideoEncoder,
float inFPS,
int inFrameWidth,
int inFrameHeight,
out OutputVideoStream outOutputVideoStream
)
Parameters
|
Name |
Type |
Default |
Description |
 |
inFile |
const File& |
|
File path of the output file |
 |
inVideoEncoder |
const VideoEncoder::Type |
|
Video encoder |
 |
inFPS |
const float |
|
Desired frame rate of the produced video file |
 |
inFrameWidth |
const int |
|
Width of frame being added |
 |
inFrameHeight |
const int |
|
Height of frame being added |
 |
outOutputVideoStream |
OutputVideoStream& |
|
Initialized output video stream |
Errors
Error type |
Description |
DomainError |
Unsupported Video Encoder in OpenOutputVideoStream. |