CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Jan 2004
    Location
    China
    Posts
    11

    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.

  2. #2
    Join Date
    Mar 2004
    Posts
    1

    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.

  3. #3
    Join Date
    May 2003
    Posts
    30

    screen captuer to avi


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured