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 Reactions
1,924 Views
 Hans
(@hans)
Famed Member Admin
Joined: 12 years ago
Posts: 2869
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
Share: