John,

>From what I can tell, the DS plug-in doesn't work anything at all like the QT 
>plug-in does. Once you set up the various classes and canvas, and call "Run", 
>it simply starts feeding live video to the window as quickly as it can. You 
>can grab individual frames to use somewhere else (saving as static images, 
>etc.), but if you're looking to do something with them in "real-time" before 
>they get displayed, you're pretty much out of luck. You can put in a timer 
>control and grab frames and do something with them at some specified interval 
>(33ms is the NTSC standard), but I can't find a way to do any image processing 
>*before* frames get displayed (i.e. any sort of man-in-the-middle 
>functionality). 

I've had some luck getting the QTGrabber plug-in working, even in Windows 7 
(both 32 and 64 bit versions) using the free VDIG component available here:

http://www.eden.net.nz/7/20071008/

This has the advantage of keeping a single code stack for both Mac OS X and 
Windows versions of your application. If you're just doing this for a one-off 
installation this might be the easiest way to go.

All that said, I'm *still* committed to switching over to DirectShow for the 
Windows version of my app. There are just too many weirdnesses and bugs in the 
QT VDIG components to make it a general purpose solution in Windows. The only 
thing holding me back is the limitations of the current DS plug-in that I 
mentioned above. I'd be interested in hearing from you to see how you approach 
this...

Christian, do you have any sort of documentation (or can you point us toward 
some) that explains the relationships between and purposes of the various 
classes required to get DirectShow working in Windows? The example code is easy 
enough to follow, but without some additional background info it's been 
difficult to build off of what's there to add additional functionality (e.g. 
I'd like to allow the user to choose the video source, but what needs to be 
re-instantiated, etc. after doing this?). 

Cheers.

-bill k



On Sep 1, 2012, at 8:08 AM, John Kubie <[email protected]> wrote:

> Christian, thanks for the directshow RB ' frame capture' code.
> 
> Another question: 
> 
> In 'directshow grabber' is there the equivalent to QTgrabber's 'nextframe' 
> event? I would like to capture as soon as the next frame is available, but 
> don't know how to check if a new picture (frame) is available.
> 
> John Kubie
> _______________________________________________
> Mbsplugins_monkeybreadsoftware.info mailing list
> [email protected]
> https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

_______________________________________________
Mbsplugins_monkeybreadsoftware.info mailing list
[email protected]
https://ml01.ispgateway.de/mailman/listinfo/mbsplugins_monkeybreadsoftware.info

Reply via email to