Accessing a camrea

  • Thread starter Thread starter JJ
  • Start date Start date
J

JJ

Whats the best way of way of getting the feed from a USB camera?

I have been reading about DirectShow, but it seems that microsoft support
for that is dwindling. What methods are available for accessing the feed
from camera's in VB .net, that will still be useable in windows Vista?

Thanks,

JJ
 
Both of my digital cameras, a Nikon D70s and a Casio EX-S500, but
appear as disk drives when I plug them in to an XP based PC. So a
simple drag and drop will copy the photo files to my hard drive. So it
stands to reason that any class/method that accessed folders and files
should be able to access photo files in a USB connected digital camera.
 
Ahh, the only mention in his post that alludes to video streaming is
the reference to DirectShow, which is something I was unaware of, so I
assumed he was talking aobut still cameras. But my Casio supports video
capture to AVI and those are accessed in the same manner as the JPGs.
But I guess he is talking about a digital video cam, which I have no
experiance with.
 
Sorry I didn't make my question clear - it was about video streaming. And I
wanted to apply the software to any usb camera, not just specific models.

Thank you for you comments though, they may still prove useful.

JJ
 
Hi James,

I've tried the avicap32.dll method as detailed in the artical in your link,
but it does not work on my sony usb camera. I want a solution that works for
all usb video camera's that the system recognises.
The only one which seems to work is the DirectShow method. But, as I've
mentioned, there seems to be a few posts suggesting that DirectShow may be
on its way out.

I don't want to develop an app that will be out of date when vista arrives!

A bit stuck at the moment....

JJ
 
JJ said:
Hi James,

I've tried the avicap32.dll method as detailed in the artical in your
link, but it does not work on my sony usb camera. I want a solution that
works for all usb video camera's that the system recognises.
The only one which seems to work is the DirectShow method. But, as I've
mentioned, there seems to be a few posts suggesting that DirectShow may be
on its way out.

I don't want to develop an app that will be out of date when vista
arrives!

A bit stuck at the moment....

JJ

That may be a tough one if DirectShow is going away. I have a feeling
(haven't had access to Vista builds to test)
that a lot of things may break when Vista finally arrives.
............whenever that is :-)
I have seen several C++ samples, (from searching on CodeProject and a couple
of other sites) but, VB code samples
don't appear that plentiful. You might try contacting the author of the
sample I posted the link to and see if he has any
suggestions.
james
 
Thanks James. I think I'll do that

I might be wrong in my understanding. It seems that 'XNA' is where microsoft
is concentrating - users of VS 2005 should have some documentation about it.

I can't quite get my head around whether XNA replaces directX (and hence
directShow) or whether it encorporates it ?

Directshow doesn't seem to be documented very well.

'confused! :-|

JJ
 
Back
Top