Capture screen to AVI and encode it with indeo 5.10
hi everyone,
I have problem here:
I am writing a program to capture a certain area of screen frame(by GDI functions) and by which to create an AVI file.
The program works fine while compressed by "Microsoft Video 1" format but I can not use "Indeo video 5.10" for the compression format.
When I set the "AVICOMPRESSOPTIONS.fccHandler = mmioFOURCC ('I', 'V', '5', '0' );" and run the program, it returns an error from "AVIStreamSetFormat ()".
It seems that the encoder does not compatible with the source data ?
I downloaded the "Indeo" codec at "http://christophermolloy.com/photo/iv5setup.exe ".
I don't know it was because the "Indeo" codec I downloaded was not correct or beause it has special source data format requirement that it doesn't work.
Can anyone give me a clue about this or give me a pointer to some related information ?
My software environment: OS: Windows 2000 professional + SP4 Compiler: VC++ 6.0 + SP5
Thanks in advance !!
Today, memory either forgets things when you don't want it to, or remembers things long after they're better forgotten.