Back to Aurora Vision Library Lite website
You are here: Start » Image » Image IO » OpenInputVideoStream
OpenInputVideoStream
Header: | AVL.h |
---|---|
Namespace: | avl |
Opens and creates a video stream from a file.
Syntax
void avl::OpenInputVideoStream ( const atl::File& inFile, int inStartFrame, avl::InputVideoStream& outInputVideoStream, float& outFPS, int& outMaxFrame )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inFile | const File& | Video file | ||
inStartFrame | int | Number of first frame to fetch. | ||
outInputVideoStream | 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. |