| Home Introduction User's Guide Download

| OpenAviFile: |  |

| NAME OpenAviFile ¨C open an AVI file with uncompressed video stream and get the information SYNOPSIS AviReadMessage = OpenAviFile (szFile) PARAMETERS
szFile ¡¡¡¡A string, the AVI filename to be read.
AviReadMessage

| The read message implies the information about the opened AVI file only if the open of the file would be successful, otherwise it would become NULL. The information contains the FILE pointer, the totalframes, width, height, biSize, the index data, dwScale and dwRate of the video stream. They can be referred as following:
| FILE = AviReadMessage(1) Totalframes = AviReadMessage(2) Width = AviReadMessage(3) Height = AviReadMessage(4) biSize = AviReadMessage(5)
index = AviReadMessage(6)
dwScale = AviReadMessage(7)
dwRate = AviReadMessage(8)

DISCRIPTION
Function OpenAviFile open an uncompressed AVI file, return the information with the uncompressed video frame. There are two cases that would lead to an unsuccessful open:(1)Open file failed. (2)Unsupported file format ¨Cwe support the uncompressed AVI file with the index chunk and 24 bits per pixel only.
EXAMPLE
see also AviReadFrame

back

Entry
Home Introduction User's Guide
Function Reference
SIP Functions New Image Func Video Functions
Developer's Guide
Graphical Display Video Processing Modified Functions GUI
Demo
Image Processing Video Processing
Support
Future Work Known Bugs FAQ Acknowledgement About Us

|  |  | About Us | Contact Us | Our University Copyright © 2004-2005 Scilab group of Xiamen University, China |  |