Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to get a list of video capture devices (web cameras) on linux ( ubuntu )? (C/C++)
    primarykey
    data
    text
    <p>So all I need is simple - a list of currently avaliable video capture devices (web cameras). I need it in simple C or C++ console app. By list I mean something like such console output:</p> <pre><code>1) Asus Web Camera 2) Sony Web Camera </code></pre> <p>So It seems simple but I have one requirement - use of native OS apis as much as possible - no external libs - after all - all we want is to print out a a list - not to fly onto the moon!) </p> <p>How to do such thing?</p> <hr> <p>also from this series:</p> <ul> <li><a href="https://stackoverflow.com/questions/4290834/how-to-get-a-list-of-video-capture-devices-web-cameras-on-linux-ubuntu-c">How to get a list of video capture devices on linux?</a> and <a href="https://stackoverflow.com/questions/4483366/how-to-get-a-list-video-capture-devices-names-web-cameras-on-linux-ubuntu">special details on getting cameras NAMES</a> with correct, tested answers</li> <li><a href="https://stackoverflow.com/questions/4532263/how-to-get-a-list-of-video-capture-devices-web-cameras-on-mac-os-c">How to get a list of video capture devices on Mac OS?</a> with correct, not yet tested by my answers</li> <li><a href="https://stackoverflow.com/questions/4286223/how-to-get-a-list-of-video-capture-devices-web-cameras-on-windows-c">How to get a list of video capture devices on windows?</a> with correct, tested answers</li> <li><a href="https://stackoverflow.com/questions/4637594/how-to-get-a-list-video-capture-devices-names-web-cameras-using-qt-crossplatfo">How to get a list video capture devices NAMES using Qt (crossplatform)?</a> </li> </ul>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload