CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 5 of 5
  1. #1
    Join Date
    Sep 2003
    Posts
    18

    Reading AVI Files from memory

    Hi All,
    Is there any way to read AVI frames from memory as we read from file.
    If we read AVI frames from memory, hope it will improve display frame rate.
    Usually I need to store only a maximum of 2500 frames AVI data.

    Pls help me out of this problem.

    Tips/Suggestions for solving this issue is welcome.


    Thanks in Advance
    Vinod

  2. #2
    Join Date
    May 2004
    Posts
    25

    Re: Reading AVI Files from memory

    How do you read AVI from file?

    There is only one step between reading AVI from file and from memory!!
    Could you give us more details about your problems...

    Thanks

  3. #3
    Ejaz's Avatar
    Ejaz is offline Elite Member Power Poster
    Join Date
    Jul 2002
    Location
    Lahore, Pakistan
    Posts
    4,211

    Re: Reading AVI Files from memory

    Take a look at Extracting AVI Frames

  4. #4
    Join Date
    Sep 2003
    Posts
    18

    Re: Reading AVI Files from memory

    Now we are reading AVI files from hard disk using the following APIs .


    AVIStreamOpenFromFile()
    AVIStreamInfo()
    AVIStreamGetFrame() .

    Is there any way I can increase the AVI display frame rate ?


    Thanks

  5. #5
    Join Date
    Jan 2002
    Location
    Scaro, UK
    Posts
    5,940

    Re: Reading AVI Files from memory

    Have you thought about using DirectShow to do this ? It's going to be as fast as you can ever get with DirectX9 because it uses the hardware on your graphics card to do the stretching etc of the video.

    Darwen.
    www.pinvoker.com - PInvoker - the .NET PInvoke Interface Exporter for C++ Dlls.

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