Back to Adaptive Vision Library website

You are here: Start » Function Reference » Image » Image IO » OpenOutputVideoStream

OpenOutputVideoStream


Header: AVL.h
Namespace: avl
Module: FoundationLite

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
)

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.