Back to Aurora 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
Input value inFile const File& File path of the output file
Input value inVideoEncoder const VideoEncoder::Type Video encoder
Input value inFPS const float Desired frame rate of the produced video file
Input value inFrameWidth const int Width of frame being added
Input value inFrameHeight const int Height of frame being added
Output value outOutputVideoStream OutputVideoStream& Initialized output video stream

Errors

List of possible exceptions:

Error type Description
DomainError Unsupported Video Encoder in OpenOutputVideoStream.