You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
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
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Negative start frame in OpenInputVideoStream. |
DomainError | Start frame too high for current video |
RuntimeError | Unexpected error in OpenInputVideoStream. |