Page 1 of 1
Forum

Welcome to the Tweaking4All community forums!
When participating, please keep the Forum Rules in mind!

Topics for particular software or systems: Start your topic link with the name of the application or system.
For example “MacOS X – Your question“, or “MS Word – Your Tip or Trick“.

Please note that switching to another language when reading a post will not bring you to the same post, in Dutch, as there is no translation for that post!




How to determine We...
 
Share:
Notifications
Clear all

[Solved] How to determine WebCam capabilities under Linux

1 Posts
1 Users
0 Likes
1,390 Views
 Hans
(@hans)
Famed Member Admin
Joined: 11 years ago
Posts: 2660
Topic starter  

From the shell/commandline, you can determine the capabilities of your USB webcam quite simple (works for most, but not for all webcams).

$ lsusb
Bus 001 Device 002: ID 5986:0241 Acer, Inc BisonCam, NB Pro
...

This lists all USB devices. Find your webcam and write down BUS (001) and DEVICE (002) number.

We will use them in this statement:

lsusb -s 001:002 -v 

This statement will show ALL details of your webcam/USB device which can be overwhelming. If you're only interested in video modes, try:

lsusb -s 001:002 -v | egrep "Width|Height"
    wWidth 640
    wHeight 480
    wWidth 1280
    wHeight 1024
...

   
ReplyQuote

Like what you see and you'd like to help out? 

The best way to help is of course by assisting others with their questions here in the forum, but you can also help us out in other ways:

- Do your shopping at Amazon, it will not cost you anything extra but may generate a small commission for us,
- send a cup of coffee through PayPal ($5, $10, $20, or custom amount),
- become a Patreon,
- donate BitCoin (BTC), or BitCoinCash (BCH).

Share: