Page 1 of 1
USB video camera help
Posted: Thu Jul 26, 2012 8:55 am
by leodh
I have a usb video camera but the software supplied with it is no longer working and I cant get it to work ( do not know why ).
Has anyone used Purebasic to display images from a Usb camera and if so could you give me a few tips on how to get the image from the camera.
Thanks
Leo
Re: USB video camera help
Posted: Thu Jul 26, 2012 10:30 am
by IdeasVacuum
....In WinXP and up, your camera should appear as a disc drive when connected via USB, allowing you to use Windows to copy/move the files. Or do you mean a Web Cam, that has no storage facility? Almost always going to need the manufacturer's driver for those, though if you re-install the web-cam as a generic device, Windows might offer it's own driver. You can of course visit the manufacturer's website and download the latest driver/software.
Working with PB, User_Russian has created a USB Lib:
PB USB Lib
Re: USB video camera help
Posted: Sat Jul 28, 2012 2:54 pm
by ultralazor
With base API you can do it through WMI without using subsystems or driver channels directly.
http://www.dreamincode.net/forums/topic ... m-program/
You need a codec to put the frames into video wrappers and bitstreams.