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.25k stars 1.11k forks source link

How to query for webcam capabilities? #896

Open polentino opened 1 year ago

polentino commented 1 year ago

Hi all, when I run a simple application on a RPI Zero W, i see the following output to appear:

Does NOT have capture capability
Does NOT have output capability
Does NOT have overlay capability
Does NOT have VBI capture capability
Does NOT have VBI output capability
Does NOT have SLICED VBI capture capability
Does NOT have SLICED VBI output capability
Does NOT have RDS capability
Does NOT have tuner capability
Does NOT have audio capability
Does NOT have radio capability
Does NOT have read/write capability
Does NOT have asyncIO capability
Has streaming capability

which made me wonder: is there a specific object I can query, to get which capabilities are actually available on the Webcam I'm trying to open? It would be nice to know in advance, for example, whether the webcam im using is capable of capturing still images, or streaming them. Thanks!

shinobisoft commented 1 year ago

I don't know about USB cameras, but for IP camera's, you send requests to the server via http get/post to get information about it's capabilities.

giftest commented 1 year ago

Hi Sarxos, what is the database of this project "Group-Chat-App-With-Encrypted-Messaging-and-Video-Streaming-main" Please can you share the database with me because I want to see where the data are stored? Thank you in advance, Man.