You are here: Start » FIL.NET » Function Reference » Image » Image IO » 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 | |
|---|---|---|---|---|---|
![]() | inFile | string | Video file. | ||
![]() | inStartFrame | int | Number of first frame to fetch. | ||
![]() | outInputVideoStream | FilNet.InputVideoStream | Initialized input video stream. | ||
![]() | outFPS | float | Frames per second. | ||
![]() | outMaxFrame | int | Last frame number. |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Function not available under the linux. |
| DomainError | Negative start frame in OpenInputVideoStream. |
| DomainError | Start frame too high for current video in OpenInputVideoStream. |
| RuntimeError | Unexpected error in OpenInputVideoStream. |


