sarxos / webcam-capture

The goal of this project is to allow integrated or USB-connected webcams to be accessed directly from Java. Using provided libraries users are able to read camera images and detect motion. Main project consist of several sub projects - the root one, which contains required classes, build-in webcam driver compatible with Windows, Linux and Mac OS, which can stream images as fast as your camera can serve them (up to 50 FPS). Main project can be used standalone, but user is able to replace build-in driver with different one - such as OpenIMAJ, GStreamer, V4L4j, JMF, LTI-CIVIL, FMJ, etc.
http://webcam-capture.sarxos.pl
MIT License
2.27k stars 1.11k forks source link

Proxy Camera Service #360

Open eix128 opened 9 years ago

eix128 commented 9 years ago

It will be good if you add proxy camera service. Skype and other all processes share webcam. This can be done by registering webcam to directshow. Open once and share accross processes

eix128 commented 9 years ago

On Linux , its possible. Look here : https://github.com/umlaeute/v4l2loopback http://stackoverflow.com/questions/7693825/opencv-is-it-possible-to-share-webcam-between-processes-in-linux

eix128 commented 9 years ago

For windows: http://stackoverflow.com/questions/6243891/writing-a-virtual-webcam http://www.mmnt.net/db/0/0/94.78.192.137/Engines/[DISTRS]/DXSDK8/samples/Multimedia/DirectShow/Filters/Ball

eix128 commented 9 years ago

and for ipc maybe needed: https://github.com/caplogic/mappedbus

eix128 commented 9 years ago

for OSX: http://stackoverflow.com/questions/2538573/creating-a-virtual-webcam-device-for-os-x

eix128 commented 9 years ago

This can be done by: Webcam.addProxyCamera();