PDA

View Full Version : [REQ/REL] USB camera driver


elektrownik
23rd January 2009, 10:19 PM
I found source code for USB camera driver from Microsoft (usbcam.dll) it is for Windows CE and it is compatible with Windows Mobile. It need to be compiled for IntelXscale and/or ARM (depending on device)... Maybe someone here can try. It support around 30 usb web camera models with USB 1 and 2. It include also filter: ; Register JPEG -> RGB filter
; This filter is intended for use with the usbcam.dll, which
; produces output in the JPEG/MJPEG formats
There are 4 files:
usbcam.dll (Driver)
jpeg2rgb.dll (Support file - Filter)
usbcam.reg
jpeg2rgb.reg
Developer (http://www.codeplex.com/cewebcam) of this code confirm that it can be compiled for WM 5/6
Microsoft has released a webcam driver (with source) that does support a Direct Show interface. It is written for CE 6, but could be recompiled for Win Mobile 5/6 since they support Direct Show capture drivers.
Please help, im sure that it will work, there is many devices with USB Host and web cameras are so cheap... That would be great if someone will help !

xeirwn
24th January 2009, 12:00 PM
so this means that with a usb-host capable device,
it is possible to use an external camera? ;)

elektrownik
24th January 2009, 12:53 PM
so this means that with a usb-host capable device,
it is possible to use an external camera? ;)

If someone will compile it... yes
Here is quote from description:
"The driver supports both USB 1.x and 2.0 (high-speed) cameras. The driver will
expose both uncompressed and MJPEG modes, if supported by the camera."

elektrownik
24th January 2009, 05:42 PM
anyone ? This should be simple...

NisseDILLIGAF
24th January 2009, 08:50 PM
This would be very cool :)
to connect a webcam to the phone :)
(right, that's what it's for?)

elektrownik
24th January 2009, 08:51 PM
This would be very cool :)
to connect a webcam to the phone :)
(right, that's what it's for?)

Yes, but USB host is requried...
Ehh it look like I must compile it myself... So many programmers here but noone can do it...

xeirwn
25th January 2009, 10:02 AM
my device Xda Flame has USB OTG version 1.2 compliant. (USB On-The-Go)
and can connect to HD, flash memory, keyboard, mouse etc.

I have posted on our forum http://xdaflameusers.com/viewtopic.php?id=1447
Still no reply..
Really hope someone makes use of this ;)

xeirwn
25th January 2009, 10:16 AM
If you check the developer's link, you can download webcam.dll file (from WebCam_100.zip )

also checked the discussions, a CamTest app is mentioned but where is it??

webcamWhitePaper.doc is also interesting..

EDIT: found the Camtest but no exe file! dl from http://devpi.free.fr/wince/camtest2_cpp.zip

xeirwn
25th January 2009, 10:27 AM
sorry for double posting, but I think I found the answer from the developer himself

As for your initial question, I'm not sure this driver will do what you want. You to want to use the webcam with a Windows Mobile system. If however, you want to display the image through media player, this driver won't help. It doesn't support a proper Direct Show interface.

Microsoft has released a webcam driver (with source) that does support a Direct Show interface. It is written for CE 6, but could be recompiled for Win Mobile 5/6 since they support Direct Show capture drivers. The link for that driver is

http://www.microsoft.com/downloads/details.aspx?FamilyID=2ef087c0-a4ae-42cc-abd0-c466787c11f2&DisplayLang=en

copied from here:
http://www.codeplex.com/cewebcam/Thread/View.aspx?ThreadId=17584

elektrownik
25th January 2009, 11:02 AM
I was very close to run it... I used webcam.dll from codeplex (version for arm) but it was compiled for win ce... I used registry key whiich was included to regiister hardware type. Wheen I connected camera it as usualy ask for drivver... but surprise here - it doesn't do this again as usualy, instead of this it show "error installing driver". Camera test is not exe becouse it like driver need to be compiled for windows mobile like driver. I am 100% sure that if driver, filter and cam test app will be compiled for windows mobile it will work fine.... but we need someone who will do it....

elektrownik
25th January 2009, 10:10 PM
Shame that noone here can help us... developers...

hunix
17th February 2009, 04:38 AM
Wutsup ppl it seems no one is interested anymore in this, if anybody got progress or someone got compiled wm6,wm5 drivers plz share with us

Simon McKenzie
28th October 2009, 06:33 AM
I think nobody's interested because all our HTC devices have cameras in them already (and most new ones have 2). Why plug in another camera?

rawsonl
8th September 2010, 07:14 PM
Industrial application with a USB camera hanging off a windows mobile device. Has anybody compiled this driver into windows mobile?

Thanks,
Linda

zyphuris55
19th September 2010, 09:54 PM
The project sounds interesting, but I don't think the ExtUSB in HTC devices support host mode. Plus, having a camera dangling from the only data/ power port on the device sounds like a waste.
What would be more interesting is to find a way to connect a web cam to a bluetooth device. My phone has a back camera, but I'd still love to buy a bluetooth camera to attach to the phone.