<< GetVideoInfo Image Processing Design GetWaveletFilters >>

Image Processing Design >> Image Processing Design > GetVideoStruct

GetVideoStruct

retrieves the properties of a video file

Calling Sequence

VideoStruct = GetVideoStruct(VideoPath);

Parameters

VideoPath

the name or complete path of a video file, must be a string

VideoInfo

struct with the following components:

  • Codec: name of the codec

  • NumberOfFrames: the number of frames in the video file

  • FrameRate: number of frames taken per second during recording

  • Width: number of columns of a frame

  • Height: number of rows of a frame

  • IsColor: spefies whether the video is color (%t) or gray scale (%f)

Description

This function retrieves the codec, number of frames, frame rate, number of columns and rows of the frames and whether the video is color or gray scale.

Examples

global IPD_PATH;

VideoStruct = GetVideoStruct(IPD_PATH + 'demos\red-car-video.avi')

See Also


Report an issue
<< GetVideoInfo Image Processing Design GetWaveletFilters >>