This is a discussion on AVIFile Functions within the C and C++ Programming forums, part of the Software Development category; AVIFile Functions The best way to obtain information about AVI format and learn more about the internal behavior of the ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
| |||
| AVIFile Functions The best way to obtain information about AVI format and learn more about the internal behavior of the file, is going directly to MSDN as I did. The AVI related functions are inside vfw.h header file. This means you must include this header and add vfw32.lib library file to your project. Here is the list of functions that I used in the project and a brief information about them (taken from MSDN): void AVIFileInit(void); The AVIFileInit function initializes the AVIFile library. void AVIFileOpen(PAVIFILE* ppfile, LPCTSTR szFile, UINT mode, CLSID pclsidHandler); The AVIFileOpen function opens an AVI file and returns the address of a file interface used to access it. void AVIFileInfo(PAVIFILE pfile, AVIFILEINFO* pfi, LONG lSize); The AVIFileInfo function obtains information about an AVI file. void AVIFileGetStream(PAVIFILE pfile, PAVISTREAM* ppavi, DWORD fccType, LONG lParam); The AVIFileGetStream function returns the address of a stream interface that is associated with a specified AVI file. LONG AVIStreamStart(PAVISTREAM pavi); The AVIStreamStart function returns the starting sample number for the stream. LONG AVIStreamLength(PAVISTREAM pavi); The AVIStreamLength function returns the length of the stream. PGETFRAME AVIStreamGetFrameOpen(PAVISTREAM pavi, LPBITMAPINFOHEADER lpbiWanted); The AVIStreamGetFrameOpen function prepares to decompress video frames from the specified video stream. LPVOID AVIStreamGetFrame(PGETFRAME pgf, LONG lPos); The AVIStreamGetFrame function returns the address of a decompressed video frame. void AVIStreamGetFrameClose(PGETFRAME pget); The AVIStreamGetFrameClose function releases resources used to decompress video frames. LONG AVIStreamRelease(PAVISTREAM pavi); The AVIStreamRelease function decrements the reference count of an AVI stream interface handle, and closes the stream if the count reaches zero. void AVIFileExit(void); The AVIFileExit function exits the AVIFile library and decrements the reference count for the library. thanks
__________________ Karpagarajan. R Necessity is the mother of invention |
| Sponsored Links |
![]() |
| Thread Tools | |
| Display Modes | |
| |
LinkBacks (?)
LinkBack to this Thread: http://www.discussweb.com/c-c-programming/1095-avifile-functions.html | |||
| Posted By | For | Type | Date |
| Digg / Programming / Upcoming | This thread | Refback | 07-20-2007 05:24 AM |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| PHP FTP Functions | Kamalakannan | PHP Programming | 54 | 04-14-2008 05:42 AM |
| Sql functions | itbarota | Database Support | 11 | 02-29-2008 02:08 AM |
| What are encryption functions in PHP? | Sabari | PHP Programming | 2 | 09-17-2007 09:53 AM |
| What are Virtual Functions? How to implement virtual functions in "C"? | Sabari | C and C++ Programming | 4 | 09-10-2007 11:35 PM |
| Imagemagick functions | Sivamurugan | PHP Programming | 4 | 09-09-2007 11:51 PM |