CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 1 of 1
  1. #1
    Join Date
    Jun 2012
    Posts
    1

    how to use FrmGrab_SetMaxFps(); function to capture frames

    hi all
    i m new in C# and I have epiphan Frame Grabber I have downloaded its SDK in which I have one C# Sample code which caputre one frame when i click button i have also installed its software that capture frame in 30 fps . I want to modifiy this C# sample to capture number of frames (30 fps) per second. there is fucntion given for capture number of frames per second and get argument value as double. FrmGrab_SetMaxFps() function






    public bool SetMaxFps(double aMaxFps){
    return FrmGrab_SetMaxFps(iGrabber, aMaxFps);
    }/// <summary>


    /// Signals the grabber to prepare for capturing frames with maximum


    /// frame rate. While it currently doesn't matter for local grabbers,


    /// it's really important for network grabbers (it turns streaming on,


    /// otherwise GrabFrame will have to work on request/response basis,


    /// which is much slower).

    but when i use this function i m unable to capure desire number of frames
    I need help where i should use this function and is there memory allocation for grabber to store captured image using this funtion

    i have attached sample code for review

    regards
    Attached Files Attached Files

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