Start » Filter Reference » Image » Image IO » ReadVideo
Module: | FoundationLite |
---|
Reads a frame sequence from a video file.
Name | Type | Range | Description | |
---|---|---|---|---|
inFile | File | Video file | ||
inStartFrame | Integer | 0 - + | Number of first frame to fetch. | |
inRepeat | Bool | Determines whether to repeat video playback | ||
outImage | Image | Output image | ||
outFPS | Real | FPS | ||
outFrameNum | Integer | Current frame number | ||
outMaxFrame | Integer | Last frame number |
Description
AvsFilter_ReadVideo filter is based on DirectShow and supports all video formats available using this technology. List of the most popular supported file types and compression formats is shown below.
- MPEG-2 video
- Digital Video
- AVI
- WMV
For complete list of supported formats, please follow the link below:
https://docs.microsoft.com/windows/desktop/DirectShow/supported-formats-in-directshow
Examples
Description of usage of this filter can be found in examples and tutorial: Coins.
Remarks
This filter uses external components, which can open additional windows or require initial configuration. Please, consult your codecs vendor in case of any troubles.
Errors
This filter can throw an exception to report error. Read how to deal with errors in Error Handling.
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Filter not available under the Linux. |
Complexity Level
This filter is available on Basic Complexity Level.
See Also
- WriteVideo – Writes an image sequence to a video file one frame per iteration.