Sunday, November 9, 2008

AVIFile Tutorial

AVIFile Tutorial

Introduction and Preparation

Step 1 - Getting a Handle on AVIsOpening And Closing Existing AVI FilesCreate a sample program that allows the user to choose an AVI file from the disk and get an interface pointer to it for use with the AVIFile functions. This is the framework sample which is built on in all the other steps. Be sure you understand it before going on.

Step 2 - Gently down the StreamsWorking With Existing StreamsCreate a sample program that gets a pointer to the existing video stream in an AVI file and returns information about the stream.

Step 3 - AVI to BMPsWorking With Existing FramesCreate a utility that gets each frame from the video stream in an AVI file and saves it to a bitmap file.

Step 4 - Recompress your videosCreating New AVI Files From StreamsCreate a utility that copies the video stream from any AVI file, recompresses it using whatever codec the user chooses and saves it to a new AVI file.

Step 5 - BMPs to AVICreating New AVI Files From Bitmap FilesCreate a utility that gets a list of bitmap files from the user and creates a new AVI file from them using a specified frame rate.

No comments: