You are here: Start » AVL.NET » Function Reference » Image » Image IO » AVL.OpenInputVideoStream

AVL.OpenInputVideoStream

Opens and creates a video stream from a file.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void OpenInputVideoStream
(
	string inFile,
	int inStartFrame,
	AvlNet.InputVideoStream outInputVideoStream,
	out float outFPS,
	out int outMaxFrame
)

Parameters

Name Type Range Default Description
inFilestringVideo file.
inStartFrameintNumber of first frame to fetch.
outInputVideoStreamAvlNet.InputVideoStreamInitialized input video stream.
outFPSfloatFrames per second.
outMaxFrameintLast frame number.

Errors

List of possible exceptions:

Error type Description
DomainError Negative start frame in OpenInputVideoStream.
DomainError Start frame too high for current video in OpenInputVideoStream.
RuntimeError Unexpected error in OpenInputVideoStream.

See also