C language function:ICSeqCompressFrame sample codesSearch sample code in the internet.It is the result.
TITLE : ICSeqCompressFrame function (Windows)
TITLE : A class to easily generate AVI video with OpenGL and Video for Windows - CodeProject
I searched MSDN and found that there are two kinds of structures, one is AVICOMPRESSOPTIONS and the other is COMPVARS. I used COMPVARS to compress the video files. It works fine until I choose WMV9 as the compressor. It fails on ICSeqCompressFrame(). What's wrong? Does COMPVARS not work with WMV9?.......