draco1023 / aforge

Automatically exported from code.google.com/p/aforge
Other
0 stars 0 forks source link

Video Capture #53

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Connect a Canopus ADCV-55 (a analog to digital video convertor) with an
analog video soource
2. Use the DirectShow wrapper to try to obtain an image
3. Device is enumerated but produces no output.

Hi Andrew,

the Canopus ADVC55 is using the default windows driver for 'DV camera and
VCR' (or MSDV driver). As far as I can tell from your libraries you are
building a correct graph, using IGraphBuilder:Connect instead of
IGraphBuilder:Render which does not work with the MSDV driver because it
connects an output pin to an input pin (see
http://msdn2.microsoft.com/en-us/library/ms787348(VS.85).aspx ). However I
 must say DirectShow is beyond me so for the moment, so I have trouble
figuring out everything your code is doing ...
Suggestions?

Just some info to give back: I am using some of your DirectShow capture
code in one of my projects. For the rest I have my own image processing
library which is much more aimed at the CIE color spaces. I use a very
similar architecture for my filters as you (I admit taking some ideas from
you when I rewrote my .NET 1.0 libraries to be more object oriented).
Lately I have been experimenting with the  parallel task library
(http://blogs.msdn.com/pfxteam/archive/tags/Task+Parallel+Library/default.aspx),
and for loops where you run through an image sequentially and do some heavy
duty computation per pixel a speedup of almost n can be achieved, with n
the number of cores of your CPU! This is an important speedup, well worth
the little effort. I have attached a file for you with an example (.NET 3.5
 required).

Cheers
Yves

Original issue reported on code.google.com by Yves.Van...@gmail.com on 5 Mar 2008 at 10:32

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 13 May 2008 at 6:45

GoogleCodeExporter commented 9 years ago
Cannot help on this without being able to replicate it, since don't have since 
camera.

Original comment by andrew.k...@gmail.com on 8 May 2011 at 7:29

GoogleCodeExporter commented 9 years ago
Don´t worry Andrew, all is ok now!

I am currently using a modified version of your video capture window in a 
program which measures speed of traffic using a simple webcam (SpeedCam). 

Original comment by Yves.Van...@gmail.com on 9 May 2011 at 7:19

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 23 Jan 2012 at 11:49

GoogleCodeExporter commented 9 years ago
The issue seems to be similar to the issue 282, which I currently try to 
resolve.

Original comment by andrew.k...@gmail.com on 25 Jan 2012 at 9:38

GoogleCodeExporter commented 9 years ago
See fix of issue 282.

Original comment by andrew.k...@gmail.com on 27 Jan 2012 at 9:29

GoogleCodeExporter commented 9 years ago

Original comment by andrew.k...@gmail.com on 23 Feb 2012 at 9:09