|
-
February 27th, 2004, 04:06 AM
#1
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.
-
March 11th, 2004, 01:31 AM
#2
Re: Capture screen to AVI and encode it with indeo 5.10
Hi,
I have made a program that has a function similar your considering but capturing bitmap from USB- camera instead of capturing from Screen. It is possible to use Indeo 5.0 codec to compress bitmap if you use Video Compression Functions. I remember there is a topic in codeguru giving a class that wrap all compression functions into, it names CVidc. If you could not find it out please ask me for sending that class to you.
Ha Nguyen.
-
March 19th, 2004, 06:07 AM
#3
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|