Name

aviinfo — Get the information about video files. (experimental)

Calling Sequence

info = aviinfo(filename)

Parameters

filename
A string, the video filename to be read.
info
A mlist. The set of fields in the info structure is shown as follows:
Field Name Description
Filename String containing the video file name.
FileSize Integer indicating the size of the video file in bytes.
FramesPerSecond Integer indicating frames per second (FPS).
Width Integer indicating frame width in pixels.
Height Integer indicating frame height in pixels.
NumFrames Integer indicating the number of frames in the video file.
VideoCompression String containing the encoder name used to compress the video file.

Description

Video support for SIVP is only available when SIVP is compiled with OpenCV which support video I/O.

Examples

	
    info = aviinfo(SCI+'/contrib/sivp/images/video.avi')

Authors

Shiqi Yu <shiqi.yu[at]gmail.com>

Availability

The latest version of SIVP can be found at

http://sivp.sf.net

See Also

aviopen , camopen , avifile , addframe , aviclose , avicloseall , avilistopened , avireadframe