Back to FabImage Library website
You are here: Start » Function Reference » Image » Image IO » OpenOutputVideoStream
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationLite |
Creates a video stream which will be saved to a selected file.
Syntax
C++
C#
void fil::OpenOutputVideoStream ( const ftl::File& inFile, const fil::VideoEncoder::Type inVideoEncoder, const float inFPS, const int inFrameWidth, const int inFrameHeight, fil::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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unsupported Video Encoder in OpenOutputVideoStream. |