You are here: Start » AVL.NET » AVL.OpenInputVideoStream Method

AVL.OpenInputVideoStream Method

Opens and creates a video stream from a file.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void OpenInputVideoStream(
	string inFile,
	int inStartFrame,
	out 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

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

See also