Back to FabImage Library Lite website
You are here: Start » Image » Image IO » ReadVideoStream
ReadVideoStream
| Header: | FIL.h |
|---|---|
| Namespace: | fil |
Acquires a frame from a previously opened video stream.
Syntax
bool fil::ReadVideoStream ( const fil::InputVideoStream& inInputVideoStream, bool inRepeat, int& outFrameNum, fil::Image& outImage )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inInputVideoStream | const InputVideoStream& | Previously opened input video stream | |
![]() |
inRepeat | bool | Determines whether to repeat video playback | |
![]() |
outFrameNum | int& | Current frame number | |
![]() |
outImage | Image& | Current frame |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Incorrectly initialized InputVideoStream object passed to ReadVideoStream |


