Back to Adaptive Vision Library website
You 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 atl::real inFPS, const int inFrameWidth, const int inFrameHeight, OutputVideoStream& outOutputVideoStream )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inFile | const File& | File path of the output file | |
![]() |
inVideoEncoder | const VideoEncoder::Type | Video encoder | |
![]() |
inFPS | const real | 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. |


