I am trying to make a DLL to convert BMP files to AVI videos but I need help. What is the data type I need to use for the stream structure? Also, which functions do I use to load the bitmap files? Are there any tutorials in asm for this?
Posted on 2005-06-18 19:27:17 by Tyrant
In MSDN there is an example project (though in C) on how to use the AVIxxx APIs to write custom-generated data in an .avi file. You'd best load the bitmaps yourself. The AVI funcs need a BITMAPHEADER structure, that you'll easily fill in.
Posted on 2005-06-20 04:27:09 by Ultrano

It's not an assembly but gives all the basics and is fairly easy to understand. I recently had the same dilemma and it helped a lot.

edit: As for the data type, your best bet is to use 24-bit RGB (BI_RGB flag) bitmaps. I've noticed some codecs don't work with 15/16-bit RGB bitmaps and I haven't been able to get many to work with various bitmasks.
Posted on 2005-06-22 09:11:43 by Big Red