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?
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.
http://www.shrinkwrapvb.com/
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.
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.