<< FindBestMatches Image Processing Design GetVideoStruct >>

Image Processing Design >> Image Processing Design > GetVideoInfo

GetVideoInfo

retrieves properties of a video file, is called by GetVideoStruct

Calling Sequence

VideoInfoAsList = GetVideoInfo(VideoPath);

Parameters

VideoPath

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

VideoInfoAsList

list containing properties of the video file and their names

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. The return value is a list. The odd items are the names of the retrieved properties. If you prefer to retrieve the video properties as a struct, use GetVideoStruct.

Examples

global IPD_PATH;

VideoInfoAsList = GetVideoInfo(IPD_PATH + 'demos\red-car-video.avi');

for n = 1 : length(VideoInfoAsList)

disp(VideoInfoAsList(n));

end;

See Also


Report an issue
<< FindBestMatches Image Processing Design GetVideoStruct >>