|
AVIFILEINFO
The AVIFILEINFO structure contains global information for an entire AVI file.
typedef struct {
DWORD dwMaxBytesPerSec;
DWORD dwFlags;
DWORD dwCaps;
DWORD dwStreams;
DWORD dwSuggestedBufferSize;
DWORD dwWidth;
DWORD dwHeight;
DWORD dwScale;
DWORD dwRate;
DWORD dwLength;
DWORD dwEditCount;
char szFileType[64];
} AVIFILEINFO;
Members
dwMaxBytesPerSec
Approximate maximum data rate of the AVI file.
dwFlags
Applicable flags. The following flags are defined:
AVIFILEINFO_HASINDEX
The AVI file has an index at the end of the file. For good performance, all
AVI files should contain an index.
AVIFILEINFO_MUSTUSEINDEX
The file index contains the playback order for the chunks in the file. Use the
index rather than the physical ordering of the chunks when playing back the
data. This could be used for creating a list of frames for editing.
AVIFILEINFO_ISINTERLEAVED
The AVI file is interleaved.
AVIFILEINFO_WASCAPTUREFILE
The AVI file is a specially allocated file used for capturing real-time video.
Applications should warn the user before writing over a file with this flag
set because the user probably defragmented this file.
AVIFILEINFO_COPYRIGHTED
The AVI file contains copyrighted data and software. When this flag is used,
software should not permit the data to be duplicated.
dwCaps
Capability flags. The following flags are defined:
AVIFILECAPS_CANREAD
An application can open the AVI file with with the read privilege.
AVIFILECAPS_CANWRITE
An application can open the AVI file with the write privilege.
AVIFILECAPS_ALLKEYFRAMES
Every frame in the AVI file is a key frame.
AVIFILECAPS_NOCOMPRESSION
The AVI file does not use a compression method.
dwStreams
Number of streams in the file. For example, a file with audio and video has at
least two streams.
dwSuggestedBufferSize
Suggested buffer size, in bytes, for reading the file. Generally, this size
should be large enough to contain the largest chunk in the file. For an
interleaved file, this size should be large enough to read an entire record, not just a
chunk.
If the buffer size is too small or is set to zero, the playback software will
have to reallocate memory during playback, reducing performance.
dwWidth
Width, in pixels, of the AVI file.
dwHeight
Height, in pixels, of the AVI file.
dwScale
Time scale applicable for the entire file. Dividing dwRate by dwScale gives the number of samples per second.
Any stream can define its own time scale to supersede the file time scale.
dwLength
Length of the AVI file. The units are defined by dwRate and dwScale.
dwEditCount
Number of streams that have been added to or deleted from the AVI file.
szFileType
Null-terminated string containing descriptive information for the file type.
| Last news from Greatis Software |
 |
|
Nostalgia .Net |
|
.Net is powerful, but not all-powerful, so sometimes we need to use Win32 API for our .Net applications. It's simple enough with Platform Invoke if you have Win32 skill, but we do not always have time to dig the ancient documentation, declare the special types that are compatible with Win32, find the values of the Win32's constants and so on. Nostalgia .Net offers several simple-to-use classes, and components that will allow you to forget about the headache of Win32 and just use the power of Win32 in your application the same way as you use the native. Net classes. More » |
| Recommended software for developers |
 |
|
Ultimate Pack |
|
Component pack for Delphi and C++ Builder that contains runtime form designer, runtime object inspector, print suite and much more for the very special price. More » |
 |
|
Form Designer .Net |
|
Unique runtime form design solution that allows to edit any form in .Net WinForms application at runtime with full source codes for only 300 euro! More » |
 |
|
Print Suite .Net |
|
Print Suite .Net is a set of components for easy printing texts, images and grids from your WinForms applications. Full C# source codes are available More » |
 |
|
Gradient Controls .Net |
|
Gradient Controls .Net offers controls with gradient background feature. Labels, panels and so on... Full C# source codes are available More » |
 |
|
Greatis iGrid |
|
iGrid plots drawing grid right over your desktop, so you can use it everywhere, with any drawing application without any special plugins for different graphic editors. More » |
All the contacts and projectsDmitry Vasiliev (just.dmitry)
Related LinksSoftware for Visual Studio .NET developers Software for Delphi and C++ Builder developers Software for Visual Basic 6 developers Delphi Tips&Tricks MegaDetailed.NET More Online Helps Win32 Programmer's Reference Win32 Multimedia Programmer's Reference OLE Programmer's Reference Microsoft Windows Pen API Programmer's Reference Microsoft Windows Sockets 2 Reference Microsoft Windows Telephony API (TAPI) Programmer's Reference Unix Manual Pages
|