I require a Visual Studio 2005 ~ 2008 class? to add to my exsisting application. The class file can not be writting in VS6.
The class avi will control the creation of each avi files, write to the avi files with each DIB data frame and use MPEG4 or DIVX,XVID codecs to compress? and then close the file as well as saving the avi to any partition and directory that is specified and passed to this class.
The class must be able to process mutible continous independent video streams at once.
I will require three functions to control the avi class eample of how I would like the function to work:
1: avi[cam_number].init(_T("[login to view URL]"),_T("E:\2008_11"),_T("fourCC Codec"),frames per second,compression quality);
2:avi[cam_number].addFrame(DIB data);
2:avi[cam_number].closeAvi();
I will supply code sample of how the data buffer streams are passed and converted to RGB32 you just need to take the DIB data frame and pass it to avi[cam_number].addFrame[DIB data];
I can not use use for eample CAVI * avi[128]; avi[camera_number] = new CAVI(); as it upsets other class in my application but you can use CAVI avi[128] fine.
You can use vfw.h or direct draw to make the class but it must be very resource friendly and not to memory or cpu dependent.