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 most likely no translated for the post!





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

How to determine WebCam capabilities under Linux  

  RSS

Hans
 Hans
(@hans)
Noble Member Admin
Joined: 7 years ago
Posts: 1363
December 13, 2013 9:21 AM  

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: