Click here to Skip to main content
65,938 articles
CodeProject is changing. Read more.
Articles
(untagged)

Avitowmv sample compressed AVI file support

0.00/5 (No votes)
11 Apr 2001 1  
This article demonstrates how to modify the'avitowmv' sample to support compressed AVI files

Introduction

If you are using the Windows Media SDK, you will probably know the sample source named 'avitowmv'. This is an example that shows how to encode .asf files using the WMF SDK. Unfortunately, the sample doesn't not support compressed AVI video files.

By adding a few lines of code you can change the source to support compressed AVI files.

The Code

If you want to uncompress video frames you can use AVIStreamGetFrame() function. Also, you can modify the existing code slightly to configur Input Properties if you wish.

License

This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.

A list of licenses authors might use can be found here