Back to Aurora Vision Studio website

You are here: Start » Filter Reference » Image » Image IO » ReadVideo

ReadVideo


Module: FoundationLite

Reads a frame sequence from a video file.

Name Type Range Description
Input value inFile File Video file
Input value inStartFrame Integer 0 - + Number of first frame to fetch.
Input value inRepeat Bool Determines whether to repeat video playback
Output value outImage Image Output image
Output value outFPS Real FPS
Output value outFrameNum Integer Current frame number
Output value 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.