Update on the SampleGrabber code Written on November 29, 2008, by akafazov.

I have updated the SampleGrabber filter project. The the project now contains a modified CameraCatureDLL with built-in filter and a client C# client to get the data.

Although the filter works fine and you would be able to get the frame data, there are some issues, which I didn’t have time to get fixed. For example, you the app might get stack when stopping the filtergraph. This is due that the client callback takes too much time to copy the data and return. This operation should be done as efficiently as possible.

Download the demo project: cameracapturedll_demoproject.dll

Read more from the Programming category. If you would like to leave a comment, click here: 3 Comments. or stay up to date with this post via RSS, or you can Trackback from your site.
Social Bookmark : Technorati, Digg, de.licio.us, Yahoo, Blinkbits, Blogmarks, Google, Magnolia.

Leave a Comment

If you would like to make a comment, please fill out the form below.

Name (required)

Email (required)

Website

Comments

3 Comments so far
  1. mansi January 22, 2009 10:02 am

    Hi there. I badly need yor help. I am a computer science graduate and currently doing my internship. I am a newbie to directshow. I have got a task to implement sample-grabber and store frames locally and i am suggested to use your code from code project. I am tring to use the SampleGrabber project in VS 2008. I have windows Mobile 6 professional SDK installed. When I try to build the solution, it gives me following to errors:

    error LNK2001: unresolved external symbol “public: virtual unsigned long _cdecl CBaseFilter::NonDelegatingRelease (void)” (?NonDelegatingRelease@CBaseFilter@@UAAKXZ)——->File:SampleGrabber.obj

    fatal error LNK1140: 1 unresolved externals——>File:CameraCaptureDLLD.dll

    Please Please guide me as soon as possible.

  2. Rehman July 15, 2010 5:10 am

    Hi,
    first lot of thanks to auther,
    i compiled the code but it gives me 2 errors
    1. Error 1 error LNK2001: unresolved external symbol “public: virtual unsigned long __cdecl CBaseFilter::NonDelegatingRelease(void)” (?NonDelegatingRelease@CBaseFilter@@UAAKXZ) SampleGrabber.obj CameraCaptureDLL
    2. Error 2 fatal error LNK1120: 1 unresolved externals d:\Rehman\Working\cameracapturedll_demoproject_1\dll\CameraCaptureDLLD.dll CameraCaptureDLL

    please give me some hints, really i am becoming crazy.

    Best Regards
    Rehman

  3. akafazov July 17, 2010 3:25 pm

    Hi, try using the Release version, this should get rid of those errors.

© Copyright Blog of Angel Kafazov - Powered by Wordpress - Designed by Speckyboy. Enjoy with a Whopper Meal & Large Coke.