|
AVICOMPRESSOPTIONS
The AVICOMPRESSOPTIONS structure contains information about a stream and how it is compressed and
saved. This structure passes data to the AVIMakeCompressedStream function (or the AVISave function, which uses AVIMakeCompressedStream).
typedef struct {
DWORD fccType;
DWORD fccHandler;
DWORD dwKeyFrameEvery;
DWORD dwQuality;
DWORD dwBytesPerSecond;
DWORD dwFlags;
LPVOID lpFormat;
DWORD cbFormat;
LPVOID lpParms;
DWORD cbParms;
DWORD dwInterleaveEvery;
} AVICOMPRESSOPTIONS;
Members
fccType
Four-character code indicating the stream type. The following constants have
been defined for the data commonly found in AVI streams:
streamtypeAUDIO
| Indicates an audio stream.
| streamtypeMIDI
| Indicates a MIDI stream.
| streamtypeTEXT
| Indicates a text stream.
| streamtypeVIDEO
| Indicates a video stream.
|
fccHandler
Four-character code for the compressor handler that will compress this video
stream when it is saved (for example, mmioFOURCC('M','S','V','C')). This member is not used for audio streams.
dwKeyFrameEvery
Maximum period between video key frames. This member is used only if the
AVICOMPRESSF_KEYFRAMES flag is set; otherwise every video frame is a key frame.
dwQuality
Quality value passed to a video compressor. This member is not used for an
audio compressor.
dwBytesPerSecond
Video compressor data rate. This member is used only if the
AVICOMPRESSF_DATARATE flag is set.
dwFlags
Flags used for compression. The following values are defined:
AVICOMPRESSF_DATARATE
Compresses this video stream using the data rate specified in dwBytesPerSecond.
AVICOMPRESSF_INTERLEAVE
Interleaves this stream every dwInterleaveEvery frames with respect to the first stream.
AVICOMPRESSF_KEYFRAMES
Saves this video stream with key frames at least every dwKeyFrameEvery frames. By default, every frame will be a key frame.
AVICOMPRESSF_VALID
Uses the data in this structure to set the default compression values for AVISaveOptions. If an empty structure is passed and this flag is not set, some defaults will
be chosen.
lpFormat
Address of a structure defining the data format. For an audio stream, this is
an LPWAVEFORMAT structure.
cbFormat
Size, in bytes, of the data referenced by lpFormat.
lpParms
Video-compressor-specific data; used internally.
cbParms
Size, in bytes, of the data referenced by lpParms
dwInterleaveEvery
Interleave factor for interspersing stream data with data from the first
stream. Used only if the AVICOMPRESSF_INTERLEAVE flag is set.
See Also
AVIMakeCompressedStream, AVISave, AVISaveOptions, mmioFOURCC
| 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
|