You are here: Start » AVL.NET » AVL.OpenInputVideoStream(string, int, AvlNet.InputVideoStream, float, int)

AVL.OpenInputVideoStream(string, int, AvlNet.InputVideoStream, float, int)

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

inFile
Type: System.String
Video file
inStartFrame
Type: System.Int32
Number of first frame to fetch.
outInputVideoStream
Type: AvlNet.InputVideoStream
Initialized input video stream
outFPS
Type: System.Single
Frames per second
outMaxFrame
Type: System.Int32
Last 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