From: hans@attitude.DIALix.oz.au (Hans Hill)
Subject: Re: [delphi] Grabbing dimensions from .AVI files
Date: Wed, 26 Jul 1995 10:15:44

If you have the Video for Windows Development Kit all the info is
in there, But  apparrently there is a struct at the start of the
.avi file.

Look up MainAVIHeader in the vfwdk help file for more, but here is
the structure -

typedef struct {
        DWORD   dwMicroSecPerFrame;
        DWORD   dwMaxBytesPerSec;
        DWORD   dwPaddingGranularity;
        DWORD   dwFlags;
        DWORD   dwTotalFrames;
        DWORD   dwInitialFrames;
        DWORD   dwStreams;
        DWORD   dwSuggestedBufferSize;
        DWORD   dwWidth;
        DWORD   dwHeight;
        DWORD   dwReserved[4];
        } MainAVIHeader;
        
I've no idea what MS charge for the vfwdk, but I know its
available when you purchase a Video Blaster Card, and its also
include on the CD that comes with 'Visual Basic MultiMedia'(from
the Coriolis Book Group)
Hope this helps

regards
Hans
