AVIFile Reference
[The feature associated with this page, AVIFile Functions and Macros, is a legacy feature. It has been superseded by Source Reader. Source Reader has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader instead of AVIFile Functions and Macros, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
This section describes the functions, structures, and macros for applications using the AVIFile services. These elements are grouped as follows:
AVIFile Library Operations
Opening and Closing AVI Files
Reading from a File
Writing to a File
Using the Clipboard
Opening and Closing Streams
Reading Stream Information
- AVISTREAMINFO
- AVIStreamReadData
- AVIStreamDataSize
- AVIStreamReadFormat
- AVIStreamFormatSize
- AVIStreamRead
- AVIStreamSampleSize
- AVIStreamBeginStreaming
- AVIStreamEndStreaming
Decompressing Video Data in a Stream
Creating a File from Existing Streams
Writing Individual Streams
- AVIFileCreateStream
- AVIStreamSetFormat
- AVIStreamWrite
- AVIFileWriteData
- AVIStreamWriteData
- AVIStreamRelease
Finding the Starting Position in a Stream
- AVIStreamStart
- AVIStreamStartTime
- AVIStreamLength
- AVIStreamLengthTime
- AVIStreamFindSample
- AVIStreamEnd
- AVIStreamEndTime
Finding Sample and Key Frames
- AVIStreamFindSample
- AVIStreamIsKeyFrame
- AVIStreamNearestKeyFrame
- AVIStreamNearestKeyFrameTime
- AVIStreamNearestSample
- AVIStreamNearestSampleTime
- AVIStreamNextKeyFrame
- AVIStreamNextKeyFrameTime
- AVIStreamNextSample
- AVIStreamNextSampleTime
- AVIStreamPrevKeyFrame
- AVIStreamPrevKeyFrameTime
- AVIStreamPrevSample
- AVIStreamPrevSampleTime
- AVIStreamSampleToSample
Switching Between Samples and Time
Creating Temporary Streams
Editing AVI Streams
- CreateEditableStream
- EditStreamCut
- EditStreamCopy
- EditStreamPaste
- EditStreamClone
- EditStreamSetInfo
- EditStreamSetName
Related topics