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 | |
---|---|---|---|---|---|
inFile | string | Video file. | |||
inStartFrame | int | Number of first frame to fetch. | |||
outInputVideoStream | AvlNet.InputVideoStream | Initialized input video stream. | |||
outFPS | float | Frames per second. | |||
outMaxFrame | int | 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 |