For a few weeks now I've been attempting to modify the DirectShow AMCap
sample to simultaneously render video from multiple webcams (in this case,
lower-end Logitech Quickcams). I've decoupled most of the data structures as
appropriate and managed to get multiple video previews to display at once,
but I run into trouble when I try to capture more than one stream to a file
destination. The graphs simply fail to run when there's more than one camera
activated at once (although one camera will capture just fine).
There could very well be something wrong with my code, but I've heard vague
references elsewhere that there's some limitation in the current
implementation of DirectShow that prevents this from ever working correctly
with USB cameras (even though I've seen applications available that do
exactly this). Could anyone elaborate as to whether they've gotten something
like this to work correctly, or maybe point out some common errors or
workarounds?
Start Free Trial