You are here: Start » FIL.NET » FIL.OpenInputVideoStream

FIL.OpenInputVideoStream

Opens and creates a video stream from a file.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inFilestringVideo file.
inStartFrameintNumber of first frame to fetch.
outInputVideoStreamFilNet.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